This article explains how to Isolate US MAP into individual Geographic states Elements in Tableau.
Tableau is designed to make the most of geographical data, so you can get to the “where” as well as the “why.” With built-in Tableau integration, using maps couldn’t be easier! Occasionally, however, we want to get creative and display more information within the map. Now, this is obviously just for visual flavor, as the end user would see in multiple other areas the selected metric, but the technique is a nifty trick with many different applications.
Create four calculated Field and Perimeter (as per below image) which will allow user to select desired no of Rows and columns.
go ROW VALUE
if (INDEX()/[Column Selection])= Int(INDEX()/[Column Selection])
THEN (INDEX()/[Column Selection])
ELSEIF (INDEX()/[Column Selection])<0 THEN Int(INDEX()/[Column Selection])
ELSE Int(INDEX()/[Column Selection]+1) END
buy brand dapoxetine COLUMN VALUE
IIF(INDEX()% [Column Selection]=0,[Column Selection],INDEX()% [Column Selection])
buy provigil online safely COL DIV 5
COL DIV 2
Put “Column value” and “Row Value” on the Column and Row Marks shelf respectively. Once this is done, put “States” on Filter Shelf and Select “All”.
Right Click on “Column Selection” parameter and select “Show Parameter Control”.
Put “COL DIV 5” and “COL DIV2” in the column shelf as well. Now Uncheck “Show Header” option of every dimension and Measures.
Now put “States” into the detail marks of “COL DIV 5” section and another time put “States” into the Label marks of “COL DIV 2”.Once this is done,
Then Change the default marks of “COL DIV 5” from “Automatic” to “Filled Map” and in case of “COL DIV 2”, Change the default marks from “Automatic” to “TEXT”
Now Right click on “Column value” and do [Compute using “States”]. Do the same step from “Row Value”. Tableau is smart enough to retain the shape of the geographic data.
Change the Worksheet background color to black and worksheet font to either white or yellow.
Drag Sales into the color marks of “Filled map” section and then Increase the Size of the Filled map.
Right click on the sheet, select format and do the following steps as mentioned below.
- Go the Format Lines and Change the Zero Lines from Dot to None.
- (Optional step )Go to the Format border and Change the Row Divider and Column Divider value to None.
- Go to the “Columns section” of the Format Border and make the LEVEL Adjustment .Do the same for “Rows Section” as well.
- Just increase the Cell Size of the view as per your convenience.You can also change the “Column Selection“ Parameter value which will give you exact of columns.
The final output will be:
Bonus Tips and Tricks:
Create two calculated Field named as X and Y.
Put “X” in Row and “Y” in Column.
Put States in the Detail shelf of the mark card and do the Compute Using by States for the “X” and “Y”.
The Final output will be:
You can put another map inside the circle or any kind of chart like Line /Bar etc. Use Dashboard Action and see the magic.
*Double clck to see the Gif effect