Forum Discussion
IamTDR
7 years agoResponsive Resident
Help With a Sumx Measure
Morning I am working with a single table that has 'enrollment' numbers that I would like to sum up. The trick is, each each territory/program has a distinct enrollment number. I cannot simply sum ...
- 7 years ago
Hi IamTDR ,
Take a try of this :
Measure = SUMX(GROUPBY('BI BookInUse',[Program],[Territory],''BI BookInUse''[Enrollment]),[Enrollment])Best regards,
Dina Ye
parry2k
7 years agoSuper User
IamTDR try following
Sum Enrollment = SUMX( SUMMARIZECOLUMNS( Table[Territory], Table[ProgCode]), CALCULATE( SUM( Table[Enrollment] ) ) )
IamTDR
7 years agoResponsive Resident
Thanks for the suggestions but so far I am not receiving the desired results. I inserted an image of what my visual currently looks like. The Total Enrollment number should total to 12,144 and not 60,720. My Total Enrollment number is based on Territory and Program.
Measure currently being used.
- v-diye-msft7 years agoCommunity Support
Hi IamTDR ,
Take a try of this :
Measure = SUMX(GROUPBY('BI BookInUse',[Program],[Territory],''BI BookInUse''[Enrollment]),[Enrollment])Best regards,
Dina Ye
- IamTDR7 years agoResponsive Resident
Thanks! Appreicate the aid
TDR