Forum Discussion
Anonymous
6 years agoNot applicable
Replicate excel formula - recursive substraction
Hi there. I am trying to replicate excel formula in power BI DAX. I have date column(A) with date, progress column(B) with integer, left column(C) with integer. This meant to be project progress moni...
- 6 years agoYou can do this by calculating a running total or cumulative sum. Then just do 100000- running total.
So for your example:
Remaining instances = 100000- SUMX(FILTER(ALL(Table), Table[Date] >= EARLIER(Table[Date]) ), Table[left])
amitchandak
Super User
6 years agoAnonymous , Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.