0

# In Block % giving wrong results

Apr 20 at 06:34 AM

29

827.pngSample output of Webi document in which there are 2 cross tabs
First tab shows the data in actuals for the Job Demands of no of employees in org

Job Demands (%) No of Employees No of Employees No of Employees No of Employees No of Employees In Total
3 8(C1)
9 9(C2)
14 36(C3) 19(C4)
15 6(C5) 22(C6) 17(C7) 13(C8)
19 12(C9) 10(C10) 7(C11)
In Total(<6) 8 18 110 68 30 248

248 fig is arrived by 8+18+110+68+30
Next cross tab shows its percentage values calculated which is as below

Job Demands (%) No of Employees No of Employees No of Employees No of Employees No of Employees In Total
3 5%(C1)
9 5%(C2)
14 22%(C3) 12%(C4)
15 4%(C5) 13%(C6) 10%(C7) 8%(C8)
19 7%(C9) 6%(C10) 4%(C11)
In Total(<6) 3% 7% 44% 27% 12% 100%

My requirement is to show the Correct % value of the no of employees or how is value in cell C1 is obtained
5% in cell C1 =8/248*100
Similarly, value of cell c6 should =22/248*100 which should be 9% but it is showing as 13%
i'm using below formula to get the value but unable to display the correct value
= [Wage statistics - other]. [Number of Employees] / Sum ([Wage statistics - other]. [Number of Employees]) In Block

The correct values should be 3% but is showing as 5%.Am i missing anything ?

Attaching the screenshot for your ref as

827.png (90.0 kB)

Jyothirmayee A Apr 23 at 05:10 PM
0

Hi,

Even your subtotals within the first block looks incorrect. Did you choose to add subtotals or do you have formula?.

Either 248 is wrong, it has to be 168 for column totals and 234 row totals. Where did you get 248?.

You are seeing 13% for 22 Emp count cos "block is considering Column total which is 168. so 22/168*100 = 13%"

Can you try this?:

Subtotals:

= [Wage statistics - other]. [Number of Employees] / Sum ([Wage statistics - other]. [Number of Employees]) In [Job Demands]

and

Grand Totals:

= [Wage statistics - other]. [Number of Employees] / (Sum ([Wage statistics - other]. [Number of Employees]) In Block)

Here are my results on your sample data: I did used just In Block context in 2nd cross table.

Share