Forum Discussion
SUMESHKUMAR22
3 years agoHelper IV
Calculate average based on same category
Hi Everyone, Good day! As per the below snapshot I want to create a new measure where the marked percentage numbers should get averaged beacuse it lies under the same category of column A but colum...
- 3 years ago
Anonymous
3 years agoNot applicable
hello SUMESHKUMAR22 ,
please try:
margin average = CALCULATE(AVERAGE(powerbi[Margin]),ALLEXCEPT(powerbi,powerbi[a]))
- SUMESHKUMAR223 years agoHelper IV
Hi Anonymous ,
This is coming up fine at category level. But in the total average instead of 49.56% it should come up 48.70%. That is dividng the average by distinct table[a] values.
Thanks you!