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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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