Quantcast
Channel: SCN : All Content - SAP Business Explorer (SAP BEx)
Viewing all articles
Browse latest Browse all 3763

Bex Query Calculation at totals based on detailed level

$
0
0

Hi Gurus,

 

I have two reports in one workbook in the same sheet. One report is at part level detailed and other report is at Plant total level.

In the Plant level total I have to write some formulas based on the each part level to total and divide with whole Plant total. Two Reports are from Same Info Cube. Below is the example with data.

 

Detailed report  : -

 

RegionPlant CodePlant NameCustomerProfit CenterCarlineProd, hier. level 3 CodeProd, hier. level 3Prod, hier. level 3aProd, hier. level 3b Concept Jul-14Aug-14Sep-14Oct-14
MXSW1200Colima (MACSA)CHRYSLERP105010JSY00000100000010020Instrument Panel MainInstrument Panel MainVolume per Month MAE GUM    6,887.67     6,588.20     6,588.20     7,486.59
MXSW1200Colima (MACSA)CHRYSLERP105010JSY00000100000010020Instrument Panel MainInstrument Panel MainVolume per Month ATO GUM 21,186.60   20,265.44   20,265.44   23,028.91
MXSW1200Colima (MACSA)CHRYSLERP105010JSY00000100000010020Instrument Panel MainInstrument Panel MainVolume per Month Total GUM 28,074.27   26,853.64   26,853.64   30,515.51
MXSW1200Colima (MACSA)CHRYSLERP105010JSY00000100000010020Instrument Panel MainInstrument Panel MainDirect Labor         84.45          80.64          80.64          92.07
MXSW1200Colima (MACSA)CHRYSLERP105010JSY00000100000010020Instrument Panel MainInstrument Panel MainVolume per Month MAE GUM    6,887.67     6,588.20     6,588.20     7,486.59
MXSW1200Colima (MACSA)CHRYSLERP105010JSY00000100000010020Instrument Panel MainInstrument Panel MainVolume per Month ATO GUM 21,186.60   20,265.44   20,265.44   23,028.91
MXSW1200Colima (MACSA)CHRYSLERP105010JSY00000100000010020Instrument Panel MainInstrument Panel MainVolume per Month Total GUM 28,074.27   26,853.64   26,853.64   30,515.51
MXSW1200Colima (MACSA)CHRYSLERP105010JSY00000100000010020Instrument Panel MainInstrument Panel MainDirect Labor         84.45          80.64          80.64          92.07
MXSW1200Colima (MACSA)CHRYSLERP105010JSY00000100000090020Floor Console FrontFloor Console FrontVolume per Month MAE GUM       219.35        209.81        209.81        238.42
MXSW1200Colima (MACSA)CHRYSLERP105010JSY00000100000090020Floor Console FrontFloor Console FrontVolume per Month ATO GUM 2,397.04     2,292.82     2,292.82     2,605.47
MXSW1200Colima (MACSA)CHRYSLERP105010JSY00000100000090020Floor Console FrontFloor Console FrontVolume per Month Total GUM 2,616.39     2,502.63     2,502.63     2,843.90
MXSW1200Colima (MACSA)CHRYSLERP105010JSY00000100000090020Floor Console FrontFloor Console FrontDirect Labor           2.41            2.29            2.29            2.65

 

Plant Totals  : -

 

 

RegionPlant Code Concept Jul-14Aug-14Sep-14Oct-14
MXSW1200Volume per Month MAE GUM    33,604.64 32,143.57 32,143.57 36,526.78
MXSW1200Volume per Month ATO GUM 149,001.58   142,523.25   142,523.25   161,958.23
MXSW1200Volume per Month Total GUM 182,606.22   174,666.82   174,666.82   198,485.02
MXSW1200Direct Labor        ???         ???        ???        ???

 

In the first table we have three parts ( grouped by color ).

For Direct Labor : I have to Calculate as shown below

 

(( Part Level Direct Labor * Part Level Total GUM ) + ( Part Level Direct Labor * Part Level Total GUM ) + ( Part Level Direct Labor * Part Level Total GUM ))  / Plant Total GUM 

 

Plant Total GUM ->  From Plant Totals

Part Level Direct Labor  -> From First Part Level Data

Part Level GUM Total   -> From First Part Level Data.

 

How can I calculate the formula from parts data in the Plant Total report

 

Please let me know if you have any questions.

 

Thanks

Ganesh Reddy.


Viewing all articles
Browse latest Browse all 3763

Latest Images

Trending Articles



Latest Images