Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
Hello,
I want to create a new measure so that I can put in a 3 yr rolling/moving average count on a chart that I have plotted as count of unique ID vs Sale Yr. (see chart). For example there would be a dot for 3.6 on 2021 that is the average of [3 (2019)+5(2020)+3(2021)]/3 = 3.6
Note that the "Sale Yr" is of whole number Data type. Here is the chart and table.
Thanks
Solved! Go to Solution.
I figured it out: It should be:
To create a measure for a 3-year rolling average count, you can use the following DAX formula:
This measure calculates the average count of unique IDs for the selected year and the two previous years.
Thanks for such quick reply. I get the following error:
thanks
I figured it out: It should be: