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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Restrict measure to an active relationship

Hi, 

 

I have a dimension table of benchmarks containing the key assetID of only the benchmarks. 

Further I have a fact table rate containing all assetIDs (not only those for the benchmarks), the date and the rate. 

They have an active M:N relationship in both directions. 

The fact table contains a large amount of data so that any measure I want to implement fails due to memory restrictions. 

How can I achieve that the relationship restricts the measure to only calculate it for the benchmark assetIDs? 

2 REPLIES 2
amitchandak
Super User
Super User

@Anonymous , consider a bridge table

https://www.seerinteractive.com/blog/join-many-many-power-bi/

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

Can you elaborate in a little more detail how that would help? 

Right now I tried to solve the issue by changing the dim table so that i could change the relationship to 1:N from dim -> fact. But it still did not use the relationship before implementing the measure. 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.