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
Yonko
Helper I
Helper I

How to filter one plot by multiple exlusive filters?

I'm not sure if this topic should be here or in Desktop tab, so my apologies if i picked incorrect one.

Hi there. I have a task which i'm unable to solve. I need to create a scatter plot showing temperature and population on axes by cities. And every city belongs to some region - nothing unusual. There should be a slicer for user to select region. But here comes the tricky part - i also need to add slicer where user can select city from another region - and this city should be displayed with all other cities.

Yonko_0-1670398949462.png

 

So, for example, when a user select Asia from region slicer there should be displayed all Asia cities, but if user wants to select city from city slicer this city should be also displayed with all Asia cities, even if it's not belong to Asia region. But when you pick Asia it applies filter to all cities, and you can't pick another one from different region.

I tried to create two slicers which should filter another one, and data from it should bу displayed, but it doesn't work. Tried to tinker with filter parameters in visual by creating measures but also without success. Even not sure that measures can help because it should work with columns, and we can't change them dynamically. If you have any suggestions i'll be glad to hear.

 

1 ACCEPTED SOLUTION
v-shex-msft
Community Support
Community Support

HI @Yonko,

It sounds like you want to achieve the custom filter effect.

For this scenario, I'd like to suggest creating an unconnected table as source of slicer, write a measure formula to extract the selection from slicer to calculate with current table records and return Tag. Then you can use this formula to apply filter effect on the 'visual level filter'.

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

1 REPLY 1
v-shex-msft
Community Support
Community Support

HI @Yonko,

It sounds like you want to achieve the custom filter effect.

For this scenario, I'd like to suggest creating an unconnected table as source of slicer, write a measure formula to extract the selection from slicer to calculate with current table records and return Tag. Then you can use this formula to apply filter effect on the 'visual level filter'.

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

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.

Top Solution Authors