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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. 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
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!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

December 2024

A Year in Review - December 2024

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