Power BI

Power BI

Top Interview Questions

About Power BI

Power BI is a powerful business intelligence (BI) and data visualization tool developed by Microsoft that enables organizations to transform raw data into meaningful insights. It helps businesses analyze data, create interactive reports and dashboards, and make data-driven decisions with ease. Power BI is widely used across industries because of its user-friendly interface, strong integration with multiple data sources, and advanced analytics capabilities.


Introduction to Power BI

Power BI is a suite of software services, apps, and connectors that work together to convert data from various sources into visually immersive and interactive insights. It allows users to connect to data, model it, and create reports that can be shared across an organization. Power BI supports both technical users like data analysts and developers, as well as non-technical users such as managers and business users.

Power BI is part of the Microsoft Power Platform, which also includes Power Apps, Power Automate, and Power Virtual Agents. This integration makes Power BI a central tool for analytics and reporting within the Microsoft ecosystem.


Components of Power BI

Power BI consists of several key components that work together to deliver end-to-end business intelligence solutions:

1. Power BI Desktop

Power BI Desktop is a free Windows application used to connect to data sources, transform and clean data, create data models, and design reports. It provides a rich set of tools for data shaping using Power Query and for creating complex calculations using DAX (Data Analysis Expressions).

2. Power BI Service

The Power BI Service is a cloud-based platform where reports created in Power BI Desktop are published. It allows users to create dashboards, schedule data refreshes, collaborate with others, and share reports securely.

3. Power BI Mobile Apps

Power BI mobile applications are available for Android, iOS, and Windows devices. These apps allow users to access dashboards and reports on the go, ensuring real-time insights anytime, anywhere.

4. Power BI Gateway

The Power BI Gateway enables secure data transfer between on-premises data sources and the Power BI Service. It is especially useful for organizations that store data in local databases but want cloud-based reporting.


Data Sources Supported by Power BI

One of the major strengths of Power BI is its ability to connect to a wide variety of data sources. These include:

  • Relational databases such as SQL Server, Oracle, MySQL, and PostgreSQL

  • Cloud platforms like Azure SQL Database, Azure Data Lake, and Google BigQuery

  • Files such as Excel, CSV, XML, and JSON

  • Online services like SharePoint, Salesforce, Dynamics 365, and Google Analytics

  • Big data sources such as Hadoop and Spark

This flexibility allows organizations to consolidate data from multiple systems into a single analytical platform.


Data Transformation and Modeling

Power BI provides powerful data transformation and modeling capabilities that help prepare data for analysis.

Power Query

Power Query is used for data extraction, transformation, and loading (ETL). It allows users to clean data, remove duplicates, merge tables, split columns, and apply business rules without writing complex code.

Data Modeling

After data is transformed, Power BI enables users to create relationships between tables, define hierarchies, and optimize the data model. A well-designed data model improves performance and simplifies report creation.

DAX (Data Analysis Expressions)

DAX is a formula language used in Power BI to create calculated columns, measures, and custom aggregations. It allows users to perform complex calculations such as year-over-year growth, running totals, and time intelligence analysis.


Data Visualization and Reporting

Power BI is best known for its rich and interactive data visualizations. It provides a wide range of built-in visuals, including:

  • Bar and column charts

  • Line and area charts

  • Pie and donut charts

  • Tables and matrices

  • Maps and geospatial visuals

  • KPI indicators and gauges

Users can also import custom visuals from the Power BI marketplace or build their own visuals using development tools. Interactive features like slicers, filters, drill-downs, and drill-throughs allow users to explore data in depth and gain actionable insights.


Dashboards and Sharing

Dashboards in Power BI provide a high-level view of business performance by combining visuals from multiple reports onto a single screen. These dashboards are interactive and update automatically when the underlying data changes.

Power BI offers robust sharing and collaboration features. Reports and dashboards can be shared with colleagues, embedded into websites or applications, or exported to formats such as PDF and PowerPoint. Role-based security ensures that users only see the data they are authorized to access.


Security and Governance

Security is a critical aspect of Power BI. It includes features such as:

  • Row-Level Security (RLS): Restricts data visibility based on user roles

  • Azure Active Directory Integration: Ensures secure authentication and access control

  • Data Encryption: Protects data both at rest and in transit

  • Compliance Certifications: Supports standards like ISO, GDPR, and SOC

