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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
mussaenda
Super User
Super User

Cumulative Total With Multiple Entries per Date

I have tried to use solutions from different threads but nothing solved my issue.

We need to show the cumulative total of the Sales - Purchases.

I have tried something like this

Cumulative Total = CALCULATE(
SUM('Table'[SALES-PURCHASES]),
FILTER(ALL('Date Table'),
'Date Table'[Date]<=MAX('Date Table'[Date])

but I am getting an error. I assumed it is because I have multiple entries per date.

The concept is like a bank statement or a cashflow.

I tried to use an index but I got this error.

2019_08_19_10_08_24_CashFlow_v1_Power_BI_Desktop.png

 

I am attaching a dummy pbix here

 

for the dummy file, adding index is working fine. Dummy file consists of only 7 days. But when I used it in my original report, which has everything from 01/01/2019 up to today,

it is showing error.

 

Thank you

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

@mussaenda ,

 

Please check if power bi has been updated to the latest version. And based on your description, this issue will should be related to the database settings. Please contack the database DBA and confirm if there's some issue in database.

 

Similar threads below for your reference:

https://community.powerbi.com/t5/Desktop/Locking-conflict-error-message-when-trying-to-import-data-f...

https://community.powerbi.com/t5/Desktop/Locking-conflict-error-while-connecting-Oracle-database/td-...

 

Community Support Team _ Jimmy Tao

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-yuta-msft
Community Support
Community Support

@mussaenda ,

 

Please check if power bi has been updated to the latest version. And based on your description, this issue will should be related to the database settings. Please contack the database DBA and confirm if there's some issue in database.

 

Similar threads below for your reference:

https://community.powerbi.com/t5/Desktop/Locking-conflict-error-message-when-trying-to-import-data-f...

https://community.powerbi.com/t5/Desktop/Locking-conflict-error-while-connecting-Oracle-database/td-...

 

Community Support Team _ Jimmy Tao

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Helpful resources

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

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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