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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
ksuero
Regular Visitor

Counting Open and Closed Tickets Before Each Ticket's Open Date

I have been watching videos and reading forum posts regarding this topic, but my implementation is not working with these running sum tutorials.

I have 3 data points: Status(Open/Close), Open Date, Updated Date

* If a ticket is of closed status and has an update, it is closed.

 

I really need to get the sum of open and closed tickets for the period of data I am importing. 

I need the total on each line. This will hopefully represent the number of tickets that are open at the creation of any given ticket. I am going to do a bar-line graph for my visualization.

 

Can anyone help me with this?

 

Thanks!

6 REPLIES 6
Anonymous
Not applicable

Hi ,

I am looking for a similar solution to this. i need to calculate the open and closed tickets and response taken by each user from open to close based on open date and closed date . 

Unique id , status , opendate,closed date,employee.

@ksuero @v-yulgu-msft @Tim @TimHP 

 
v-yulgu-msft
Employee
Employee

Hi @ksuero ,

 

Please provide some dummy data in source table, and illustrate your desired result with examples.

How to Get Your Question Answered Quickly

 

Best regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @v-yulgu-msft here is a sample data set and an ideal graph.

Tickets, uniquely identified by IDs, should be represented as a memeber in their severity graph if they are of status open. If they are closed, the should be counted in the sum for each month up until their close date.

ID Open Date Update Date Status Severity

11-1-2019 opensev 1
21-1-20193-2-2019closedsev 2

Thank you for offering your help and do let me know if you need anything else to help me.

 

Thanks again, @v-yulgu-msft!

@v-yulgu-msft Do you have any idea of how to accomplish this? 

ksuero
Regular Visitor

sum open = CALCULATE(
SUM(tickets[open bool]),
ALL(tickets), tickets[open date] <= EARLIER(tickets[openDate])

Here is what I am currently using. Open Bool is 1 if the ticket is open.

Right now, my sum is correct for each ticket. If I look at the most recent ticket, the previous logic correctly inserts the count of all open tickets. My problem is that the graph seems to depict a sum of each sum in each ticket for each month. I was each value to be represented rather than a sum of the values.

 

I believe that this is showing the sum of the count at each ticket. I just want to show the sum at every ticket in the time period or the highest number in that group of tickets as that will give a more accurate reflection of ticket activity this month.

Screen Shot 2019-06-07 at 09.51.09.png

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.