Forum Discussion
alina_90
8 years agoFrequent Visitor
Summarize with conditions
Hi, what measure let me summarize the "Invoice" values which should be distinct by "Customer number", "Delivery address", "Localisation", "Year", "Month". Any ideas? Alina Customer n...
- 8 years ago
I show you two ways of obtain this:
1. In Query Editor:
2, In DAX
Go to Modeling - New Table
Table = SUMMARIZECOLUMNS ( Table2[Customer number]; Table2[Delivery address]; Table2[Localisation]; Table2[Year]; Table2[Month]; "SUMINVOICES"; SUM ( Table2[Invoice] ) )Let me know if works on your side
Regards
Victor
Lima - Peru
Vvelarde
8 years agoCommunity Champion
Hi, do you want a New table with unique rows based in that columns?
Or a Count of Rows based in that columns?
Regards
Victor
- Vvelarde8 years agoCommunity Champion
I show you two ways of obtain this:
1. In Query Editor:
2, In DAX
Go to Modeling - New Table
Table = SUMMARIZECOLUMNS ( Table2[Customer number]; Table2[Delivery address]; Table2[Localisation]; Table2[Year]; Table2[Month]; "SUMINVOICES"; SUM ( Table2[Invoice] ) )Let me know if works on your side
Regards
Victor
Lima - Peru