and what i want now is to have another column showing the average value of the above moving average column in each row the same value in order to create a straight line on my chart.
Also from this i can create a card displaying the average value.
Hi @Krays23 - Please check if below expression is helpful. It will provide Average of the Moving Average measure. Let us know if requirement is different.
Avg of Moving Average =
IF (
ISBLANK ( [Total Sales] ),
BLANK (),
AVERAGEX (
SUMMARIZE ( ALLSELECTED ( dates ), Dates[Date], "Mov", [Moving Average] ),
[Mov]
)
)
Hi @Krays23, did the response provided by @Ankit help you solve your query? If not, how far did you get and what kind of help you need further? If yes, kindly mark the thread as solved. Thanks!