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! Request now

Reply
pfarahani
Helper II
Helper II

Cascading Slicer

Hello All,

 

In my model I have a dimension table for Courthouse and a dimension table for Departments. 

What I am trying to do is, when the user selects a courthouse or multiple courthouses, then the next slicer which is departments, should only display the departments according to the courthouses that were selected. Thanks

 

pfarahani_0-1628720480289.png

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @pfarahani ,

 

You may try this:

Measure =
VAR _allSelect =
    SUMMARIZE (
        FILTER (
            ALLSELECTED ( 'Courthouse' ),
            'Courthouse'[Courthouse] IN ALLSELECTED ( Courthouse[Courthouse] )
        ),
        'Courthouse'[ID]
    )
RETURN
    IF ( MAX ( 'Departments'[ID] ) IN _allSelect, 1, 0 )

Then apply it to filter pane set as "is 1", the final output is shown below:

Cascading Slicer.PNG

 

Best Regards,
Eyelyn Qin
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

3 REPLIES 3
Anonymous
Not applicable

Hi @pfarahani ,

 

You may try this:

Measure =
VAR _allSelect =
    SUMMARIZE (
        FILTER (
            ALLSELECTED ( 'Courthouse' ),
            'Courthouse'[Courthouse] IN ALLSELECTED ( Courthouse[Courthouse] )
        ),
        'Courthouse'[ID]
    )
RETURN
    IF ( MAX ( 'Departments'[ID] ) IN _allSelect, 1, 0 )

Then apply it to filter pane set as "is 1", the final output is shown below:

Cascading Slicer.PNG

 

Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

pfarahani
Helper II
Helper II

I am trying to create a measure like this:

 

Courthouse Filter =
FILTER('Department – Slicer', 'Department – Slicer'[Courthouse Substring] = SELECTEDVALUE('JBSIS Probate Courthouse'[CourthouseAbv])
)
This syntax does not work for now, but Im saying filter down the list of departments based on the selection of the courthouse filter
amitchandak
Super User
Super User

@pfarahani , You need to take a measure from the common fact and check that it is not blank in the visual level filter of the department

 

explained here https://www.youtube.com/watch?v=cyOquvfhzNM

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

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 Solution Authors