0
0
Power BIbi_tool~20 mins

Data model best practices in Power BI - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Data Model Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Understanding Star Schema Benefits

Which of the following is the main advantage of using a star schema in a Power BI data model?

AIt duplicates data across multiple tables to increase redundancy.
BIt stores all data in one large table to avoid joins.
CIt simplifies queries and improves performance by having a central fact table connected to dimension tables.
DIt uses many-to-many relationships extensively to connect tables.
Attempts:
2 left
💡 Hint

Think about how organizing data affects query speed and simplicity.

dax_lod_result
intermediate
2:00remaining
Calculating Total Sales by Region with Filter

Given a Sales table with columns Region and SalesAmount, which DAX measure correctly calculates total sales only for the 'West' region?

ATotalSalesWest = CALCULATE(SUM(Sales[SalesAmount]), FILTER(Sales, Sales[Region] = "West"))
BTotalSalesWest = CALCULATE(SUM(Sales[SalesAmount]), Sales[Region] = "West")
CTotalSalesWest = SUMX(FILTER(Sales, Sales[Region] = "West"), Sales[SalesAmount])
DTotalSalesWest = SUM(Sales[SalesAmount]) WHERE Sales[Region] = "West"
Attempts:
2 left
💡 Hint

Remember that CALCULATE needs a filter expression or a filter table.

visualization
advanced
2:00remaining
Best Visualization for Showing Sales Trends Over Time

You want to show how sales change month by month for the last year. Which visualization type is best suited for this purpose in Power BI?

ALine chart with months on the x-axis and sales on the y-axis.
BStacked bar chart showing sales by product category.
CPie chart showing sales distribution by region.
DTable listing sales amounts for each month.
Attempts:
2 left
💡 Hint

Think about which chart type best shows changes over time.

🔧 Formula Fix
advanced
2:00remaining
Fixing a Relationship Cardinality Issue

You created a relationship between a Customers table and an Orders table in Power BI. The relationship is set as one-to-one, but you notice incorrect aggregation results. What is the most likely cause?

AThe relationship should be inactive to avoid aggregation errors.
BThe relationship should be one-to-many from Customers to Orders, not one-to-one.
CThe relationship should be many-to-many to allow multiple customers per order.
DThe relationship cardinality does not affect aggregation results.
Attempts:
2 left
💡 Hint

Think about how customers and orders relate in real life.

🎯 Scenario
expert
3:00remaining
Optimizing a Large Data Model for Performance

Your Power BI report is slow because the data model has millions of rows and many calculated columns. Which approach will best improve performance without losing necessary detail?

AImport all data without filtering to keep the model complete.
BAdd more calculated columns to pre-calculate values and speed up queries.
CDisable relationships to reduce model complexity.
DReplace calculated columns with measures where possible and use aggregations to reduce data volume.
Attempts:
2 left
💡 Hint

Think about how calculated columns and measures affect model size and query speed.