dbTalk Databases Forums  

Very tricky MDX (combine VisualTotals with Order)

microsoft.public.sqlserver.olap microsoft.public.sqlserver.olap


Discuss Very tricky MDX (combine VisualTotals with Order) in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Tom VdP
 
Posts: n/a

Default Very tricky MDX (combine VisualTotals with Order) - 06-03-2004 , 09:56 AM






Hello,

We are using the following construction in a select:

{
Order(
VisualTotals(
filter(
Descendants(somedimensionmember),
abitofcomplexlogic
),
"visualtotal of *"),
[Measures].somevalue, DESC)
} on rows


Will the Order() function use the "VisualTotals" version of
"somevalue" or the exact value ? Of course we would like to get the
order on the report according to the visual value. Is this possible ?

I ask because we get strange results (ordering not ok, the hierarchy
seems to be lost too).

Many thanks,
Tom

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.