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

Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.

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
Microsoft Employee
Microsoft 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
Microsoft Employee
Microsoft 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
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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