Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. 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 |
---|---|
14 | |
9 | |
7 | |
7 | |
6 |
User | Count |
---|---|
21 | |
11 | |
10 | |
10 | |
8 |