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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
dommyw277
Helper III
Helper III

Totals of Date Fields added together

Hi, how do i count how many open tickets i have by month if i have a created and closed columns but want to know the total by month so need to add both created and closed together?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @dommyw277 ,

You can refer the following links to get it:

Power BI: Tickets tracking full dashboard 

Tickets created = 
CALCULATE(COUNT('ticketsData'[ticketID]),
'ticketsData'[status]="created")

Tickets closed = 
CALCULATE(COUNT('ticketsData'[ticketID]),
'ticketsData'[status]="closed")

powerbi - Power BI, DAX - Count number of closed cases by day, when "open date" is establishing the ...

Closed by Closing Date = 
CALCULATE(
    COUNT('Case'[Case Number]);
    'Case'[Status] = "Closed";
    USERELATIONSHIP('Case'[Date Closed]; 'Calendar'[Date])
)

If the above one can't help you get the expected result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with special examples and screenshots. Later I will check if there is any workaround to achieve your requirement. You can refer the following link to share the required info:

How to provide sample data in the Power BI Forum

 

And It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.

How to upload PBI in Community

Best Regards

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @dommyw277 ,

You can refer the following links to get it:

Power BI: Tickets tracking full dashboard 

Tickets created = 
CALCULATE(COUNT('ticketsData'[ticketID]),
'ticketsData'[status]="created")

Tickets closed = 
CALCULATE(COUNT('ticketsData'[ticketID]),
'ticketsData'[status]="closed")

powerbi - Power BI, DAX - Count number of closed cases by day, when "open date" is establishing the ...

Closed by Closing Date = 
CALCULATE(
    COUNT('Case'[Case Number]);
    'Case'[Status] = "Closed";
    USERELATIONSHIP('Case'[Date Closed]; 'Calendar'[Date])
)

If the above one can't help you get the expected result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with special examples and screenshots. Later I will check if there is any workaround to achieve your requirement. You can refer the following link to share the required info:

How to provide sample data in the Power BI Forum

 

And It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.

How to upload PBI in Community

Best Regards

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.