The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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!
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/
User | Count |
---|---|
28 | |
12 | |
8 | |
7 | |
5 |
User | Count |
---|---|
36 | |
14 | |
12 | |
7 | |
7 |