Forum Discussion
Anonymous
3 years agoNot applicable
Merge & Sum Rows in Transform Data based on Multiple Criteria
So I have this table with locations named with IDs. Each ID can have data from multiple years, and multiple metric types. I want to merge and sum all the Water + Irrigation rows with matching ID/Year...
- 3 years ago
My suggestion would be to replace Irrigation as Water using replace values and then group by ID, Year and Metric Type, summing the January Use row. You can add in an index column after if it is needed.
Greg_Deckler
3 years agoCommunity Champion
Anonymous Sure, there is the ability to group rows in Power Query or you can use SUMMARIZE or GROUPBY in DAX.