Forum Discussion
mschultens
8 years agoNew Member
Calculate Average per category
Hello everyone, I spent a lot of time already looking at similar problems to the one I have, but nothing really worked for me. Assume I have a table with a category and some values. How can I c...
- 8 years ago
Hi mschultens,
Did you use the original expression in the calculated column? It works for me. Please refer:
Or you can try measure:
AverageMeasure = CALCULATE ( AVERAGE ( Table3[Value] ), FILTER ( ALLSELECTED ( Table3 ), Table3[Category] = MAX ( Table3[Category] ) ) )Thanks,
Xi Jin.
v-xjiin-msft
8 years agoSolution Sage
Hi mschultens,
Did you use the original expression in the calculated column? It works for me. Please refer:
Or you can try measure:
AverageMeasure =
CALCULATE (
AVERAGE ( Table3[Value] ),
FILTER ( ALLSELECTED ( Table3 ), Table3[Category] = MAX ( Table3[Category] ) )
)Thanks,
Xi Jin.
jochendecraene
4 years agoHelper V
Hi
I'd like to use this solution, but I also have a subcategory and year that I have to take into account.
I tried using extra filters for subcategory and year, but keep getting errors.
Can someone help me?
This is what my table looks like
- sabinozen3 years agoFrequent Visitor
I'm also intrested in this. Did you solved it?