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
aryank2000
Frequent Visitor

Measure creates cartesian

Hi,

 

I have two fact tables in my model. They are both joined in the model. in FactTable1, I have a count and several YTD measures. When I drag in keys from Factable1 and FactTable2, all looks good. The moment I drag the measure from FactTable1, the numbers of rows is multiplied, I guess it is creating a cartesian product. I guess something is wrong with the measure. For example, I have Countx(TableName,ColumnName). Does anyone know what is going wrong here. I really appreciate all the help. Thank you folks!

1 REPLY 1
Stachu
Community Champion
Community Champion

Hi, can you add sample tables from your model with anonymised data?

As described here:

How to Get Your Question Answered Quickly 

From the what you have written my guess is you have multiple key columns (which ideally would all be joined), but only one of them has active relationship, which results in the multiplied numbers. You can workaround it with TREATAS, have a look here:
https://www.sqlbi.com/articles/propagate-filters-using-treatas-in-dax/



Did I answer your question? Mark my post as a solution!
Thank you for the kudos 🙂

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.