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
Ramendra
Helper IV
Helper IV

trend for count of active tickets till date for last 7 days

Can some-one please help me to know How to get below kind of ageing trend for open tickets.

 
Till dateCount of  tickets which are with active state  till date
01-05-202010
02-05-20209
03-05-202011
04-05-20208
05-05-20207
06-05-20202
07-05-20205
1 ACCEPTED SOLUTION

@Ramendra 

 

I am guessing that you want to count all ticket excluding state is closed.

 

count = COUNTX(FILTER(rawdata,rawdata[create]<=EARLIER(rawdata[create])&&rawdata[State]<>"closed"),rawdata[Ticket])

1.PNG

 

When you are creating a visual, you set count as average value.

 

2.PNG

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

5 REPLIES 5
amitchandak
Super User
Super User

@Ramendra , Try a new column like

new column
var _A = sumx(filter(Table,[ID] =earlier[ID] && [Type] ="A"),[Amount])
var _B = sumx(filter(Table,[ID] =earlier[ID] && [Type] ="B"),[Amount])
return
if(isblank(_A) , blank(), _A+_B)

@amitchandak  Please find attached screenshot. I hope you can help to get this result in power Bi. I wanted to attach excel but there is no option for this.

 

Capture.PNG

@Ramendra 

 

I am guessing that you want to count all ticket excluding state is closed.

 

count = COUNTX(FILTER(rawdata,rawdata[create]<=EARLIER(rawdata[create])&&rawdata[State]<>"closed"),rawdata[Ticket])

1.PNG

 

When you are creating a visual, you set count as average value.

 

2.PNG

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




ryan_mayu
Super User
Super User

@Ramendra 

Could you please share the screenshot of your sample data?

 

How to identify if the ticket is open?

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




@ryan,  Please find screenshot of sample data and expectations. I wanted to attach excel but I am not getting option.

Capture.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.