Forum Discussion
wiktorius1984
6 years agoRegular Visitor
Add Sum all the previous elements to a date
Hello, I would like the sum of hours for a month with previous months. my table looks like this I would like to get something like this ...
- Anonymous6 years ago
_hours = CALCULATE(SUM('Table'[h]),ALLEXCEPT('Table','Table'[Month])) Comm_Hours = CALCULATE(SUM('Table'[h]),FILTER(ALL('Table'[Month]),'Table'[Month]<=MAX('Table'[Month])))
Anonymous
6 years agoNot applicable
_hours = CALCULATE(SUM('Table'[h]),ALLEXCEPT('Table','Table'[Month]))
Comm_Hours = CALCULATE(SUM('Table'[h]),FILTER(ALL('Table'[Month]),'Table'[Month]<=MAX('Table'[Month])))wiktorius1984
6 years agoRegular Visitor
Thank you very much, everything works beautifully