0
0
Power BIbi_tool~20 mins

Reducing model size in Power BI - Practice Problems & Coding Challenges

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

Which of the following changes will most effectively reduce the size of a Power BI data model?

  • A. Change columns storing whole numbers from Decimal Number to Whole Number data type.
  • B. Convert text columns to Date/Time data type.
  • C. Replace numeric columns with text columns.
  • D. Use Fixed Decimal Number data type for all numeric columns.
AReplacing numeric columns with text columns reduces model size.
BConverting text columns to Date/Time always reduces model size.
CUsing Fixed Decimal Number for all numeric columns reduces model size.
DChanging whole number columns from Decimal Number to Whole Number reduces storage size significantly.
Attempts:
2 left
💡 Hint

Think about how Power BI stores numbers internally and which data types use less space.

dax_lod_result
intermediate
2:00remaining
Calculating Distinct Count with Filter to Reduce Model Size

Given a large sales table, you want to create a measure that counts distinct customers only for sales in the current year to reduce model size impact. Which DAX measure will produce the correct result?

Power BI
Measure = CALCULATE(DISTINCTCOUNT(Sales[CustomerID]), YEAR(Sales[Date]) = YEAR(TODAY()))
AMeasure = CALCULATE(DISTINCTCOUNT(Sales[CustomerID]), FILTER(Sales, YEAR(Sales[Date]) = YEAR(TODAY())))
BMeasure = DISTINCTCOUNT(FILTER(Sales, YEAR(Sales[Date]) = YEAR(TODAY()))[CustomerID])
CMeasure = CALCULATE(DISTINCTCOUNT(Sales[CustomerID]), Sales[Date] = TODAY())
DMeasure = DISTINCTCOUNT(Sales[CustomerID])
Attempts:
2 left
💡 Hint

Remember that CALCULATE with FILTER applies row context correctly for filtering.

visualization
advanced
2:00remaining
Designing a Dashboard to Highlight Model Size Reduction Impact

You want to create a Power BI dashboard that clearly shows the impact of reducing model size by removing unused columns and optimizing data types. Which visualization approach best communicates this?

AUse a table listing all columns with their data types.
BUse a stacked bar chart showing model size before and after optimization by category (e.g., columns removed, data type changes).
CUse a line chart showing sales over time before and after optimization.
DUse a pie chart showing percentage of total rows filtered out.
Attempts:
2 left
💡 Hint

Think about how to compare sizes visually and by category.

🔧 Formula Fix
advanced
2:00remaining
Debugging a DAX Measure Causing Large Model Size

A DAX measure uses the following code to calculate total sales but causes the model size to grow unexpectedly. What is the main issue?

Power BI
Total Sales = SUMX(VALUES(Sales[OrderID]), Sales[Quantity] * Sales[Price])
AUsing VALUES on Sales[OrderID] creates a large intermediate table increasing memory usage.
BSUMX cannot be used with VALUES function.
CThe multiplication inside SUMX causes a syntax error.
DThe measure should use CALCULATE instead of SUMX.
Attempts:
2 left
💡 Hint

Consider how VALUES works and what it returns.

🎯 Scenario
expert
3:00remaining
Optimizing a Complex Model with Multiple Large Tables

Your Power BI model has multiple large tables with millions of rows. You want to reduce model size without losing critical analysis capabilities. Which combined approach is best?

ARemove all calculated columns, keep all data at the lowest granularity, and use DirectQuery mode.
BKeep all columns, convert all text columns to numeric codes, and disable auto date/time.
CRemove unused columns, convert numeric columns to Whole Number where possible, and aggregate data at a higher level before loading.
DUse only calculated tables, remove all relationships, and import all data as text.
Attempts:
2 left
💡 Hint

Think about practical ways to reduce size while keeping analysis possible.