The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi, I would like to ask for help to modify my calc. I would like to get the MTD based on selected Year filter. My measure doesn't work when I selected the previous Year but it's working fine for this Financial year.
Ex. If today is October 18, 2022 then I would get last year October 18, 2021 and also for other year. I have two tables first one is Estimate Summaries - it has values and Date. I also have
Date table - i used the filter from this table
Thank you for your reply, but that calc won't work on my end when I selected the previous year it returns blank values. It's working fine if it's current year
Hi, @kristel_tulio
If you have a calendar table, please try formula like:
MTD =
CALCULATE(
sum('EstimateSummaries'[Values]),
DATESMTD( CalendarTable[Date] )
)
Best Regards,
Community Support Team _ Eason
User | Count |
---|---|
11 | |
8 | |
6 | |
6 | |
5 |
User | Count |
---|---|
24 | |
14 | |
13 | |
9 | |
8 |