Forum Discussion
Acumulate Formula with conditions
Please provide sanitized sample data that fully covers your issue.
https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216
Please show the expected outcome based on the sample data you provided.
https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523
I can not paste the pbix , any idea why ?
- lbendlin3 years agoSuper User
Only Super Users can attach files. Your sample data is ok, will check it later.
- v-jingzhang3 years agoCommunity Support
Hi lbendlin
If you have time, can you help follow this thread? Thank you in advance.
Best Regards,
Community Support Team _ Jing
- lbendlin3 years agoSuper User
Here is some sample DAX code:
Initial Balance =
var d= min([Date])
return calculate(sum([Amount]),[Date]<d)Final Balance =
var d= max([Date])
return calculate(sum([Amount]),[Date]<=d)