0% found this document useful (0 votes)
11 views

PowerBI_Programming_Practice_Paper

The document is a Power BI practice paper covering data modeling, DAX calculations, visuals, and scenario-based exercises. It includes questions on relationships, schemas, measures, and practical tasks like creating KPIs and dashboards. Each section is designed to test knowledge from basic to intermediate levels in Power BI.

Uploaded by

Sanjay Chopra
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views

PowerBI_Programming_Practice_Paper

The document is a Power BI practice paper covering data modeling, DAX calculations, visuals, and scenario-based exercises. It includes questions on relationships, schemas, measures, and practical tasks like creating KPIs and dashboards. Each section is designed to test knowledge from basic to intermediate levels in Power BI.

Uploaded by

Sanjay Chopra
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Power BI Practice Paper (With Answers) – Basic to Intermediate

Section A: Data Modeling & Relationships (10 Marks)


1. Q1. What is the role of relationships in Power BI data modeling?

Relationships define how data from different tables are connected. They enable meaningful
joins during visual analysis.

2. Q2. Differentiate between star schema and snowflake schema.

- Star schema has dimension tables directly connected to a central fact table.
- Snowflake schema normalizes dimension tables into sub-dimensions.

3. Q3. What is a primary key and foreign key in Power BI modeling?

- Primary key uniquely identifies records in a table.


- Foreign key establishes relationship by referring to a primary key in another table.

4. Q4. How to manage one-to-many and many-to-one relationships in Power BI?

Use the 'Manage Relationships' dialog in Power BI to set cardinality and cross-filter
direction based on data flow.

5. Q5. Explain role of active vs inactive relationship.

Active relationships are used by default in calculations. Inactive ones require


`USERELATIONSHIP()` function to activate them.

Section B: DAX Calculations & Measures (15 Marks)


6. Q6. Write a DAX measure to calculate total sales.

Total Sales = SUM(Sales[Amount])

7. Q7. Write a DAX formula to calculate year-to-date sales.

YTD Sales = TOTALYTD(SUM(Sales[Amount]), 'Sales'[OrderDate])

8. Q8. How to create a calculated column showing profit (Revenue - Cost)?

Profit = Sales[Revenue] - Sales[Cost]

9. Q9. Calculate percentage contribution of each product to total sales.

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

10. Q10. What’s the difference between calculated column and measure?
- Calculated column is row-wise and stored in memory.
- Measure is evaluated dynamically at aggregation level.

Section C: Power BI Visuals & Reports (10 Marks)


11. Q11. List five commonly used visuals in Power BI.

Bar chart, Line chart, Pie chart, Table, Matrix.

12. Q12. How can you implement drill-down in visuals?

Enable hierarchy in a visual and use the drill icons or right-click to drill down/up.

13. Q13. What is a slicer and how is it used?

Slicers allow users to filter report visuals based on selected fields.

14. Q14. What are bookmarks in Power BI?

Bookmarks capture the current state of a report page (filters, visuals) and are used for
storytelling or navigation.

15. Q15. What is the difference between table and matrix visual?

- Table displays flat data.


- Matrix enables grouping and hierarchy, similar to pivot tables.

Section D: Scenario-Based & Practical Exercises (15 Marks)


16. Q16. Write a DAX to show previous month’s sales.

Previous Month Sales = CALCULATE(SUM(Sales[Amount]),


PREVIOUSMONTH(Sales[OrderDate]))

17. Q17. Create a KPI card showing variance between actual and target sales.

Variance = SUM(Sales[Actual]) - SUM(Sales[Target])

18. Q18. Show top 3 customers by revenue using a visual.

Use Top N filter in a bar chart or table by selecting Top 3 on Customer and applying
SUM(Sales).

19. Q19. Create a conditional formatting rule to highlight sales < ₹10,000.

Use formatting pane → conditional formatting → rules → ‘less than’ ₹10,000 and apply red
color.

20. Q20. Design a dashboard showing regional sales, targets, variance, and trend line.
Combine: map visual for region, bar chart for targets vs actuals, card for variance, and line
chart for trend.

You might also like