Hi All,
I am using the below code
to get last 3 days moving average. The problem it is taking the running average as per the data table, but i need the average to be as per the pivot table selection.
Would really appreciate your help.
Thanks
Nazim
<tbody>
</tbody>
I am using the below code
Code:
=CALCULATE ( average(Test1[Amount]) ,
DATESBETWEEN (
DimCalendar[Date],
LASTDATE ( DimCalendar[Date] ) - 2,
LASTDATE ( DimCalendar[Date] )
)
)
Would really appreciate your help.
Thanks
Nazim
<tbody>
</tbody>