Forum Discussion
Sum based on three distinct
Hi!
I have a set of data that cannot be changed and it looks like vizualized below. I want to based on distinct value of the column "Project", the distinct value of the column "Department" and as well as a distinct value of the column "Calculation" to sum the values in column "Values".
I created this table by entering
Could somebody help me?
It does not really help.
I guess you will be needing the SUMMARIZECOLUMNS-function:
Avdelning = SUMMARIZECOLUMNS ( Economy[Project]; Economy[Department]; "Something"; SUM ( Economy[Whatever] ) )
4 Replies
- sturlawsResident Rockstar
Hi, Anonymous
I don't understand your desired outcome or your data. Could you please read this: How to Get Your Question Answered Quickly ,
and reformulate your question?
Cheers,
Sturla- AnonymousNot applicable
Hi!
Sorry, I realized it wasn't the best description.I want something like SUMIFS in excel. I want to sum the costs based on project, department and calculation.
Is this more clear?
- sturlawsResident Rockstar
It does not really help.
I guess you will be needing the SUMMARIZECOLUMNS-function:
Avdelning = SUMMARIZECOLUMNS ( Economy[Project]; Economy[Department]; "Something"; SUM ( Economy[Whatever] ) )