Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hello,
I am calculating the trailing average of a value, [30 day trailing average] and this is working fine and I can choose the offset etc by using the Window function (our data can arrive upto a week late, so I have in effect to ignore the last week.
What I then need to do is to determine the average of the [30 day trailing average] measure, again, ignoring the last two weeks and looking back over 30 days (so effectively days -14 to -43 from today. I need to return a single scalar value for this. The image below is a screenshot of the data when dumped into Excel.
I cannot post a copy of the data as the dates do not come through properly 😞 . I have a date table of course just called Date.
Thanks in advance, Ben.
Hi @benhoward00 check link https://www.sqlbi.com/articles/rolling-12-months-average-in-dax/ I hope this helps you.
Proud to be a Super User!
User | Count |
---|---|
16 | |
15 | |
14 | |
12 | |
11 |
User | Count |
---|---|
19 | |
15 | |
14 | |
11 | |
9 |