I need to calculate cumulative backlog in card for the data filtered by various categories and date


This is the data for my chart. I have to show ticket created count ,ticket closed count and cumulative backlog count datewise . The dynamic filters are severity, domain, sub domain and date. The chart has to be look like below. The below chart is taken from excel report. I have to achieve this in domo. please provide ideas .


  • jaeW_at_Onyx

    cumulative backlog is just a window function

    sum(sum(1)) over (order by date)

    the trick is to know if on a date the ticket is still open

    case when date<= closeDate then 1 else 0 end.

    course this only works assuming you have a ticket on every single day or you might end up with gaps in your data.


    good luck!

    Jae Wilson
    Check out my 🎥 Domo Training YouTube Channel 👨‍💻

    **Say "Thanks" by clicking the ❤️ in the post that helped you.
    **Please mark the post that solves your problem by clicking on "Accept as Solution"