These features make Power BI suitable for enterprise-level deployments with strict data governance requirements.


Advanced Analytics and AI Capabilities

Power BI includes advanced analytics and artificial intelligence features that enhance data analysis:

  • Built-in AI visuals such as Key Influencers and Decomposition Tree

  • Integration with Azure Machine Learning

  • Natural language queries using Q&A

  • Forecasting and anomaly detection

These capabilities help users uncover hidden patterns and trends without deep statistical or programming knowledge.


Advantages of Power BI

Power BI offers several benefits that make it a popular BI tool:

  • Easy to use with minimal learning curve

  • Seamless integration with Microsoft products

  • Scalable for small businesses and large enterprises

  • Cost-effective compared to many traditional BI tools

  • Strong community support and frequent updates


Use Cases of Power BI

Power BI is used across various domains, including:

  • Sales and marketing performance analysis

  • Financial reporting and budgeting

  • Supply chain and inventory management

  • Human resources analytics

  • Customer behavior and trend analysis

Organizations use Power BI to monitor KPIs, track performance, and support strategic decision-making.

Fresher Interview Questions

 

1. What is Power BI?

Answer:
Power BI is a Business Intelligence (BI) tool developed by Microsoft that helps users collect, transform, analyze, and visualize data. It allows businesses to create interactive reports and dashboards from multiple data sources, enabling better decision-making.

Power BI converts raw data into meaningful insights using charts, tables, KPIs, and maps. It is widely used because of its ease of use, integration with Microsoft products, and strong data visualization capabilities.


2. What are the main components of Power BI?

Answer:
Power BI consists of the following components:

  1. Power BI Desktop – Used to create reports and data models.

  2. Power BI Service (PowerBI.com) – Cloud service to publish and share reports.

  3. Power BI Mobile Apps – Used to view dashboards on mobile devices.

  4. Power BI Gateway – Connects on-premises data sources to Power BI Service.

  5. Power BI Report Server – On-premises solution for hosting reports.


3. What is Power BI Desktop?

Answer:
Power BI Desktop is a Windows-based application used for:

  • Connecting to data sources

  • Transforming data using Power Query

  • Creating data models

  • Designing reports and visualizations

After creating reports, users publish them to Power BI Service.


4. What data sources are supported by Power BI?

Answer:
Power BI supports a wide range of data sources such as:

  • Excel

  • CSV files

  • SQL Server

  • Oracle

  • MySQL

  • PostgreSQL

  • Azure SQL Database

  • SharePoint

  • Web APIs

  • Google Analytics

  • Salesforce

This flexibility allows integration with both on-premises and cloud data.


5. What is Power Query?

Answer:
Power Query is a data transformation and preparation tool in Power BI. It allows users to:

  • Clean data

  • Remove duplicates

  • Merge and append tables

  • Change data types

  • Filter rows

Power Query uses M language behind the scenes.


6. What is DAX?

Answer:
DAX (Data Analysis Expressions) is a formula language used in Power BI for calculations and data analysis. It is mainly used to create:

  • Calculated columns

  • Measures

  • Calculated tables

Example:

Total Sales = SUM(Sales[Amount])

7. Difference between Calculated Column and Measure?

Answer:

Calculated Column Measure
Stored in the table Calculated at runtime
Uses row context Uses filter context
Increases data size Does not increase size
Used for row-level calculations Used for aggregations

8. What is a Dashboard in Power BI?

Answer:
A dashboard is a single-page view that shows important KPIs and visuals. Dashboards are created in Power BI Service by pinning visuals from multiple reports.


9. What is a Report in Power BI?

Answer:
A report is a multi-page collection of visualizations created in Power BI Desktop. Reports provide detailed insights and interactive analysis.


10. What is the difference between Dashboard and Report?

Answer:

Dashboard Report
Single page Multiple pages
Created in Power BI Service Created in Power BI Desktop
Read-only Highly interactive
Combines visuals from multiple reports Based on a single dataset

11. What is a Dataset in Power BI?

Answer:
A dataset is a collection of data tables and relationships that Power BI uses to create reports and dashboards.


12. What is Data Modeling in Power BI?

Answer:
Data modeling is the process of:

  • Creating relationships between tables

  • Defining keys

  • Optimizing schema for analysis

Power BI mainly uses a Star Schema for best performance.


13. What are Relationships in Power BI?

Answer:
Relationships connect tables using common columns (primary and foreign keys). Types:

  • One-to-Many

  • Many-to-Many

  • One-to-One


14. What is a Star Schema?

Answer:
A Star Schema consists of:

  • One fact table (sales, transactions)

  • Multiple dimension tables (customer, product, date)

It improves performance and simplifies data analysis.


15. What are Filters in Power BI?

Answer:
Filters are used to restrict data shown in visuals.
Types:

  1. Visual-level filters

  2. Page-level filters

  3. Report-level filters

  4. Slicers (interactive filters)


16. What is a Slicer?

Answer:
A slicer is a visual filter that allows users to filter data interactively using dropdowns, buttons, or lists.


17. What are Visualizations in Power BI?

Answer:
Visualizations are graphical representations of data such as:

  • Bar chart

  • Line chart

  • Pie chart

  • Table

  • Matrix

  • KPI

  • Map

  • Card


18. What is Refresh in Power BI?

Answer:
Refresh updates data in reports from the source.
Types:

  • Manual refresh

  • Scheduled refresh

  • Automatic refresh


19. What is Power BI Gateway?

Answer:
Power BI Gateway enables secure data transfer between on-premises data sources and Power BI Service.


20. What are Roles in Power BI?

Answer:
Roles define Row-Level Security (RLS) to restrict data access. Users see only data allowed by their role.


21. What is Row-Level Security (RLS)?

Answer:
RLS restricts data access at row level based on user roles. It is implemented using DAX filters.


22. What is Q&A in Power BI?

Answer:
Q&A allows users to ask questions in natural language and get answers as visuals.


23. What is a KPI?

Answer:
KPI (Key Performance Indicator) measures business performance using metrics like:

  • Target

  • Actual value

  • Status indicator


24. What is Publish in Power BI?

Answer:
Publishing uploads reports from Power BI Desktop to Power BI Service so they can be shared with others.


25. Advantages of Power BI

Answer:

  • Easy to use

  • Real-time dashboards

  • Strong Microsoft integration

  • Affordable pricing

  • Cloud and on-premises support


26. Limitations of Power BI

Answer:

  • Dataset size limits

  • Complex DAX learning curve

  • Performance issues with poor data models


27. Power BI vs Tableau

Answer:

Power BI Tableau
Lower cost More expensive
Strong Microsoft integration Strong visualization
Uses DAX Uses Tableau calculations

28. What skills are required for Power BI?

Answer:

  • SQL

  • Excel

  • Data modeling

  • DAX

  • Data visualization concepts


29. What is the use of Excel in Power BI?

Answer:
Excel is used as:

  • A data source

  • A reporting tool integrated with Power BI

  • For quick data analysis


30. Why should we use Power BI?

Answer:
Power BI helps organizations make data-driven decisions by providing real-time insights, interactive dashboards, and easy data analysis.


31. What is the difference between Import mode and DirectQuery?

Answer:

Import Mode DirectQuery
Data is stored in Power BI Data stays in source
Faster performance Slower compared to Import
Requires refresh Real-time data
Limited dataset size Depends on source

Import mode is recommended for better performance, while DirectQuery is used when real-time data is required.


32. What is Live Connection?

Answer:
Live Connection connects Power BI directly to:

  • SSAS

  • Azure Analysis Services

  • Power BI datasets

Data modeling is done in the source system, not in Power BI.


33. What is Power Query Editor?

Answer:
Power Query Editor is used to clean and transform data before loading it into Power BI. It helps in:

  • Removing null values

  • Splitting columns

  • Changing data types

  • Merging and appending tables


34. What is M Language?

Answer:
M Language is a functional language used in Power Query. It defines data transformation steps.

Example:

= Table.RemoveRowsWithErrors(Source)

35. What is a Fact Table?

Answer:
A Fact Table stores transactional data such as:

  • Sales

  • Revenue

  • Quantity

  • Profit

It contains foreign keys that link to dimension tables.


36. What is a Dimension Table?

Answer:
Dimension tables contain descriptive attributes such as:

  • Customer

  • Product

  • Date

  • Location

They provide context to the fact table.


37. What is Cardinality in Power BI?

Answer:
Cardinality defines the relationship type between tables:

  • One-to-One

  • One-to-Many

  • Many-to-Many

