Quantcast
Channel: SQL Server Analysis Services forum
Viewing all articles
Browse latest Browse all 14337

Drillthrough with set function???

$
0
0

Hi all,

Here is the MDX query i have in which i want to use drillthrough functionality.

 WITHSET [PDCount]AS '{[Calendar].[Day].&[2011]&[7]&[1]:[Calendar].[Day].&[2011]&[8]&[30]}'

SET [CDCount]AS '{[Calendar].[Day].&[2011]&[8]&[1]:[Calendar].[Day].&[2011]&[9]&[30]}'

MEMBER Measures.[Val1]AS 'Aggregate([CDCount],[Measures].[Canon Number Of Openings])'

MEMBER Measures.[Val2]AS 'Aggregate([PDCount],[Measures].[Canon Number Of Openings])'

MEMBER Measures.[Val3]AS '0'

MEMBER Measures.[Per1]AS 'Round((Measures.[Val1])*100/sum(Root(),Measures.[Val1]),2)' 

MEMBER Measures.[Per2]AS 'Round((Measures.[Val2])*100/sum(Root(),Measures.[Val2]),2)'

MEMBER Measures.[Per3]AS '0'

SELECT {[Measures].[Val1],[Measures].[Val2],[Measures].[Val3],[Measures].[Per1],[Measures].[Per2],[Measures].[Per3]}ONCOLUMNS

,NONEMPTY ([Onet Code].[JobFamily].Children )ONROWS

FROM (SELECT ( -{ [Onet Code].[JobFamily].&[UNKNOWN]

, [Onet Code].[JobFamily].&[], [Onet Code].[JobFamily].[All].UNKNOWNMEMBER

, [Onet Code].[JobFamily].&[NA] } ) ONCOLUMNS

FROM [LICUBE] )   

 

But it has been clearly stated by the microsoft that the drillthrough cannot be used with the calculated cells.

Can anyone please let me know how can we reformate it to use with drillthrough?

Thanks,

Aish


Viewing all articles
Browse latest Browse all 14337

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>