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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.

Top Solution Authors