Forum Discussion
Anonymous
6 years agoNot applicable
Minus previous cell value
hi all, i have this sale table.how do i write the forumla so that the value will show example for Day 1 - 20 sales was made and so on. I tried using earlier function but lost along the way. ...
- 6 years ago
Anonymous
why do you 149, not 49 in the last row?
try
Difference = var _nextVal = CALCULATE(MIN('Table'[Column A]);FILTER(ALL('Table');'Table'[Column A]>EARLIER('Table'[Column A]))) RETURN if(_nextVal>=[Column A];_nextVal-[Column A];blank())do not hesitate to give a kudo to useful posts and mark solutions as solution
Anonymous
6 years agoNot applicable
is it possible to use column A for calculation only...
Perhaps it something simple but i couldnt get it right...
- az386 years agoCommunity Champion
Anonymous
try
Difference = [Column A]-CALCULATE(MAX('Table'[Column A]);FILTER(ALL('Table');'Table'[Column A]<EARLIER('Table'[Column A])))do not hesitate to give a kudo to useful posts and mark solutions as solution
- Anonymous6 years agoNot applicable
- az386 years agoCommunity Champion
Anonymous
why do you 149, not 49 in the last row?
try
Difference = var _nextVal = CALCULATE(MIN('Table'[Column A]);FILTER(ALL('Table');'Table'[Column A]>EARLIER('Table'[Column A]))) RETURN if(_nextVal>=[Column A];_nextVal-[Column A];blank())do not hesitate to give a kudo to useful posts and mark solutions as solution