Dashboard Mode - Geographic roles assignment
Business Question
How can we visualize sales data by country and state using geographic roles in Tableau?
Jump into concepts and practice - no test required
How can we visualize sales data by country and state using geographic roles in Tableau?
| Order ID | Country | State | Sales |
|---|---|---|---|
| 1001 | USA | California | 1500 |
| 1002 | USA | Texas | 1200 |
| 1003 | Canada | Ontario | 900 |
| 1004 | Canada | Quebec | 700 |
| 1005 | USA | New York | 1100 |
| 1006 | Mexico | Jalisco | 800 |
| 1007 | Mexico | Nuevo Leon | 600 |
+----------------------+-----------------------+ | KPI Card | Map 1: Country | | Total Sales: 6800 | (Colored by Sales) | +----------------------+-----------------------+ | Map 2: State/Province (Bottom Full Width) | | (Colored by Sales) | +-----------------------------------------------------------+ | Sales Details Table | +-----------------------------------------------------------+
Clicking on a country in Map 1 filters Map 2 and the Sales Details Table to show only states and orders from that country. Selecting a state in Map 2 further filters the Sales Details Table to show only orders from that state.
If you add a filter to select only the country 'USA', which components update and what data do they show?
City in Tableau?City in the data pane.PostalCode assigned the geographic role 'Postal Code', what will Tableau do when you drag this field to the Rows shelf and add a map visualization?Region, but Tableau does not display the map correctly. What is the most likely cause?Region fieldRegion field contains values that are not valid state names -> Option ALatitude and Longitude but Tableau is not plotting the map correctly. Which sequence of steps correctly assigns geographic roles to fix this?Latitude > Geographic Role > Latitude; Right-click Longitude > Geographic Role > Longitude -> Option C