hi,
i need to write mdx query for grand total ,what i have mentioned below result set.
I wrote query for tuple result like below.
-----------------------------------------------------------
select {[Measures].[Internet Sales Amount],[Measures].[Internet Gross Profit]} on 0,
{([Product].[Product Categories].[Category].&[1],[Geography].[Geography].[Country].&[Canada]),
([Product].[Product Categories].[Category].&[4],[Geography].[Geography].[Country].&[Australia])
}
on rows
from
[Adventure Works]
Internet Sales Amount | Internet Gross Profit | ||
Bikes | Canada | $28,318,144.65 | $11,505,796.50 |
Accessories | Australia | $700,759.96 | $438,674.57 |
But i need result like this
--------------------------------------------------------
Internet Sales Amount | Internet Gross Profit | ||
Bikes | Canada | $28,318,144.65 | $11,505,796.50 |
Accessories | Australia | $700,759.96 | $438,674.57 |
Total | 459662454.3 | 4245335235 |
Can any body please reply as soon as possible.
Thank you