Correct cardinality improves performance and accuracy.


38. What is Cross Filter Direction?

Answer:
It determines how filters flow between tables:

  • Single direction

  • Both directions

Single direction is recommended for better performance.


39. What is a Measure?

Answer:
A measure is a dynamic calculation evaluated at runtime based on filters.

Example:

Total Profit = SUM(Sales[Profit])

40. What is Filter Context?

Answer:
Filter context refers to filters applied to data through:

  • Slicers

  • Filters pane

  • Visual interactions

Measures respond to filter context.


41. What is Row Context?

Answer:
Row context means calculations are done row by row, mainly used in calculated columns.


42. Difference between COUNT, COUNTA, and DISTINCTCOUNT?

Answer:

  • COUNT – Counts numeric values

  • COUNTA – Counts non-null values

  • DISTINCTCOUNT – Counts unique values


43. What is CALCULATE function?

Answer:
CALCULATE changes the filter context of a measure.

Example:

Total Sales India = CALCULATE(SUM(Sales[Amount]), Sales[Country] = "India")

44. What is ALL function?

Answer:
ALL removes filters from a column or table.

Example:

Total Sales All = CALCULATE(SUM(Sales[Amount]), ALL(Sales))

45. What is a Date Table?

Answer:
A Date Table is used for time intelligence such as:

  • Year-to-Date (YTD)

  • Month-over-Month (MoM)

  • Year-over-Year (YoY)


46. What is Time Intelligence in Power BI?

Answer:
Time Intelligence functions analyze data over time.

Examples:

  • TOTALYTD

  • SAMEPERIODLASTYEAR

  • DATEADD


47. What is Hierarchy?

Answer:
Hierarchy allows drill-down analysis such as:
Year → Quarter → Month → Day


48. What is Drill Down and Drill Through?

Answer:

  • Drill Down: Navigate within the same visual

  • Drill Through: Navigate to another page with detailed data


49. What is Conditional Formatting?

Answer:
Conditional formatting highlights data using colors, bars, or icons based on rules.


50. What is Bookmark in Power BI?

Answer:
Bookmarks capture the current state of a report, including filters and visuals, useful for storytelling.


51. What is Performance Analyzer?

Answer:
Performance Analyzer helps measure:

  • Visual load time

  • DAX query time

  • Report performance


52. What is Power BI Workspace?

Answer:
A workspace is a collaboration area where reports, datasets, and dashboards are shared.


53. What is App in Power BI?

Answer:
An App is a packaged collection of reports and dashboards shared with users.


54. What is Sensitivity Label?

Answer:
Sensitivity labels classify data as:

  • Public

  • Confidential

  • Highly Confidential


55. What is Data Lineage?

Answer:
Data lineage shows data flow from source to report, helping in impact analysis.


56. What is Custom Visual?

Answer:
Custom visuals are additional visuals downloaded from AppSource.


57. What is Export in Power BI?

Answer:
Users can export visuals or data to:

  • Excel

  • PDF

  • PowerPoint


58. What is Embed Power BI?

Answer:
Embedding allows Power BI reports to be integrated into web or mobile applications.


59. What is AI Visual in Power BI?

Answer:
AI visuals provide advanced insights like:

  • Key Influencers

  • Decomposition Tree

  • Smart Narrative


60. How do you improve Power BI performance?

Answer:

  • Use star schema

  • Reduce columns

  • Use measures instead of calculated columns

  • Avoid bi-directional relationships

  • Use Import mode


61. What are Common Interview Scenarios for Freshers?

Answer:

  • Cleaning messy Excel data

  • Creating sales dashboard

  • Applying filters and slicers

  • Writing basic DAX

  • Publishing reports


62. Difference between Power BI Free and Pro?

Answer:

Free Pro
Create reports Share reports
Personal use Collaboration
No sharing Requires license

63. What is Incremental Refresh?

Answer:
Incremental refresh updates only new or changed data, improving refresh performance.


64. What is Data View, Model View, and Report View?

Answer:

  • Data View: See tables and columns

  • Model View: Manage relationships

  • Report View: Create visuals


65. What is Power BI REST API?

Answer:
It allows developers to automate Power BI tasks like publishing reports.


66. What is Usage Metrics?

Answer:
Usage metrics show how users interact with reports.


