0
0
Power BIbi_tool~20 mins

Map visualizations in Power BI - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Map Visualization Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
visualization
intermediate
2:00remaining
Choosing the correct map type for sales data

You have sales data by country and want to show total sales geographically. Which map visualization type in Power BI best shows sales distribution by country with clear color intensity differences?

AShape map showing sales as pie charts on each country
BBubble map with bubbles sized by sales volume on a blank map
CTable visual listing countries and sales values
DChoropleth map (filled map) showing countries colored by sales volume
Attempts:
2 left
💡 Hint

Think about which map type uses color fill to represent values across regions.

dax_lod_result
intermediate
2:00remaining
Calculate total sales by city ignoring filters

Given a sales table with columns City and SalesAmount, which DAX measure correctly calculates total sales for each city ignoring any slicers or filters on City?

Power BI
Total Sales All Cities = CALCULATE(SUM(Sales[SalesAmount]), ALL(Sales[City]))
ATotal Sales All Cities = CALCULATE(SUM(Sales[SalesAmount]), FILTER(Sales, Sales[City] <> ""))
BTotal Sales All Cities = SUM(Sales[SalesAmount])
CTotal Sales All Cities = CALCULATE(SUM(Sales[SalesAmount]), ALL(Sales[City]))
DTotal Sales All Cities = CALCULATE(SUM(Sales[SalesAmount]), REMOVEFILTERS(Sales[City]))
Attempts:
2 left
💡 Hint

Use a function that removes filters on the City column inside CALCULATE.

data_modeling
advanced
2:30remaining
Modeling geographic hierarchy for map drill-down

You want to create a map visualization that allows users to drill down from Country to State to City. What is the best way to model this geographic hierarchy in Power BI?

ACreate separate tables for Country, State, City with no relationships and use them independently
BCreate a single table with columns Country, State, City and define a hierarchy in the Fields pane
CUse only the City column with full names including State and Country concatenated
DCreate a table with only Country and City columns and ignore State
Attempts:
2 left
💡 Hint

Think about how Power BI hierarchies work in the Fields pane.

🎯 Scenario
advanced
2:30remaining
Improving map performance with many data points

Your map visualization slows down when showing thousands of city points. Which approach best improves performance without losing key insights?

AAggregate data to show sales by State instead of City to reduce points
BUse a bubble map with larger bubbles for each city
CAdd more detailed city-level data to increase granularity
DRemove all filters and show all data points at once
Attempts:
2 left
💡 Hint

Think about reducing the number of points shown to improve speed.

🔧 Formula Fix
expert
3:00remaining
Identify the error in this DAX measure for map tooltip

Given this DAX measure intended to show average sales per city in a map tooltip, what error will it cause?

Avg Sales Tooltip = AVERAGE(Sales[SalesAmount], Sales[City])
Power BI
Avg Sales Tooltip = AVERAGE(Sales[SalesAmount], Sales[City])
ASyntaxError: AVERAGE function only takes one argument
BReturns average sales correctly grouped by city
CTypeError: Cannot average text values in City column
DReturns total sales instead of average
Attempts:
2 left
💡 Hint

Check the number of arguments AVERAGE accepts.