Forum Discussion
Anonymous
6 years agoNot applicable
Total for Avg Column does not AVG properly
HI, I am still learning BI and need your help on the below: First problem is the total for the avg column does not average properly (have tried, sumx and avgx) Second problem, is my ...
v-eachen-msft
6 years agoCommunity Support
Hi Anonymous ,
You could custom your total values like the following DAX with ISINSCOPE() function:
Measure =
IF (
ISINSCOPE ( 'Table'[KGS] ),
[Avg KGS per HBL],
AVERAGEX ( ALLSELECTED ( 'Table' ), [Avg KGS per HBL] )
)
- Anonymous6 years agoNot applicable
HI V-achen, I tried your formula and the total for the average column is still wrong