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.
Hi
I've grouped my dates and created a separate table to show the values I need per day however, my rolling average is in the original format my dates were in prior to grouping so I am not getting the value I need. Tis is my table below and the values popping up in my rolling average column
This is the formua I used in DAX:
Actually I can't understand what is your target outcome.
Could you please provide the expected result and its logic.
It would be helpful to find out the solution. You can refer the following links to share the required info:
How to provide sample data in the Power BI Forum
How to Get Your Question Answered Quickly
Best Regards
Zhengdong Xu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
It's not the Date that you want in the sum. It will be a numeric field required.
There's other problems too (I don't think this is a rolling average and you should use a dates table if you are using DATESINPERIOD)
Try this to help :
https://www.sqlbi.com/articles/rolling-12-months-average-in-dax/
User | Count |
---|---|
17 | |
14 | |
13 | |
13 | |
13 |
User | Count |
---|---|
19 | |
14 | |
14 | |
10 | |
9 |