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
AmineGatou
Frequent Visitor

PowerBI Map View Filtered along side with Unfiltred Data

Hello Everyone
I'm struggling with this I don't know how to achieve it.

So Basically I have a map with bubbles in it 

AmineGatou_0-1649762147943.png

Everything Normal at this point.
What I need to do is when I filter using any of my slicers, I need the map to highlight the filtered data but also to show the other bubbles.

(Screenshot below is when I apply a slicer filter) the map is also filtered and only one bubble remains, I want the others to stay even the same way when I click on a bubble on the map. ( Second screenshot bellow)

AmineGatou_1-1649762244537.png

AmineGatou_2-1649762330999.png

Any help will be appreciated, thanks in advance.

 

2 ACCEPTED SOLUTIONS
v-jayw-msft
Community Support
Community Support

Hi @AmineGatou ,

 

You will need to create an indenpenet slicer table like below:

slicer = distinct('table'[locations])

Then create a measure like below and add it to conditional formatting value.

https://docs.microsoft.com/en-us/power-bi/create-reports/desktop-conditional-table-formatting 

Measure = IF(SELECTEDVALUE('Table'[location]) in VALUES('slicer'[location]),"red","green")
vjaywmsft_0-1650013989958.png
vjaywmsft_1-1650014009237.png

 

Best Regards,

Jay

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

View solution in original post

Hi @AmineGatou ,

 

If you have other slicers, add the filter conditions to the measure.

Measure = IF(SELECTEDVALUE('Table'[location]in VALUES('slicer'[location]&&'table'[column] in Values('slicer2'[column])),"red","green")

 

Best Regards,

Jay

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

View solution in original post

12 REPLIES 12
v-jayw-msft
Community Support
Community Support

Hi @AmineGatou ,

 

You will need to create an indenpenet slicer table like below:

slicer = distinct('table'[locations])

Then create a measure like below and add it to conditional formatting value.

https://docs.microsoft.com/en-us/power-bi/create-reports/desktop-conditional-table-formatting 

Measure = IF(SELECTEDVALUE('Table'[location]) in VALUES('slicer'[location]),"red","green")
vjaywmsft_0-1650013989958.png
vjaywmsft_1-1650014009237.png

 

Best Regards,

Jay

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

Great! It works but with the location slicer only ! 

AmineGatou_0-1650245757838.png

But if I use another slicer it won't work at all.

AmineGatou_1-1650245818467.png

 

Hi @AmineGatou ,

 

If you have other slicers, add the filter conditions to the measure.

Measure = IF(SELECTEDVALUE('Table'[location]in VALUES('slicer'[location]&&'table'[column] in Values('slicer2'[column])),"red","green")

 

Best Regards,

Jay

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

What should i do when my location are the longitudes and latitudes its not a single value

vanessafvg
Super User
Super User

there are several maps in power bi, which one are you using?  also what you have plotted, please provie more information.





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




Hello, The map type used is just the regular map of powerbi 
and i'm plotting the sales Measure depending on regions!

there is no regular one, which one are you using, in order for help to be given, you need to give the details.

 

vanessafvg_0-1649765345607.png

 





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




Here is the one used

AmineGatou_0-1649765512869.png

 

you need to probably change your edit interactions and set it to the no filter

vanessafvg_1-1649766557836.png

once you have selected edit interactions, there will be some filters show top right of every object, then click on the slicer object first, then on your map select no filter

ie 

vanessafvg_0-1649766522598.png

more information here

https://docs.microsoft.com/en-us/power-bi/create-reports/service-reports-visual-interactions





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




This does help but it isn't what I'm looking for. 
What I mean is that I want my map to be filtered but just to grey out the unfiltered data just like this .

AmineGatou_0-1649771221303.png

 

Hello did you get the solution ? because i have the same problem here 

Unfortunately, i couldn't find a solution to it. Still waiting.

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.