Hi,
I am working with two fact tables which are exactly the same format. Currently I have used DAX UNION
of the two tables into one table to use for all analysis/measures etc.
I now want to use SUMX function across this data however this method creates duplicate data. How do I create a table that essentially summarizes these two tables together where all rows are unique and values are added?
For background, I am not able to move all this into PowerQuery so am looking for a DAX suggestion.
Dummy fact table 1:
Prod Cust Amt
1 1 10
2 1 15
3 2 5
4 2 10
5 3 20
Dummy fact table 2:
Prod Cust Amt
1 1 5
2 2 10
Current UNION table:
Prod Cust Amt
1 1 10
2 1 15
3 2 5
4 2 10
5 3 20
1 1 5
2 2 10
Desired Table:
Prod Cust Amt
1 1 15
2 1 15
2 2 10
3 2 5
4 2 10
5 3 20
What would be the best combination to summarize these tables?