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
Hi, I need help in this really bad.
I am trying to obtain Current MTD Average & Previous MTD Average of selected dates through a filter.
I have used the Following measure for the current MTD average:
Hi @Anonymous
please try
Avg_DAILYBASE_LM =
AVERAGEX (
VALUES ( 'DB'[DATA_DATE] ),
CALCULATE (
AVERAGE ( 'DB'[DAILY_ACTIVE] ),
DATEADD ( 'DB'[DATA_DATE], -1, MONTH )
)
)
@Mahesh0016 Hi thankyou for your reply, but unfortunately the issue still presists. after doing the recommended change the averages in days values have further become incorrect.
Plus the total average of the selected date range is of CM.
@Anonymous Please Try this
@Anonymous I hope this helps you!!THANK YOU!!
Avg_DAILYBASE_LM =
var MX_Month = MAX('DB'[DATA_DATE])-1
RETURN
@Anonymous I hope this helps you!!THANK YOU!!
var MX_Month = MAX('DB'[DATA_DATE])-1
@Anonymous Please share your ENDOUTPUT in table for better understanding.
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 |
---|---|
26 | |
20 | |
19 | |
14 | |
13 |
User | Count |
---|---|
44 | |
36 | |
24 | |
24 | |
22 |