Forum Discussion
Anonymous
6 years agoNot applicable
Trying to Replicate a Total in a Measure
I am trying to create a measure that replicates the total value in this table: The total fluctuates as filters are applied and I would need the measure to do the same. Ultimately I will ...
- Anonymous6 years ago
I have solved this, thank you for the input. The two measures needed:
Top10 Program Total =
var A = SUMMARIZE('TE',[program],"Enrollment",SUM('TE'[student_flag]))var Top10 = TOPN(10,A,[Enrollment],DESC)
RETURN
SUMX(Top10,[Enrollment])
T10P % of TE = [T10P Total]/[Total Students Distinct]
Greg_Deckler
Community Champion
6 years agoAnonymous This looks like a measure totals problem. Very common. See my post about it here: https://community.powerbi.com/t5/DAX-Commands-and-Tips/Dealing-with-Measure-Totals/td-p/63376
Also, this Quick Measure, Measure Totals, The Final Word should get you what you need:
https://community.powerbi.com/t5/Quick-Measures-Gallery/Measure-Totals-The-Final-Word/m-p/547907