67. What is Composite Model?

Answer:
Composite model combines:

  • Import

  • DirectQuery

  • Live connection


68. What is On-Object Interaction?

Answer:
On-object interaction allows direct editing of visuals.


69. What is Tooltip?

Answer:
Tooltips show extra information when hovering over visuals.


70. Why is Power BI popular?

Answer:
Because it is:

  • Easy to learn

  • Cost-effective

  • Highly interactive

  • Strong Microsoft ecosystem support

Experienced Interview Questions

 

1. Explain Power BI architecture end to end

Answer:
Power BI architecture includes:

  1. Data Sources – SQL Server, Azure, Excel, APIs, etc.

  2. Power Query (ETL layer) – Data extraction, transformation using M language.

  3. Data Model (VertiPaq Engine) – Columnar, in-memory storage optimized for fast analytics.

  4. DAX Engine – Performs calculations and aggregations.

  5. Power BI Service – Cloud hosting, sharing, refresh, security.

  6. Visualization Layer – Reports, dashboards, apps.


2. How does VertiPaq engine work?

Answer:
VertiPaq is an in-memory columnar storage engine that:

  • Compresses data using encoding

  • Stores data by columns, not rows

  • Scans only required columns during queries

This results in high performance and low memory usage.


3. Difference between Import, DirectQuery, and Live Connection?

Answer:

Import DirectQuery Live
Data stored in memory Data queried from source Model in external source
Best performance Real-time Centralized model
Needs refresh No refresh No modeling in Power BI

4. What is Composite Model and when do you use it?

Answer:
Composite model allows combining Import + DirectQuery + Live in a single model.
Used when:

  • Historical data is imported

  • Real-time data is queried live


5. Explain Row-Level Security (RLS) with scenario

Answer:
RLS restricts data at row level using DAX filters.

Scenario:
Sales managers should see only their region’s data.

[Region] = USERPRINCIPALNAME()

Roles are created in Power BI Desktop and applied in Service.


6. Difference between Static RLS and Dynamic RLS

Answer:

Static RLS Dynamic RLS
Hardcoded values User-based filtering
Not scalable Highly scalable
Manual updates Automatic mapping

7. Explain filter context vs row context with example

Answer:

  • Row context: Calculation per row (calculated column)

  • Filter context: Filters applied by slicers, visuals

Total Sales = SUM(Sales[Amount])

This responds to filter context, not row context.


8. What is CALCULATE and why is it important?

Answer:
CALCULATE modifies filter context and is the most powerful DAX function.

Sales India =
CALCULATE(SUM(Sales[Amount]), Sales[Country] = "India")

9. What are Context Transition and its use?

Answer:
Context transition converts row context to filter context, mainly triggered by CALCULATE.


10. Explain ALL vs ALLEXCEPT

Answer:

  • ALL: Removes all filters

  • ALLEXCEPT: Keeps selected filters

% Contribution =
DIVIDE(
    SUM(Sales[Amount]),
    CALCULATE(SUM(Sales[Amount]), ALL(Sales))
)

11. Difference between SUMX and SUM

Answer:

SUM SUMX
Aggregates column Row-by-row calculation
Faster More flexible

12. What is a Star Schema and why preferred?

Answer:
Star schema:

  • One fact table

  • Multiple dimension tables

Benefits:

  • Faster queries

  • Simpler DAX

  • Better compression


13. How do you optimize Power BI performance?

Answer:

  • Use star schema

  • Remove unused columns

  • Avoid calculated columns

  • Reduce cardinality

  • Use measures

  • Optimize relationships

  • Use Performance Analyzer


14. What is Cardinality and why important?

Answer:
Cardinality defines relationship type. High cardinality columns increase memory and reduce performance.


15. How do you handle large datasets?

Answer:

  • Incremental refresh

  • Aggregation tables

  • DirectQuery for real-time data

  • Partitioning

  • Composite models


16. Explain Incremental Refresh

Answer:
Refreshes only new or modified data instead of entire dataset, reducing refresh time.


17. What are Aggregations in Power BI?

Answer:
Aggregations pre-summarize data to improve performance when using DirectQuery.


18. Difference between Calculated Column and Measure (advanced)

Answer:

  • Columns increase model size

  • Measures are evaluated at query time

  • Measures respond to filters dynamically


