Hi Experts ,
I want to show the result calculation of a Webi Report (derived from Bex query which uses %YT in CKF) . Since BO doesn't support %YT so I am creating the dynamic calculation in Webi :
Scenario :
Data in Report is like this : If in selection 03.2015 calmonth is given -
Calmonth -> 03.2015 | ||
Region | Order Value | Adjusted Value in % |
APAC | 86790.84 | 24.34 |
EMEA | 119436.86 | 33.5 |
AMER | 150280.64 | 42.15 |
Total | 356508.34 | 100 |
Here Adjusted Value in % is the percentage with compared to the total . for example for the first row its is 86790.84/356508.34 . So the Sum of this is coming as 100 which is correct .
Formula used is = [Order Value]/SUM(Order Value]) In Report
Both are giving the desired output .
But when the selection is given as 03.2015 – 04.2015 , that time the percentage is calculated based on the total value of [Order Value] for these two months.
For example in 03.2015 , for the first row it is getting calculated as
86790.84/(356508.34+150634.84) which is equal to 17.11 as displayed in the report (Which I don't want)
Calmonth -> 03.2015 | Calmonth -> 04.2015 | |||
Region | Order Value | Adjusted Value in % | Order Value | Adjusted Value in % |
APAC | 86790.84 | 17.11 | 61135.4 | 12.05 |
EMEA | 119436.86 | 23.55 | 66419.34 | 13.1 |
AMER | 150280.64 | 29.63 | 23080.1 | 4.55 |
Total | 356508.34 | 70.3 | 150634.84 | 29.7 |
For 03.2015 , I want it to be calculated as 86790.84/356508.34 and for 04.2015 it should be 61135.4/150634.84 .
So that in every month (Based on the user Input) , the Adjusted Value in % should be 100% .
How to achieve it .
Thanks in Advance ...
Points will definitely be Awarded ..