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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch 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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.