Forum Discussion
Anonymous
5 years agoNot applicable
Calculate average considering all columns except one
Hi Team, I have a Table matrix with 5 columns added in it and "State" is one of the column. I want to get the average sales at the national level, i.e, that measure should ignore filter fro...
- 5 years ago
Hi Anonymous ,
Try to use allexcept and add 'country' and 'Speciality' to the filter condition.
Measure = CALCULATE(AVERAGE('Table'[sale]),ALLEXCEPT('Table','Table'[Speciality],'Table'[country]))Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
V-lianl-msft
5 years agoCommunity Support
Hi Anonymous ,
Try to use allexcept and add 'country' and 'Speciality' to the filter condition.
Measure = CALCULATE(AVERAGE('Table'[sale]),ALLEXCEPT('Table','Table'[Speciality],'Table'[country]))
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.