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
dusdau
Helper II
Helper II

Displaying a related row in same table, and in another table without an active relationship

Hi All,

 

I am working on a data model and I have it pretty much where I want it, however I have a business need that I can't seem to meet without completely duplicating data into separate tables.

 

Here is the model in question:

 

PowerBIPricingImpact.png

 

I want to be able to select a row in the Sales fact and be able to cross filter another table to show:

1) The related price history row where PriceHistKey = PriceHistKey (I also need to be able to show the entire price history for the Part, so I need to have that relationship remain active)
2) The related Sales row where SalesKey = LastSaleKey.

 

I know I could essentially duplicate the Sales and Price History tables and use a bi-directional relationship but I would prefer not to create bi-directionals and also would prefer not to duplicate the sales and price history tables as they are larger tables.

Anyone know a way to accomplish this?   It seems like it should be doable without duplicating tables.

 

Thanks,

Dustin

1 REPLY 1
v-deddai1-msft
Community Support
Community Support

Hi @dusdau ,

 

You can contain the following formula in your measure or visual level filter:

 

CROSSFILTER('Sales'[SalesKey],' price history'[SalesKey],Both

 

For more details, please refer to https://docs.microsoft.com/en-us/dax/crossfilter-function 

 

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

 

Best Regards,

Dedmon Dai

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
Top Kudoed Authors