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
Anonymous
Not applicable

Slicer should filter all the tables

Hello All, 

i have 2 tables 

1) Substation 

YearStateSubstationSubstation#SystemProject phase
2020AZWells 49332549Distribution LineMODEL
2020AZHeavener 22351422Distribution LineMODEL
2020AZOtter 41435341Distribution LineMODEL
2020AZLone Grove 23512523Distribution LineMODEL
2020AZWells 49332549Distribution LinePLAN
2020AZHeavener 22351422Distribution SubstationPLAN
2020AZOtter 41435341Distribution LinePLAN
2020AZLone Grove 23512523Distribution SubstationPLAN

 

2) Labor

YearStateSubstationSubstation#SystemLabor TypeProject Phase
2020AZWells 49332549Distribution LineDesignMODEL
2020AZHeavener 22351422Distribution LineExecutionMODEL
2020AZOtter 41435341Distribution LineDesignMODEL
2020AZLone Grove 23512523Distribution LineExecutionMODEL
2020AZWells 49332549Distribution LineEngineeringPLAN
2020AZHeavener 22351422Distribution SubstationConstructionPLAN
2020AZOtter 41435341Distribution LineEngineeringPLAN
2020AZLone Grove 23512523Distribution SubstationConstructionPLAN

 

i am joining my 2 tables with Substation number (Substation table filters the Labor table)
when i keep the Project Phase as the slicer, i am not getting the results as excepted

test image.PNG
Example
my slicer Project Phase from table Substation

when i select PLAN in the slicer Project Phase, the Labor table is not filtering to the Plan (showing both the Plan and Model data)

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

Hi @Anonymous 

 

Try this one:

Measure 2 = IF(ISFILTERED(Substation[Project phase]),IF(MAX(Labor[Project Phase])=SELECTEDVALUE(Substation[Project phase]),1,0),1)

04.gif 

Community Support Team _ Dina Ye
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
v-diye-msft
Community Support
Community Support

Hi @Anonymous 

 

Try this one:

Measure 2 = IF(ISFILTERED(Substation[Project phase]),IF(MAX(Labor[Project Phase])=SELECTEDVALUE(Substation[Project phase]),1,0),1)

04.gif 

Community Support Team _ Dina Ye
If this post helps, then please consider Accept it as the solution to help the other members find it more
quickly.
mhossain
Solution Sage
Solution Sage

@Anonymous 

 

@mahoneypat  has correctly stated the reason, but still if you want to filter as you mentioned in your questions, you can create combined key (Substation# & Project phase) in both of the tables and create join on this, slicer will filter accordingly.

 

Let me know if above makes sense.

mahoneypat
Microsoft Employee
Microsoft Employee

The filtering is happening but you are still seeing both values because both values exist in the Labor table for at least one of the values in the Substation table that has value of Plan for Project Phase (e.g., 332549).

 

If this works for you, please mark it as the solution.  Kudos are appreciated too.  Please let me know if not.

Regards,

Pat





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


Helpful resources

Announcements
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