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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
nmunari
New Member

Backlog Trending

Hello,

 

I am looking for guidance on how to solve the following problem: I would like to create a chart showing for each months the number of tickets that were still in opened status when the month ended.

 

 

 

 

The data that I have in my table are as follow:

  • Ticket number
  • Date of Ticket creation
  • Date of Ticket closure (empty if still open)

 

Any suggestions?

 

Thank you in advance,

 

Nicolas

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @nmunari,

 

You can refer to below formula which used to calculate the still opened tickets until month end.

 

TotalPerMonth= COUNTX(FILTER(ALL(TicketTable1),[TicketNumber]=MAX([TicketNumber])&&[CloseDate]=BLANK()&&[OpenDate].[MonthNo]=MAX('Table'[Date].[MonthNo])),[TicketNumber]

 

 

Capture.PNG

 

Notice: Table is the date table.

 

Regards,

Xiaoxin Sheng

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @nmunari,

 

You can refer to below formula which used to calculate the still opened tickets until month end.

 

TotalPerMonth= COUNTX(FILTER(ALL(TicketTable1),[TicketNumber]=MAX([TicketNumber])&&[CloseDate]=BLANK()&&[OpenDate].[MonthNo]=MAX('Table'[Date].[MonthNo])),[TicketNumber]

 

 

Capture.PNG

 

Notice: Table is the date table.

 

Regards,

Xiaoxin Sheng

Hi @Anonymous

 

I am experiencing the same problem and stumbled across this post.

 

I also have

  • a "Date" Table with a variable called Date
  • a "Call Details" Table with variables Call Number, Log Date , and Resolved Time

I would like to see the amount of all open tickets on any given day 

 

In my model, there's currently an active relationship between 'Date'[Date] and 'Call Details'[Log Date], and an inactive relationship between 'Date'[Date] and 'Call Details'[Resolved Time]

 

Also, my Call Number has a Data Type "whole number", is that ok?

 

How might the formula you provided change based on above? (I tried the formula myself substituting in my variables/tables but the result just gave me blanks)

 

Thanks for your help

Wes

 

 

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.