Forum Discussion
Aahil10
5 years agoFrequent Visitor
Filter MTD Query with custom date range
Hello! I have used the TOTALMTD and DATESMTD function in my measures but now need to figure out how to filter it to a custom date range for each month. The month's we use dont exactly follow the Cal...
Anonymous
5 years agoNot applicable
Hi Aahil10,
Time intelligence functions not suitable for custom date ranges or field calculations, they are based on the auto-generated hidden calendar.
Auto date/time in Power BI Desktop - Power BI | Microsoft Docs
In my opinion, I'd like to suggest you use the date function manually to filter the custom date range and add the custom field as filter conditions.
If you are confused about the coding formula, please share some dummy data to test.
How to Get Your Question Answered Quickly
Regards,
Xiaoxin Sheng