Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
edt4444
Frequent Visitor

Map Coloring Based on Slicer Selection

Hello,

 

I'm looking for a way to color a map based on a slicer selection. If the map below represented customer locations, I would like the bubble for the selected customer to be colored differently while keeping all other locations on the map. I have adjusted the interaction from the slicer to the map to none, which I believe should keep all locations on the map. 

 

Is it possible to color the selected customer's location using SELECTEDVALUE or some similar function?

 

Thanks.

 

Sample Map.jpg

1 ACCEPTED SOLUTION
v-cherch-msft
Employee
Employee

Hi @edt4444 

You may create a slicer table and use below measure.Attached sample file for your reference.

Measure =
IF (
    SELECTEDVALUE ( Slicer[Country] ) = MAX ( Table1[Country] ),
    SELECTEDVALUE ( Slicer[Value] )
)

1.pngRegards,

 

Community Support Team _ Cherie Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-cherch-msft
Employee
Employee

Hi @edt4444 

You may create a slicer table and use below measure.Attached sample file for your reference.

Measure =
IF (
    SELECTEDVALUE ( Slicer[Country] ) = MAX ( Table1[Country] ),
    SELECTEDVALUE ( Slicer[Value] )
)

1.pngRegards,

 

Community Support Team _ Cherie Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Is it possible to use this with the ArcGIS Maps visual? The map visual you used is not working well with the large amount of data I have. 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.