Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Hello,
As you can see, I am a newbie here. I am trying to make a table with tota cases (total rows) and total deaths in the same table. When I make separate tables, it works. When try to have them in the same table, it doesnt work. Your inputs are sincerely appreciated. Thank you
Solved! Go to Solution.
It is your data model. One of those tables isn't filtering the other. You can turn on crossfiltering by using something like this:
TEST =
CALCULATE(
SUM( table2[field] ),
CROSSFILTER ( table1[key], table2[key], BOTH )
)
But the fundamental issue is your model. You should have a star schema where your field in the table should be from a DIMENSION table that is filtering both of these FACT tables vs having the FACT tables filter one another.
DAX is for Analysis. Power Query is for Data Modeling
Proud to be a Super User!
MCSA: BI ReportingAre you using values from two different tables and try to put them in the same table visuals? If yes, so check the relationship between those table.
It is your data model. One of those tables isn't filtering the other. You can turn on crossfiltering by using something like this:
TEST =
CALCULATE(
SUM( table2[field] ),
CROSSFILTER ( table1[key], table2[key], BOTH )
)
But the fundamental issue is your model. You should have a star schema where your field in the table should be from a DIMENSION table that is filtering both of these FACT tables vs having the FACT tables filter one another.
DAX is for Analysis. Power Query is for Data Modeling
Proud to be a Super User!
MCSA: BI ReportingThank you, edhans.
Great @Maddyqc - can you please mark the respons as the "solution" so the thread can be marked done and future community users can see the solution that worked?
DAX is for Analysis. Power Query is for Data Modeling
Proud to be a Super User!
MCSA: BI ReportingUser | Count |
---|---|
141 | |
113 | |
104 | |
77 | |
64 |
User | Count |
---|---|
135 | |
123 | |
101 | |
71 | |
61 |