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.
Well rather than using the UNION function. You can directly do this transformation within the Power Query itself which will also optimize the model.
I’m providing a link below of a video from our education portal which will guide you about how you can append the same tables within the Power Query itself rather than using the DAX. And I also encourage you to go through the “Advanced Data Transformations & Modelling” course for which below is the link provided as well.
Hoping you find this useful and meets your requirements that you’ve been looking for.