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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
swallia23
Frequent Visitor

Create a bar chart that shows total number of active tickets (Month to Month)

The Goal:  I need to be able to show a bar chart of what the total number of active tickets (month-to-month).

  • I figured out how to show the total number of 'opened' and 'closed' tickets for each month.
  • I figured out how to show the total number of 'open' tickets for the current month.
  • But, I can't figure out how to show what the total number of open tickets at the end of each month on a month-to-month bar chart.

In my DATES table, I have created a BOM (Beginning of month) and a EOM (End of month) measure (with some help).  The theory is that if I can calculate the difference with the number of opened tickets at the beginning and end of each month, this should give me the number I'm looking for.  But, I'm not experienced enough to figure this out.  Someone did give me the below query as a starting point, but I can't get it to work since I'm not understanding the syntax. 

 

EOM_open = COUNTROWS(FILTER(all(new_Tickets),MAX(Dates[EOM])>MAX(new_Tickets[Date Submitted]) && MAX(Dates[EOM])<MAX(new_Tickets[Date Closed])))

 

As you can see below, the total current number of 'open' (not opened) tickets is 301.  I have the total number of 'opened' and 'closed' tickets monthly. 

 

Any help would be more than appreciated.

swallia23_0-1716051086602.png

swallia23_1-1716051133001.png

Thanks again, Joe

 

3 REPLIES 3
Ashish_Mathur
Super User
Super User

Hi,

Share data in a format that can be pasted in an MS Excel file.  Show the expected result in a Table format very clearly.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Greg_Deckler
Community Champion
Community Champion

@swallia23 Sounds like Open Tickets: Open Tickets - Microsoft Fabric Community



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

@Greg_Deckler thanks, i'm checking your solution now.

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors