Forum Discussion
Olia
8 years agoAdvocate II
Multi-level rolling average
Hi everyone, I'm trying to calculate 6 months average amount per financial statement item (FSI), which is basically a multi-level thing (as you have a level Wages for example, and below that leve...
- 8 years ago
Probably to do with that all(sheet) at the end, see if allexcept(sheet, sheet[FSI]) does anything
Anonymous
8 years agoNot applicable
Olia You need to do ALLEXCEPT(FSI ITEM) to calculate rolling average. Also you could use variable to make it cleaner.
Rolling Avg 6m =
VAR Opt1 = 1st calc
VAR Opt2 = 2nd calc
RETURN IF(COUNTROWS(values('Sheet'[Month]))=1, Opt1, Opt2)