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

Power BI One Slicer to filter other slicers

Hi,

As shown in below screen shot, I have create a measure called: Mutual Slice Filter and used it to filter Scenario Slicer based on Financial year slice. I have added the measure to Filter Pane in Filter on this visual section. However looks like my solution is not working properly as when I select financial year 2021-22, scenario "FOR" ( Forecast) is not appearing in Scenaro slicer though it exists in financial year 2021-22. To prove that it exists I created a table visual which list all scenarios in 2021-22. Am i missing something?

Thanks 

 

Gus_968_0-1664690760024.png

 

1 ACCEPTED SOLUTION
PaulDBrown
Community Champion
Community Champion

It's hard to see without knowing how your model is set up, which tables are used for the slicers, what each field means....

If you want one slicer to filter another, and the fields used are in dimension tables, create a measure along the lines of:

 

Filter Slicers = COUNTROWS (RELATEDTABLE(Fact Table))

 

Add the measure to the filter pane for each slicer and set the value to greater or equals to 1.

If that isn't the problem, please share sample non-confidential data or a link to a PBIX file in a clud service and a depiction of the expected outcome.

 





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






View solution in original post

1 REPLY 1
PaulDBrown
Community Champion
Community Champion

It's hard to see without knowing how your model is set up, which tables are used for the slicers, what each field means....

If you want one slicer to filter another, and the fields used are in dimension tables, create a measure along the lines of:

 

Filter Slicers = COUNTROWS (RELATEDTABLE(Fact Table))

 

Add the measure to the filter pane for each slicer and set the value to greater or equals to 1.

If that isn't the problem, please share sample non-confidential data or a link to a PBIX file in a clud service and a depiction of the expected outcome.

 





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






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.