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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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