Forum Discussion
RohithGn
7 years agoHelper I
Aggregated Sum
Hi, I have a table siilar to below - Source Year county school Reponse Total surveys Hight School 2018 As asdf High Positive 20 Hight School 2018 As asdf Positive 20 ...
- 7 years ago
So, you will probably need a measure like:
Measure = SUMX(SUMMARIZE('Table',[Source],[Year],[county],[school],"__total",AVERAGE([Total surveys])),[__total]) - 7 years ago
Greg_Deckler
7 years agoCommunity Champion
So, you will probably need a measure like:
Measure =
SUMX(SUMMARIZE('Table',[Source],[Year],[county],[school],"__total",AVERAGE([Total surveys])),[__total])RohithGn
7 years agoHelper I
Thanks for the reply Greg.
Here is my expected output:
By default the sum should be 20+43+20+43=126
If i select Highschool in my Source slicer, the result should be 20+43 =63
If i select Highschool and the County as AS, the result should be 20
If i select County as AS, the result should be 20(High School)+20(Elementary) = 40
and so on...
- v-chuncz-msft7 years agoCommunity Support