Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
DiKi-I
Post Partisan
Post Partisan

backlog of tickets

How I can calculate the backlog of tickets. Whenever a new tickets comes its should be added in the open tickets. Bascially I want the cumulative of open tickets and closed tickets should be subtracted. I have creation date with active relationship with date and closed date withb inactive relation with date.

Dims_0-1698878369101.png

 

9 REPLIES 9
DiKi-I
Post Partisan
Post Partisan

Your backlog is off by one.

 

lbendlin_0-1698888617946.png

 

You cannot have daily backlog as your source data only has monthly granularity.

How would the yearly backlog look like?  At the end of the year?

 

lbendlin_1-1698888803758.png

 

Thanks for your input on this with the measure which I was using was causing one off. I have a date dimension and I changed your measure as below but visual is not loading.

Backlog Measure =
var d = max('Calendar'[Year Month Name])
var t = filter(all(Incidents),RELATED('Calendar'[Year Month Name])<=d)
return sumx(t,[Total Incidents])-sumx(t,[Incidents Resolved])


---Measure which I was using previously but its one off not sure why --: I have active relationship with date based on creation date and inactive relation based on resolve date.

Backlog =
var em = ENDOFMONTH(calendar[Date])
var f = filter(all(Incidents),Incidents[created_date]<=em)
var g = filter(all(Incidents),coalesce(Incidents[resolved_date],em+1)<=em)
return countrows(f)-countrows(g)



Can you help mewith what I am doing wrong?

Dims_0-1698921086487.png

 

Please provide sample data (with sensitive information removed) that covers your issue or question completely, in a usable format (not as a screenshot). Leave out anything not related to the issue.
If you are unsure how to do that please refer to https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...
Please show the expected outcome based on the sample data you provided.

If you want to get answers faster please refer to https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...

Can you help with this why its one off.

 

Ashish_Mathur
Super User
Super User

Hi,

Share data in a format that can be pasted in an MS Excel file and show the expected result.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Hi ,

I have uploaded the data:

https://docs.google.com/spreadsheets/d/1He3b7-NzyrsX5UrXtFzpnggDLDSxOISO/edit?usp=sharing&ouid=10852...


I want cumulative to work at daily,monthly or yearly grain

Your data the file has absolutely no semblence to the description in the original post.  In the original post, you mentioned that there are 2 date columns whereas in the file you just have one.  Ensure that the description and data you share are coherent.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors