Quantcast
Channel: Desktop topics
Viewing all articles
Browse latest Browse all 217137

How to show/hide points on a map based on slicer

$
0
0

Hi all - I'm trying to create a Map chart, using a field with Lat,Long coordinates to plot my values, and I only want to show the points when the data is filtered to a State. Is there a DAX formula that can help me achieve this?

 

My data in the table looks like this:

 

State | Location

FL          29.7,-85.02

FL          30.4,-83.4

TX         30.05,-94.75

TX         32.70,-99.3

 

I have a State slicer on the dashboard. If no state has been selected, I don't want the map to show any points (or maybe default it to somewhere in the center of the U.S.). Once a State has been selected on the slicer, then the map would display the Locations within that state.

 

Thanks in advance!


Viewing all articles
Browse latest Browse all 217137

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>