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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.