Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Below will be the link to the sample file.
In general I have this :
Per period (autocalendar linked to create date) I am looking for the Open Complaint. For this example June 23.
A complaint is open in June 23 when :
1) ClosedDate > dimDate (Period 06-2023)
2) CreateDate <= dimDate (Period 06-2023)
As you see at the left my measure gives me 36.
But to the right you see the details and there are 39.
The 3 missing are the ones that were created before June 2023 and where closed after June 2023.
My Measure :
Also if somebody knows the TOTALYTD formula will not work for this please let me know.
No use for me to try and make it work if it can't.
If you think you can do it with another Calculate formula don't hesitate to make the suggestion 🙂
Ok apprantly harder than I thought.
But I made some progress. As I realized I had to see the open complaints as a YTD calculation.
So I used this formula :
38....almost....
Only 1 (litteraly) that I am missing now is the one that was created in 2022.
But how to change this formula so the 2022 complaint will also be counted.
"'Case'[ClosedDate] > MAX(dimDate[Date]" is the filter and seems I cannot put in another filter for something like ALL.
Hope you all can access the sample file.
If not please somebody let me know.