Quantcast
Channel: SCN : Discussion List - SAP BusinessObjects Web Intelligence
Viewing all articles
Browse latest Browse all 5402

Calculation in Webi Report

$
0
0

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
RegionOrder ValueAdjusted Value in %
APAC86790.8424.34
EMEA119436.8633.5
AMER150280.6442.15
Total356508.34100

 

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.2015Calmonth -> 04.2015
RegionOrder ValueAdjusted Value in %Order ValueAdjusted Value in %
APAC86790.8417.1161135.412.05
EMEA119436.8623.5566419.3413.1
AMER150280.6429.6323080.14.55
Total356508.3470.3150634.8429.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 ..


Viewing all articles
Browse latest Browse all 5402

Trending Articles