Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
VikcyD
Frequent Visitor

2 Fact Table With 1 Bridge Table has unique Value

I am will be using Excel Slicer to filter , Fact table 1 is having all the values and Qty date etcs Fact table 2 is having region or location , So wanted I all the value or qty in fact table of update when I click anything in the slicer fact2. 

2 Fact Table.jpg

3 REPLIES 3
VikcyD
Frequent Visitor

Thanks for you Response but Will it be going to work if I am having Same File in Excel Power Pivot , Attached a Reffence file That Might Help to undsetdnad my Query 

v-yangliu-msft
Community Support
Community Support

Hi  @VikcyD ,

 

Here are the steps you can follow:

1. Create measure.

Flag =
var _select=SELECTEDVALUE('Fact Table2'[Primary Key])
return
IF(
    NOT(HASONEFILTER('Fact Table2'[Primary Key])),1,
    IF(
    MAX('Fact Table1'[Primary Key]) = _select,1,0)
)

2. Place [Flag]in Filters, set is=1, apply filter.

vyangliumsft_0-1695627314509.png

3. Result:

vyangliumsft_1-1695627314516.png

If I have misunderstood your meaning, please provide your pbix without privacy and desired output.

 

Best Regards,

Liu Yang

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

Screenshot 2023-09-26 131443.pngScreenshot 2023-09-26 131103.pngScreenshot 2023-09-26 131130.png

Helpful resources

Announcements
July 2024 Power BI Update

Power BI Monthly Update - July 2024

Check out the July 2024 Power BI update to learn about new features.

July Newsletter

Fabric Community Update - July 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors