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.
Hello, everyone.
I was practing my skills with covid data from Brazil and i am stuck calculating the trend of the moving average of 10 days from new cases.
I have this table with the date, the new cases each day and the moving average of 10 days for the day.
What i would like to do is to select the moving average from lastdate and divide by only the moving average of 10 days ago.
I am able to select only the moving average of lastdate, but when i try to only select the moving average of 10 days ago it returns the last moving average.
Anyone have any ideas?
Solved! Go to Solution.
Hi @renmello ,
Please try the following.
I did it with a 3 days average and build 3 measures (average, average from 3 days ago and comparison)
Hope this helps.
Best regards
Mikelytics
Did I solve your request? Please mark my post as solution.
Appreciate your Kudos.
Hello, thanks for the reply!
It worked perfectly. Dateadd is what i was missing to select the moving average from 14 days ago. Thanks for the help 🙂
Hi @renmello ,
Please try the following.
I did it with a 3 days average and build 3 measures (average, average from 3 days ago and comparison)
Hope this helps.
Best regards
Mikelytics
Did I solve your request? Please mark my post as solution.
Appreciate your Kudos.
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 |
---|---|
113 | |
99 | |
80 | |
70 | |
59 |
User | Count |
---|---|
149 | |
114 | |
107 | |
89 | |
67 |