Quantcast
Channel: Developing Apps for SharePoint 2013 forum
Viewing all articles
Browse latest Browse all 8089

Total for tuples in mdx

$
0
0

  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 AmountInternet Gross Profit
BikesCanada$28,318,144.65$11,505,796.50
AccessoriesAustralia$700,759.96$438,674.57

But i need result like this

--------------------------------------------------------

  Internet Sales AmountInternet Gross Profit
BikesCanada$28,318,144.65$11,505,796.50
AccessoriesAustralia$700,759.96$438,674.57
Total459662454.34245335235

Can any body please reply as soon as possible.




                                                                                                                                                                           Thank you   


Viewing all articles
Browse latest Browse all 8089

Trending Articles



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