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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
bussbuss
Frequent Visitor

New to PowerBI....Need Dax Help to create a rolling sum

Hi Guys,

I am pretty new to power Bi and I need some help with this issue i am encountering. So i have a table with a start date and an end date for when cases where opened or close. I need to show in my report for any start date, how many cases are still open (ie end date > start date or end date =blank) and then get a rolling sum of cases still open.

 

so far this is the approach that i have taken

i created a new column assigning a 1 to end date >start date else 0 (open cases 1

i created another colum assigning a 1 to end date =blank else 0 (open cases 2)

i created a column assigning a 1 to enddate <> blank (closed cases)

i created a column suming open cases 1+open cases 2 (total open cases)

 

what i need is the Total still Open Column

Date - Total Open Cases - Closed Cases - Total still Open

Jan 1 -  1                             0                            1

Jan 2 -   5                             3                            3 (5-3+1)

Jan 3 -   10                            12                         1 (10-12+3)

 

Any help will be greatly appreciated. Thank you so much

 

1 ACCEPTED SOLUTION
v-chuncz-msft
Community Support
Community Support

@bussbuss,

 

You may take a look at the post below.

https://community.powerbi.com/t5/Desktop/calculate-open-tickets-by-date/m-p/207644#M91517

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-chuncz-msft
Community Support
Community Support

@bussbuss,

 

You may take a look at the post below.

https://community.powerbi.com/t5/Desktop/calculate-open-tickets-by-date/m-p/207644#M91517

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.