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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
audune
Frequent Visitor

Slicer/slider for Map

Hi!

 

 

I've created a map showing one variable (e.g. Revenue). 

 

I want to have a slicer with a slider that is able to filter in/out values for the variable (e.g. revenue over x), but I do not want to remove values below the given slicer value - they should be shown in a different color.

 

I've been searching the forum, google, and so on - but no luck yet.

 

Anyone here able to help me?

 

Thanks!

7 REPLIES 7
Anonymous
Not applicable

Hi @audune,

I am afraid that you are not able to achieve the above requirement by using slicers.

What  you describe is more like cross-highlight feature in Power BI Desktop. You can consider to create a measure which represents revenue over x, then create a chart using the measure and click the section in the chart to highlight the current Map. For more details about cross-highlight in Power BI Desktop, please review this article: https://powerbi.microsoft.com/en-us/documentation/powerbi-service-visual-interactions/ .

Thanks,
Lydia Zhang

Hi Lydia,

 

Thanks for your help!

 

If x is a variable set by the user of the report, how would I set up the measure? I thought DAX did not allow the use of a dynamic variable.

 

BR

Audun

Anonymous
Not applicable

Hi @audune,

Please help to post sample data of your tables for us to analyze.

Thanks,
Lydia Zhang

Here is a sample of the data (as well as long/lat position):

CustomerIDRevenue
100100000
101150000
102200000
103210000

 

Here is how I eventually solved it using Tableau:
Tableau Solution.PNG

The user can use the slider to change the distribution of customers to each category. The distribution becomes visible in the map.

 

Can this be done in PowerBI as well somehow? I can imagine several scenarioes were I need to define a variable (in this case "CustomerCategory" using the if-function) in order to let the user perform "what-if" analysis.

 

Thanks

Anonymous
Not applicable

Hi @audune,

Could you please post a full table structure with sample data? And we need to know that which field you use to create the slicer in Power BI Desktop and if use the slicer to filter revenue.

Thanks,
Lydia Zhang

Here is the full table structure:

 

CustomerIDRevenueLatLon
10010000064,026611,4933
10115000064,008311,4952
10220000064,008311,4952
10321000064,011911,5062

 

I use the filter functionality to create two categories for revenue (that shows up in different colors in the map). The user defines the category split based on a slider for revenue (i.e. a filter).

Anonymous
Not applicable

Hi @audune,

Do you use category field to create a slicer and use the slicer to filter the map visual? If so, which table does the category field come from?

Thanks,
Lydia Zhang

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors