Quantcast
Channel: SQLServerCentral » Data Warehousing » Analysis Services » Latest topics
Viewing all articles
Browse latest Browse all 1341

Count Columns

$
0
0
Hi hi have a follow result on my mdx querygroupA | groupB | groupC | TOTAL100 200 400 3ihi already made the groups, but i don't know how can i count my columns TOTALas you can see on result . but only present if there is values with member GroupA as Sum({[d P].[ID P].CurrentMember}*[d Condition Type].[Code].&[A01],[Measures].[f Validated Condition Count])member GroupB as Sum({[d P].[ID P].CurrentMember}*[d Condition Type].[Code].&[B01],[Measures].[f Validated Condition Count])member GroupC as Sum({[d P].[ID P].CurrentMember}*[d Condition Type].[Code].&[C01],[Measures].[f Validated Condition Count])member Total as COUNT([d P].[ID P],[d Condition Type].[Code].&[A01])// COUNT(,// {[d Condition Type].[Code].&[A01],,// [d Condition Type].[Code].&[B01],// [d Condition Type].[Code].&[C01])SELECT {GroupA,GroupB,GroupC,Total} on 0FROM [Cube2]Can you help me... it will be greatfulthks

Viewing all articles
Browse latest Browse all 1341

Latest Images

Trending Articles



Latest Images