Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
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
Solved! Go to Solution.
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:
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.
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:
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.
I am trying to create a measure like this:
@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
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.