Power Bi Interview Questions -1
Power Bi Interview Questions -1
0-3 YOE
8-13 LPA
1. Difference Between Calculated Columns and Measures
Both Calculated Columns and Measures are DAX (Data Analysis Expressions) formulas in Power BI, but
they serve different purposes and behave differently.
Feature Calculated Column Measure
Evaluation Filter Context (evaluated on
Row Context (evaluated row by row)
Context aggregation/filtering)
Stored in memory; adds to the data model Calculated on the fly; does not increase
Storage
size data size
When you need new data columns (e.g., When you need aggregations (e.g.,
Use Case
categorizing sales into segments) total, average, YTD)
Appears as a column in data table and visual Appears in the fields pane but not as a
Visibility
fields table column
Example Profit = Sales[Revenue] - Sales[Cost] Total Sales = SUM(Sales[Revenue])
When to use Calculated Column:
• To create slicers or filters based on new fields.
• To perform row-wise calculations (e.g., Age from DOB).
When to use Measure:
• To calculate KPIs, totals, averages, or percentages.
• For optimized performance in reports and visuals.
Would you like a sample Power BI use case or visual explanation for either of these topics?
4. What is DAX? Give an Example. Which DAX Functions Did You Use in
Projects?
What is DAX?
DAX (Data Analysis Expressions) is a formula language used in Power BI, Excel Power Pivot, and SSAS
Tabular models to create calculated columns, measures, and custom tables.
It is similar to Excel formulas but is optimized for relational data models and performs advanced
analytics like filtering, row context, and aggregations.
2. Page-Level Filters
• Applied to all visuals on a single report page.
• Does not affect visuals on other pages.
Example: Apply “Country = India” on a page to show only Indian sales data across all visuals.
3. Report-Level Filters
• Applied to all pages and all visuals in the report.
• Great for global filters like Time Period or Brand.
Example: Filter for “Year = 2024” across the entire report.
4. Drillthrough Filters
• Allows users to right-click a data point and navigate to a different page with context-specific
data.
• Applied to the drillthrough page only when a user triggers it.
Example: From a sales summary page, right-click on “West Region” and drillthrough to a page that
shows detailed West Region sales.
5. Slicer Filters
• Visual controls (dropdown, list, etc.) added by the developer.
• Allow end-users to control filtering dynamically.
Example: A date slicer that lets the user select a range and filters all connected visuals accordingly.
6. Cross Filtering and Cross Highlighting
• Happens when you click a data point in one visual and it automatically filters or highlights
related visuals.
• Controlled using “Edit Interactions”.
3. Click on Publish
• Go to the “Home” ribbon → Click “Publish”.
• Select the Workspace where you want to publish the report.
Note: Workspaces are like folders in Power BI Service that hold datasets, reports, and dashboards.
4. Publishing Confirmation
• After publishing, a message appears:
“Successfully published to Power BI”.
• Option to open in Power BI Service directly via a link.
Best Practices:
• Use gateways for on-premise data refresh.
• Apply Row-Level Security (RLS) before publishing.
• Test performance and access permissions.
10. How Do You Create Relationships in Power BI? What Are the Types of
Cardinality?
What is a Relationship?
Relationships in Power BI define how data in one table relates to data in another. This is essential for
building a proper data model.
Important Notes:
• Avoid circular dependencies in relationships.
• Always ensure that key columns (like IDs) are unique in the dimension table.
• Review relationships using the Model View to keep the schema clean.
3. Go to Dataset Settings
• Click on “Datasets + Dataflows”.
• Click the more options (⋮) next to your dataset → choose “Settings”.
4. Set Up Gateway (if using on-premises data)
• If your data source is on-prem (e.g., SQL Server, Excel), you must install and configure a Power
BI Gateway.
• Choose the appropriate data gateway connection.
5. Configure Credentials
• Under “Data Source Credentials”, click Edit Credentials and choose the correct authentication
method:
o Windows
o Basic
o OAuth2
o Web API
7. Save Settings
• Click Apply or Save to complete the refresh setup.
Best Practices:
• Always test manual refresh before scheduling.
• Monitor refresh failures in the Refresh history section.
• Avoid large datasets with heavy transformations in Power Query for smoother refreshes.
12. What Type of Account Did You Use While Working on the Project?
Explain the Features.
Power BI offers different types of user accounts and licenses. Your answer depends on your project
environment, but here’s a structured explanation:
Data Loading
• Disable auto date/time (in Options → Data Load).
• Remove unnecessary columns/rows in Power Query.
• Use query folding wherever possible.
Visual Design
• Avoid overloading reports with too many visuals.
• Maintain consistent color theme.
• Use tooltips and titles for clarity.
• Follow report layout best practices (Z-pattern or top-down logic).
Performance Optimization
• Use aggregated tables where possible.
• Avoid using columns with high cardinality (e.g., GUIDs).
• Optimize DAX code with variables and minimal row context.
• Monitor performance using Performance Analyzer.
Example Use:
• Use Slicer when you want users to actively select filters (e.g., filter by region).
• Use Filter when you want to limit data silently without user control (e.g., exclude discontinued
products).