on 01-19-2018 8:21 AM
I have these cells on my report :
For example, the formula for period = First
period and Month = M1
is :
=[Value] Where ([period] = 'First' and [Month] = 'M1')
Now for the Sum
row, how do I make if be sum of the above 3 periods, like in excel I can easily do it with the Sum formula, ex : =SUM(C18:C20)
I know I can achieve the sum by this formula :
=[Value] Where ([Month] = 'M1')
But the report's calculation is different for each period, the sample I provided just for easy understanding.
Or by combining all the formula into 1 :
=[Value] Where ([period] = 'First' and [Month] = 'M1') + [Value] Where ([period] = 'Second' and [Month] = 'M') + [Value] Where ([period] = 'Third' and [Month] = 'M1')
But this approach is very easy to make mistakes and it takes alot of time too.
I did google and was told to use the group function after ctrl+select the cells, but I can't not find that option thought I'm using BI 4.1
Thanks for any help.
FYI: Starting in 4.2 SP3 the ability to reference cells in WebI like you can in excel was added. That should do what you are looking for once you are able to upgrade.
https://archive.sap.com/documents/docs/DOC-74364
Check under the References section.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You have to start using variables instead of directly using formula.
e.g.
Var1=[Value]Where([period]='First'and[Month]='M1')
Var2=[Value] Where ([period] = 'Second' and [Month] = 'M')
Var3=[Value] Where ([period] = 'Third' and [Month] = 'M1')
Your sum formula will be simple like =sum([Var1]+[Var2]+[Var3])
Group function you can find under the analysis tab.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.