Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I am trying to create a quick measure on a count column where it calculates a 7 day running average for said count. I fill out all of the fields in the quick measure interface and when I select OK nothing happens.
I am able to create other quick measures just not this running average.
Below is a screenshot of the completed interface;
Am I doing something wrong?
Solved! Go to Solution.
Hi @pwalker2022 ,
Please create a Calendar table and the relationship.
Then create the measure.
Rolling AVG =
CALCULATE (
AVERAGE ( 'Table'[Count] ),
DATESINPERIOD ( 'Calendar'[Date], MAX ( 'Table'[Date] ), -7, DAY )
)
If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @pwalker2022 ,
Please create a Calendar table and the relationship.
Then create the measure.
Rolling AVG =
CALCULATE (
AVERAGE ( 'Table'[Count] ),
DATESINPERIOD ( 'Calendar'[Date], MAX ( 'Table'[Date] ), -7, DAY )
)
If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Please provide sanitized sample data that fully covers your issue.
Hello,
My apologies - below is a screenshot of sanitized data as well as another screenshot of how the data appears in a CSV;
Sorry for not being clear enough. Please provide sanitized sample data that fully covers your issue. I cannot help you without usable sample data.
Please paste the data into a table in your post or use one of the file services like OneDrive or Google Drive. I cannot use screenshots of your source data.
Please show the expected outcome based on the sample data you provided. Screenshots of the expected outcome are ok.
https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
110 | |
100 | |
80 | |
64 | |
58 |
User | Count |
---|---|
148 | |
111 | |
94 | |
84 | |
67 |