Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
I'm trying to get a trending average for a graph I created, but I used a (month/year) for a x axis and I'm having a hard time figuring out how.
The X is a Month/Year and the Y is a simple SUM for that month.
I believe it's a measure, but not quite sure how to get a running average to show say a trend (as the sum gets lower the average should be lower too).
Thanks!
Hi @Anonymous ,
Could you tell me if your problem has been solved?
If it is, kindly Accept it as the solution. More people will benefit from it.
Or you are still confused about it, please provide me with more details about your table and your problem or share me with your pbix file from your Onedrive for Business.
Best Regards,
Stephen Tao
Hi @Anonymous ,
Please kindly refer to:
How to Add a Trend Line in Power BI Chart
Where’s the Trend Line in Power BI Desktop?
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi,
Share the link from where i can download your PBI file.
Hello @Anonymous
Maybe the trendlines which are already available in bar chart will help you.
There is one called 'Average Line'. Image below
Thanks for the built in function, I have trewnds which will work (I'll look deeper in that) but I was thinking it would look something similiar to this (As you can tell I'm not doing so great with getting the correct values) -
@Anonymous
Maybe the following 2 links will give you additional info regarding the moving average:
https://medium.com/analytics-vidhya/moving-average-using-dax-power-bi-413a31099091
https://www.sqlshack.com/calculate-moving-average-in-sql-power-bi-and-ms-excel/
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
87 | |
87 | |
84 | |
66 | |
49 |
User | Count |
---|---|
130 | |
110 | |
93 | |
70 | |
67 |