HI,
I want to find percentage as below specified sample. can anyone tell me how to get this output?
12 | percentage |
0 | 0.00% |
39644 | 15.78% |
137674 | 54.80% |
70907 | 28.23% |
2985 | 1.19% |
251210 | 100.00% |
to calculate % each column / entire column total ie.=39644/251210
with
MEMBER MEASURES.CONSTANTVALUE AS ([Period Incur Rank].[Period Incur Rank].&[12],measures.ptct)/measures.ptct
select {measures.ptct,MEASURES.CONSTANTVALUE} on columns,
{[Region].[Regioname].[Regioname].ALLMEMBERS} on rows
FROM ( SELECT ( { [Category].[Category - Category].&[All] } ) ON COLUMNS
FROM ( SELECT ( { [Period Rptd Rank].[Period Incur Rank].&[12] } ) ON COLUMNS FROM [ADW]))
WHERE ( [Period Rptd Rank].[Period Incur Rank].&[12], [Category].[Category - Category].&[All] )