19. Explain Time Intelligence with example

Answer:

YTD Sales = TOTALYTD(SUM(Sales[Amount]), Date[Date])

Used for:

  • YTD

  • YoY

  • MoM analysis


20. What is a Date Table and why mandatory?

Answer:
Date table ensures:

  • Accurate time calculations

  • Proper relationships

  • Performance optimization


21. What is Drill Through and real-time use?

Answer:
Allows navigating from summary to detailed report pages.


22. Difference between Dashboard and Report (advanced)

Answer:
Dashboards are read-only, while reports support:

  • Drill down

  • Tooltips

  • Cross-filtering


23. Explain Power BI Gateway architecture

Answer:
Gateway securely transfers data from on-premises sources to Power BI Service.


24. How do you manage deployment in Power BI?

Answer:
Using Deployment Pipelines:

  • Dev

  • Test

  • Prod


25. What are Power BI Apps and advantages?

Answer:
Apps package content securely for end users with controlled access.


26. Explain Sensitivity Labels and Data Protection

Answer:
Labels classify data and enforce security policies across Microsoft ecosystem.


27. What is Usage Metrics and how used?

Answer:
Helps track:

  • Report usage

  • User engagement

  • Optimization opportunities


28. Explain Custom Visuals and risks

Answer:
Custom visuals add flexibility but may cause:

  • Performance issues

  • Security risks


29. How do you handle version control?

Answer:

  • Store PBIX in Git

  • Use separate workspaces

  • Follow naming standards


30. What are common real-time interview scenarios?

Answer:

  • Securing regional sales data

  • Optimizing slow reports

  • Handling 100M+ records

  • Designing enterprise dashboards


31. Power BI vs Tableau (experience level)

Answer:
Power BI excels in cost and Microsoft integration, while Tableau leads in visualization depth.


32. How do you handle DAX debugging?

Answer:

  • Use DAX Studio

  • Analyze query plans

  • Simplify calculations


33. What is Performance Analyzer?

Answer:
Measures visual, DAX, and rendering performance.


34. What is Data Lineage and Impact Analysis?

Answer:
Tracks dependencies across datasets, reports, and dashboards.


35. What makes you a strong Power BI professional?

Answer:
Strong fundamentals in:

  • Data modeling

  • DAX optimization

  • Performance tuning

  • Security

  • Business understanding


36. Explain the difference between Power BI Service and Power BI Report Server

Answer:

  • Power BI Service – Cloud-based, supports sharing, dashboards, and collaboration. Requires internet.

  • Power BI Report Server – On-premises, hosts reports and dashboards internally. Supports paginated reports, ideal for regulated environments.


37. How do you implement dynamic Row-Level Security (RLS)?

Answer:
Dynamic RLS uses a mapping table to control access based on the user.

Example:

  1. Create a table with UserEmail and Region.

  2. Define DAX filter in the role:

[Region] = LOOKUPVALUE(UserRegion[Region], UserRegion[Email], USERPRINCIPALNAME())

This allows dynamic user-based filtering.


38. What is the difference between Cross-filter direction: Single vs Both

Answer:

Single Direction Both Directions
Filter flows one way Filter flows both ways
Recommended for performance Use carefully, can create ambiguity
Default in star schema Required in snowflake or advanced scenarios

39. What is a Composite Model with Dual Storage Mode?

Answer:
A composite model can use multiple storage modes:

  • Import mode – data stored in Power BI

  • DirectQuery mode – queries sent to source

  • Dual mode – acts as Import for local calculations but DirectQuery for external queries.
    Useful for large datasets with summary + detail combination.


40. How do you optimize DAX calculations?

Answer:

  • Avoid calculated columns; use measures

  • Use SUMX / FILTER efficiently

  • Reduce context transition when possible

  • Use variables (VAR) to store intermediate results

  • Avoid heavy row-by-row calculations on large tables


41. Explain the use of Variables in DAX

Answer:
Variables improve:

  • Performance – evaluates once per row/context

  • Readability – cleaner formulas

Example:

VAR TotalSales = SUM(Sales[Amount])
RETURN
TotalSales * 0.1

42. Explain the difference between USERPRINCIPALNAME() and USERNAME()

Answer:

  • USERNAME() – Returns Domain\Username, used in old versions

  • USERPRINCIPALNAME() – Returns email ID, standard in dynamic RLS


