Tips from Assist: Tableau Map Layers Disappearing

Data

Tips from Assist: Tableau Map Layers Disappearing

Customer Question: “When I’m using filters on my map visualization, if the filter returns null values for any state, that state disappears from the map. How can I make a map that will show state outlines even when there’s no data?”

There are, as with many things in Tableau, several ways to solve this problem, depending on your data’s setup and several other factors. For this particular client issue, we took a bit of a simpler approach as all of their filters needed to apply to a single map layer.

First, we created a simple Excel sheet that contained all the United States states that should be pictured in the map. To remove extraneous map elements like Canada and Mexico for this view, we set the background map to wash out completely.

Then, we added that data source as a second (not connected) data source into Tableau Desktop. Then, add the State field from your scaffold as a new Marks layer to the visualization:

Our last check was to move the static map behind the map layer that was to be filtered and try it out:

If you’re curious about other use cases for using unconnected data sources in a single map, you can check out a blog post from fellow InterWorker Rowan Brandum here.

KeepWatch by InterWorks

Whether you need support for one platform or many, our technical experts have you covered.

More About the Author

Lindsey Ison

Support Engineer
Tips from Assist: Tableau Map Layers Disappearing Customer Question: “When I’m using filters on my map visualization, if the filter returns null values for any state, that state ...

See more from this author →

InterWorks uses cookies to allow us to better understand how the site is used. By continuing to use this site, you consent to this policy. Review Policy OK

×

Interworks GmbH
Ratinger Straße 9
40213 Düsseldorf
Germany
Geschäftsführer: Mel Stephenson

Kontaktaufnahme: markus@interworks.eu
Telefon: +49 (0)211 5408 5301

Amtsgericht Düsseldorf HRB 79752
UstldNr: DE 313 353 072

×

Love our blog? You should see our emails. Sign up for our newsletter!