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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hi all,
I want to Caluclate Backlog Tickets based on condition. Backlog Tickets = Created before lastdate of month and Resolved after last date of month or Resolved is blank.
Thanks in Advance
Solved! Go to Solution.
Hi @Kethireddy334 ,
Here I create a sample to have a test.
Date table:
Date = ADDCOLUMNS( CALENDARAUTO(),"Year",YEAR([Date]),"Month",MONTH([Date]))
Measure:
Backlog Tickets =
VAR _lastdate_of_month = MAX('Date'[Date])
RETURN
CALCULATE(COUNT('Table'[Tickets]),FILTER('Table',[Created Date]<=_lastdate_of_month&&'Table'[Resolved Date] >_lastdate_of_month))
Result is as below.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Kethireddy334 ,
Here I create a sample to have a test.
Date table:
Date = ADDCOLUMNS( CALENDARAUTO(),"Year",YEAR([Date]),"Month",MONTH([Date]))
Measure:
Backlog Tickets =
VAR _lastdate_of_month = MAX('Date'[Date])
RETURN
CALCULATE(COUNT('Table'[Tickets]),FILTER('Table',[Created Date]<=_lastdate_of_month&&'Table'[Resolved Date] >_lastdate_of_month))
Result is as below.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
User | Count |
---|---|
10 | |
9 | |
7 | |
4 | |
4 |