Forum Discussion
Anonymous
5 years agoNot applicable
Cumulative stacked bar chart (date/amount)
Hi everyone I try to cumulate amounts over different years (taking into account the steps, see example below) with stacked histograms. Stacking works well for years, but when I want to view it...
amitchandak
Super User
5 years agoAnonymous , Try a measure like
calculate(sum(Table[amount]), filter(Allselected(Table), Table[Date] = max(Table[DAte]) && Table[account] = max(Table[account])))
or
calculate(sum(Table[amount]), filter(Allselected(Table), Table[year] = max(Table[year]) && Table[account] = max(Table[account])))
- Anonymous5 years agoNot applicable
Hi Amitchandak,
Thanks for your answer.
How can I use your formula in power bi? because there are several '='thanks in advance