0
0
Power BIbi_tool~20 mins

First Power BI report - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Power BI Report Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
visualization
intermediate
1:30remaining
Identify the best visual for showing sales trends over time

You have monthly sales data for the last year. Which Power BI visual should you use to clearly show the sales trend over time?

ALine Chart
BPie Chart
CStacked Bar Chart
DCard Visual
Attempts:
2 left
💡 Hint

Think about which visual best shows changes over time.

dax_lod_result
intermediate
2:00remaining
Calculate total sales for a specific product category

Given a sales table with columns: ProductCategory, SalesAmount, and Date, which DAX measure correctly calculates total sales for the 'Electronics' category?

Power BI
Total Electronics Sales = CALCULATE(SUM(Sales[SalesAmount]), Sales[ProductCategory] = "Electronics")
ATotal Electronics Sales = SUMX(FILTER(Sales, Sales[ProductCategory] = "Electronics"), Sales[SalesAmount])
BTotal Electronics Sales = CALCULATE(SUM(Sales[SalesAmount]), Sales[ProductCategory] = "Electronics")
CTotal Electronics Sales = SUM(Sales[SalesAmount]) WHERE Sales[ProductCategory] = "Electronics"
DTotal Electronics Sales = SUM(Sales[SalesAmount]) + Sales[ProductCategory] = "Electronics"
Attempts:
2 left
💡 Hint

Use CALCULATE to filter the data before summing.

data_modeling
advanced
2:00remaining
Choose the best relationship type for a star schema

You have a fact table with sales data and several dimension tables like Products and Customers. What is the best relationship type to connect the fact table to dimension tables in Power BI?

AOne-to-one relationship with no filtering
BMany-to-many relationship with bidirectional filtering
COne-to-many relationship with single direction filtering from dimension to fact
DMany-to-one relationship with filtering from fact to dimension
Attempts:
2 left
💡 Hint

Think about how data flows in a star schema from dimensions to facts.

🎯 Scenario
advanced
2:00remaining
Improve report performance with large data

Your Power BI report is slow because it uses a large sales dataset. Which approach will best improve report performance?

AUse live connection to Excel files stored locally
BImport the entire dataset and use many calculated columns
CCreate many visuals with complex filters on the report page
DUse DirectQuery mode and avoid calculated columns where possible
Attempts:
2 left
💡 Hint

Consider how data is accessed and calculations are done.

🔧 Formula Fix
expert
2:30remaining
Identify the error in this DAX measure

What error will this DAX measure produce?

Total Sales Last Year = CALCULATE(SUM(Sales[SalesAmount]), SAMEPERIODLASTYEAR(Sales[Date]))

Power BI
Total Sales Last Year = CALCULATE(SUM(Sales[SalesAmount]), SAMEPERIODLASTYEAR(Sales[Date]))
AError: SAMEPERIODLASTYEAR requires a continuous date column marked as Date table
BSyntaxError: Missing parentheses in SAMEPERIODLASTYEAR function
CNo error, measure returns total sales for last year correctly
DTypeError: SUM function cannot be used inside CALCULATE
Attempts:
2 left
💡 Hint

Check the requirements for time intelligence functions in Power BI.