Bird
Raised Fist0
Power BIbi_tool~20 mins

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

Choose your learning style10 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.

Practice

(1/5)
1. Which of the following is a simple way to reduce the size of a Power BI data model?
easy
A. Import duplicate tables for safety
B. Add more calculated columns
C. Remove columns that are not used in reports
D. Enable auto date/time for all tables

Solution

  1. Step 1: Identify unused data

    Unused columns take up space without adding value to reports.
  2. Step 2: Remove unused columns

    Deleting these columns reduces the data model size and improves performance.
  3. Final Answer:

    Remove columns that are not used in reports -> Option C
  4. Quick Check:

    Removing unused data reduces model size [OK]
Hint: Delete unused columns to shrink model size quickly [OK]
Common Mistakes:
  • Keeping all columns regardless of usage
  • Adding calculated columns unnecessarily
  • Enabling auto date/time increases model size
2. Which syntax correctly disables the auto date/time feature in Power BI using the Options menu?
easy
A. Go to File > Options > Data Load > uncheck 'Auto Date/Time'
B. Use DAX: DISABLE AUTODATE()
C. Right-click table > Disable Auto Date
D. In Power Query, remove date columns

Solution

  1. Step 1: Locate auto date/time setting

    It is found under File > Options > Data Load in Power BI Desktop.
  2. Step 2: Disable the feature

    Uncheck the 'Auto Date/Time' option to stop Power BI from creating hidden date tables.
  3. Final Answer:

    Go to File > Options > Data Load > uncheck 'Auto Date/Time' -> Option A
  4. Quick Check:

    Disabling auto date/time reduces hidden data [OK]
Hint: Disable auto date/time in Options to reduce hidden tables [OK]
Common Mistakes:
  • Trying to disable auto date/time with DAX
  • Removing date columns instead of disabling feature
  • Looking for option in Power Query instead of Options menu
3. Given a table with a column 'SalesAmount' stored as Decimal Number, which change reduces model size the most without losing data precision?
medium
A. Keep 'SalesAmount' as Decimal Number
B. Change 'SalesAmount' data type to Whole Number
C. Change 'SalesAmount' data type to Text
D. Change 'SalesAmount' data type to Fixed Decimal Number

Solution

  1. Step 1: Understand data types and size

    Decimal Number uses more space; Fixed Decimal Number stores decimals efficiently.
  2. Step 2: Choose Fixed Decimal Number

    This type reduces size while keeping decimal precision, unlike Whole Number or Text.
  3. Final Answer:

    Change 'SalesAmount' data type to Fixed Decimal Number -> Option D
  4. Quick Check:

    Fixed Decimal Number reduces size with decimals [OK]
Hint: Use Fixed Decimal Number for decimals to save space [OK]
Common Mistakes:
  • Switching to Whole Number loses decimal data
  • Using Text increases model size
  • Keeping Decimal Number wastes space
4. You notice your Power BI model size is large. You disabled auto date/time but the size did not reduce. What is the likely cause?
medium
A. You need to refresh the data after disabling auto date/time
B. There are many unused columns still in the model
C. Auto date/time disables only for new reports, not existing ones
D. The model size never changes after disabling features

Solution

  1. Step 1: Check for unused columns

    Unused columns consume space even if auto date/time is off.
  2. Step 2: Remove unused columns

    Deleting these columns will reduce model size effectively.
  3. Final Answer:

    There are many unused columns still in the model -> Option B
  4. Quick Check:

    Unused columns keep model large despite disabling features [OK]
Hint: Remove unused columns if disabling features doesn't reduce size [OK]
Common Mistakes:
  • Assuming refresh fixes size without removing data
  • Thinking auto date/time disables only for new reports
  • Believing model size never changes
5. You have a large sales dataset with many columns, including detailed customer info not used in reports. You want to reduce model size and improve report speed. Which combination of actions is best?
hard
A. Remove unused customer columns, disable auto date/time, and change numeric columns to appropriate data types
B. Keep all columns, enable auto date/time, and add calculated columns for analysis
C. Remove only unused columns, keep auto date/time enabled, and leave data types as is
D. Disable auto date/time only, keep all columns and data types unchanged

Solution

  1. Step 1: Remove unused columns

    Deleting unused customer info reduces unnecessary data in the model.
  2. Step 2: Disable auto date/time

    This stops Power BI from adding hidden date tables that increase size.
  3. Step 3: Optimize numeric data types

    Changing numeric columns to smaller or fixed decimal types saves space without losing precision.
  4. Final Answer:

    Remove unused customer columns, disable auto date/time, and change numeric columns to appropriate data types -> Option A
  5. Quick Check:

    Combining removal, disabling, and data type optimization reduces size best [OK]
Hint: Combine removing unused data, disabling features, and data type tuning [OK]
Common Mistakes:
  • Keeping all data and enabling auto date/time
  • Only removing columns without disabling features
  • Ignoring data type optimization
Recommended

Ready to prove it?

Pass the test and this pattern moves unknown strong while earning +1 Grip toward your certificate.

10 questions~5 mineasy hard