← 30 Days Power BI Series
Day 2 of 30BeginnerData Connectivity

Day 2: Connecting to Data Sources

5 questions · Power BI Interview Preparation

Q1

How do you connect to an Excel file in Power BI?

Home → Get Data → Excel Workbook → browse to the file → Navigator window shows all sheets and tables → select the ones you need → click Load (imports immediately) or Transform Data (opens Power Query Editor for cleaning first). Best practice: always convert your Excel data to a Table (Ctrl+T in Excel) before connecting — Power BI recognises named Tables and loads them cleanly, whereas sheet ranges can include blank rows and headers incorrectly.

💡 Interview tip: Always Transform Data first rather than Load directly — you almost always need to verify or change column data types after connecting.
Q2

How do you connect to a SQL Server database in Power BI?

Home → Get Data → SQL Server → enter Server name and Database name (optional) → choose Import or DirectQuery mode → enter credentials (Windows or SQL Server authentication) → Navigator shows available tables and views → select tables → Transform Data or Load. For large production databases: connect using DirectQuery to avoid copying millions of rows into the model. For reporting databases or data warehouses: Import is faster for report performance.

💡 Interview tip: In interviews, if asked about connecting to a database, always mention that you would choose the connectivity mode based on data volume and refresh requirements.
Q3

What is Power Query in Power BI and why is it important?

Power Query is the data transformation engine in Power BI (same engine as in Excel). It handles the Extract, Transform, Load (ETL) process — connecting to sources, cleaning and shaping data, and loading it into the data model. Every transformation is recorded as a step in Applied Steps and can be refreshed automatically. Power Query is where you fix data quality issues before they enter your data model — missing values, wrong data types, inconsistent text, unnecessary columns. Clean data in Power Query means clean visuals in reports.

💡 Interview tip: Think of Power Query as the preparation layer. Data should be clean and correctly typed before it reaches the model. Fixing issues in DAX measures is much harder than fixing them in Power Query.
Q4

How do you connect to multiple Excel files from a folder in Power BI?

Home → Get Data → More → Folder → select the folder path → Combine & Transform Data. Power BI reads all files in the folder, creates a sample file query, a transform function, and a combined query that applies the same transformations to every file and stacks the results. This is the standard approach for combining monthly sales files. Every month, drop the new file in the folder → click Refresh → the combined dataset updates automatically. All files must have the same column structure.

💡 Interview tip: Folder connector for combining multiple files is a very common real-world scenario. Knowing this impresses interviewers — it shows you have worked with actual business data.
Q5

What is the difference between Load and Transform Data when connecting to a source?

Load imports data directly into the Power BI model without any transformation — whatever comes from the source goes straight in. Use Load only when the data is already clean and correctly typed. Transform Data opens the Power Query Editor, where you can preview the data and apply transformations before loading. Always use Transform Data on first connection so you can verify column names, data types, and spot obvious issues. You can always load without transforming later once you know the data is clean.

💡 Interview tip: In practice, always click Transform Data. Loading raw data directly into the model without inspection is how data quality problems get embedded in reports.
← Day 1All DaysDay 3

Want live Power BI coaching?

Join EVIKA Academy for hands-on Power BI training with real projects and placement support in Delhi NCR.

Book Free Demo →
Best Data Analytics Course in Noida Delhi NCR | EVIKA ACADEMY