43. What is the difference between ALL, REMOVEFILTERS, and ALLEXCEPT?

Answer:

  • ALL() – Removes all filters from a table or column

  • REMOVEFILTERS() – Explicitly removes filters from specified columns

  • ALLEXCEPT() – Removes all filters except those specified


44. How do you implement incremental refresh in Power BI?

Answer:

  • Configure parameters: RangeStart, RangeEnd

  • Enable incremental refresh on the table

  • Choose store historical data and refresh only recent data

  • Ideal for large fact tables (>10M rows)


45. Explain Aggregations in DirectQuery Mode

Answer:
Aggregations precompute summary data for DirectQuery tables.

  • Improves performance for large datasets

  • Power BI automatically uses aggregations if configured

  • Works with Import + DirectQuery in composite models


46. How do you handle slow report performance?

Answer:

  • Check query performance in Performance Analyzer

  • Remove unnecessary columns and tables

  • Use star schema

  • Optimize DAX formulas

  • Use aggregations and incremental refresh

  • Reduce visuals on a page


47. How do you debug DAX queries?

Answer:

  • Use DAX Studio to analyze query plans

  • Use Evaluate Table to check intermediate results

  • Test with smaller datasets

  • Check filter and row contexts


48. Explain Time Intelligence functions in DAX

Answer:

  • TOTALYTD – Year-to-date

  • DATESYTD – Date table version

  • SAMEPERIODLASTYEAR – YoY comparison

  • DATEADD – Shift dates

  • PARALLELPERIOD – Previous period comparison


49. What are Composite Keys in Power BI and how do you handle them?

Answer:

  • Composite key = combination of multiple columns as primary key

  • Handled by creating a calculated column or concatenated key

Example:

CustomerProductKey = Customer[ID] & "-" & Product[ID]

50. Explain Advanced Visual Interactions

Answer:

  • Control how visuals affect each other using Edit interactions

  • Configure highlight, filter, or none

  • Improves usability for complex dashboards


51. How do you manage deployment in enterprise Power BI?

Answer:

  • Use Power BI workspaces: Dev, Test, Production

  • Apply Deployment Pipelines

  • Manage permissions and RLS before publishing

  • Version control PBIX files in Git


52. How do you handle multiple currency conversion in Power BI?

Answer:

  • Create a Currency table with exchange rates

  • Use DAX measure to convert amounts dynamically:

Amount in USD = SUMX(Sales, Sales[Amount] * RELATED(Currency[Rate]))

53. What is Power BI REST API and its use cases?

Answer:
REST API allows automation:

  • Publish PBIX

  • Manage datasets

  • Refresh datasets programmatically

  • Embed reports in apps


54. What is Dataflow in Power BI?

Answer:
Dataflows store ETL logic in the cloud, allowing:

  • Centralized data preparation

  • Reuse across multiple datasets

  • Supports incremental refresh


55. How do you implement versioning for Power BI datasets?

Answer:

  • Store PBIX in Git or SharePoint

  • Use deployment pipelines for Dev/Test/Prod

  • Maintain naming standards and documentation


56. Explain AI visuals in Power BI

Answer:

  • Key Influencers – Identify drivers of a metric

  • Decomposition Tree – Breaks down values by categories

  • Smart Narrative – Generates automatic insights

  • Anomaly Detection – Detects trends and outliers


57. Explain Data Sensitivity Labels

Answer:

  • Classify data as Public, Confidential, Highly Confidential

  • Enforces encryption, access control, and compliance policies


58. How do you handle very large datasets (>100M rows)?

Answer:

  • Use DirectQuery or Composite Models

  • Incremental refresh

  • Aggregation tables

  • Star schema

  • Avoid high-cardinality columns


59. Explain how to implement Audit and Usage Metrics

Answer:

  • Usage metrics track report/dashboard usage

  • Power BI Admin Portal tracks dataset refresh, user access, performance

  • Helps identify optimization areas


60. Scenario-based question: How to design a sales dashboard for multiple regions and dynamic filtering?

Answer:

  • Use star schema with Sales fact + Customer, Product, Date dimensions

  • Implement dynamic RLS for regional managers

  • Use slicers for interactive filtering

  • Include KPIs, charts, drill-down, and tooltips

  • Optimize performance with measures and incremental refresh