Forum Discussion
nanacobsbs
Helper I
1 year agoAverage Dax
The matrix is shown in Fig and Dax Dommand is bellow. Average = AVERAGE('Test'[Nov]) I would like to display the averaged results on each row, what DAX should I use? I want the total ro...
Ray_Minds
Solution Supplier
7 months agonanacobsbs Please find the solution :
Average Unit Price =
Average :=
IF (
HASONEVALUE ( 'Test'[Date] ),
AVERAGE ( 'Test'[Nov] ),
CALCULATE (
AVERAGE ( 'Test'[Nov] ),
'Test'[Date] = MAX ( 'Test'[Date] )
)
)