Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. 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.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
10 | |
10 | |
7 | |
6 | |
6 |
User | Count |
---|---|
17 | |
14 | |
11 | |
9 | |
7 |