Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
I would like to create a bar graph in Power BI that shows the monthly trend of a particular number on selected months, along with a straight line representing the average of all the sums of selected months. Could you please assist me with the formula for calculating the average measure field?
hello @_Moosa_
try below solution
create this measre for sum
MonthlySum = SUM('YourTable'[Number])
below measure for average
AverageMonthlySum =
AVERAGEX(
VALUES('YourDate'[Month]),
[MonthlySum]
)
https://analyticpulse.blogspot.com
Thanks for your reply but this dosent help i need a straight line foa average this solution calculates moving average on monthly basis.
Use AVERAGEX over ALLSELECTED.
Still not working
User | Count |
---|---|
86 | |
82 | |
68 | |
64 | |
55 |
User | Count |
---|---|
120 | |
99 | |
91 | |
83 | |
65 |