Forum Discussion
Anonymous
7 years agoNot applicable
Measure to Calculate sum for value in a Column
In the above look is my sample Excel file.
I want to create a measure that would calculate the number of Project hours:
Case: Category = Project
and sum 'Time As a Decimal'
How do you do this?
Perhaps something like this measure:
Measure = SUMX(FILTER(ALL('Table'),[Case: Category]="Project"),[Time As Decimal])
3 Replies
- Greg_Deckler
Community Champion
Perhaps something like this measure:
Measure = SUMX(FILTER(ALL('Table'),[Case: Category]="Project"),[Time As Decimal])- AnonymousNot applicable
THat's the correct Greg thank you.
What if I want to add support as well?
Measure = ( SUMX(FILTER(ALL('Table'),[Case: Category]="Project"),[Time As Decimal]) + SUMX(FILTER(ALL('Table'),[Case: Category]="Support"),[Time As Decimal]) )/40*14But I don't trust the number for this calculation.
- v-chuncz-msft
Community Support