My data does not have information for Alaska but only for other states in US. But since I am using country to fill the map, it is highlighting the whole of US and my map is a bit misleading as the separate chunk of AK looks like there is data in there due to fill color. I wanted to remove highlight for AK so as not to misled people. Is that possible?
2 of 2 people found this helpful
For achieving this you have to implement custom geo-codes for the state of US excluding Alaska as a State. I was trying to juggle around with the Country Geo-Code which is set by default in Tableau but there was no way to exclude or filter out States from the Country level data.
For custom Geo-Coding you can refer http://onlinehelp.tableau.com/current/pro/desktop/en-us/custom_geocoding.html
You can try this, (let's use Superstore as an example).
If Sales for Alaska (or any other state) is equal to Null and we do not want that state to show, you can drag Sales to filter and exclude Null.
I used the same trick when I play around with Shape files.
Hope this helps.
Thanks very much. I am familiar with geo coding and used that a lot of times before. Looks like there is no other way but that.
By the way, I asked this because this is a filled world map and not US only. The map for other countries doesn't look weird, it really is just US that looks like AK is a separate entity at the top (I am not familiar with AK so at first it looked to me like a different country). Users who doesn't know tableau and this mapping function will think that there is data in AK since that is also filled when you highlight US country.
Thanks, Peter. I think I know what you mean. Just that, I am not using state but country, and it's not only US so I thought country-level is ok rather than state. I figure geo-coding is the best thing to do to custom the map.
But thanks for sharing your thoughts, appreciate your help.