Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

How to count cumulative active ticket ?

Hi,

I need to count the total active open ticket per month/Year, so suppose a ticket in open in Aug-2019 and closed at Oct 2019, then for Oct-2019 I need to count the ticket no of Aug-2019, Sep2019 and Oct-2019, so i need to count the opened ticket over time.

I can do the cumulative summation, but the problem is I need to count the Closed ticket also for each month/Year.
so I need to calculate the ticket which is still Opened after Closing some ticket and summarize it to the next month. 

How can i do that? Please help me.

Below is the sample data file:

https://drive.google.com/file/d/1cu-MhCMuPNJiW-p8Pn9a-AkWl-GBqYmL/view?usp=sharing

 

 

 

  • Anonymous see the attached solution, I hope that is what you are looking for.

     

    I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos whoever helped to solve your problem. It is a token of appreciation!

    ⚡Visit us at https://perytus.com, your one-stop shop for Power BI related projects/training/consultancy.⚡

     

     

2 Replies

  • Anonymous see the attached solution, I hope that is what you are looking for.

     

    I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos whoever helped to solve your problem. It is a token of appreciation!

    ⚡Visit us at https://perytus.com, your one-stop shop for Power BI related projects/training/consultancy.⚡

     

     

    • Anonymous's avatar
      Anonymous
      Not applicable

      Hi Sir,

      You always helped me to achieve my goal , thaks for shaing the pbix file . All

      I wrong was I have used SUMX function in the calculate function:

      CALCULATE ( sumx([Outstanding Tickets]), FILTER ( ALL ( 'Date'[Date] ), 'Date'[Date] <= MAX ( 'Date'[Date] ) ), 'Date'[Date] <= __lastDate )
      but I was wrong!!
       
      Thanks again for helping me.