March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
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.
@Kethireddy334 , I think very similar approch is needed
or check files attached after signature
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
23 | |
16 | |
12 | |
9 | |
7 |
User | Count |
---|---|
38 | |
32 | |
28 | |
12 | |
11 |