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

synchronize the slicer from one table to another table

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
Example
my slicer Project Phase from table Substation
test image.PNG

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-easonf-msft
Community Support
Community Support

Hi , @Anonymous 

As a workaround, you can try to create a inactive relationship as below:

12.png

Use the function "userelationship" to create a measure:

 

M_Project Phase = CALCULATE(MAX(Labor[Project Phase]), USERELATIONSHIP(Substation[Project phase],Labor[Project Phase]))

 

 Then create  a visual control measure and applied  it to the visual filter pane.

 

visual control = IF([M_Project Phase]=SELECTEDVALUE(Labor[Project Phase]),1,0)

 

The result will show as below:

13.png

 

Please check the attached demo for more details.

 

Best Regards,
Community Support Team _ Eason
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

5 REPLIES 5
v-easonf-msft
Community Support
Community Support

Hi , @Anonymous 

As a workaround, you can try to create a inactive relationship as below:

12.png

Use the function "userelationship" to create a measure:

 

M_Project Phase = CALCULATE(MAX(Labor[Project Phase]), USERELATIONSHIP(Substation[Project phase],Labor[Project Phase]))

 

 Then create  a visual control measure and applied  it to the visual filter pane.

 

visual control = IF([M_Project Phase]=SELECTEDVALUE(Labor[Project Phase]),1,0)

 

The result will show as below:

13.png

 

Please check the attached demo for more details.

 

Best Regards,
Community Support Team _ Eason
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

v-easonf-msft
Community Support
Community Support

Hi, @Anonymous 

Since you are establishing a relationship based on filed "Substation#",so the table is  filtered through this filed "Substation#" rather than filed "Project phase".

For example:
When you select"Plan" in slicer Project Phase from table Substation,you will filter the table “Labor”as below:

5.png

You get the  value list of "Substation#" : "332549","351422","435341","512523" rather than  value list of "Project Phrase":"Plan".

Then in table “Substation”, it will filter out all the records that contain the same value as the value list "Substation#" : "332549","351422","435341","512523".

 

Best Regards,
Community Support Team _ Eason

 

TomMartens
Super User
Super User

Hey @Anonymous ,

 

consider to create a dedicated table that can be used to relate both your existing tables, then this table can be used to filter both tables at once.

 

You can create a table using this DAX statement

dim table Project Phase =
DISTINCT(
UNION(
ALLNOBLANKROWS('Substation'[Project Phase])
, ALLNOBLANKROWS('Labor'[Project Phase])
)
)

It's always a good idea to create a data model that is based on the star schema modeling concept.

This article describes how to create a table that is based on DAX: https://docs.microsoft.com/en-us/power-bi/transform-model/desktop-calculated-tables

This explains how to create a data model in Power BI: https://docs.microsoft.com/en-us/learn/paths/model-power-bi/

 

Hopefully, this helps to tackle your challenge.

 

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany
Anonymous
Not applicable

Thanks for the Approach
this doesn’t solve anything for me
i created the table and still its the same

Hey @Anonymous ,

 

please create a pbix file that contains sample data, and reflects your data data model. Upload the pbix to onedrive or dropbox and share the link. If you are using Excel to create the sample data, share the xlsx as well.

 

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

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!

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