|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: 2 days ago @ 2:04 PM
Points: 1,
Visits: 44
|
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Saturday, February 16, 2013 3:03 PM
Points: 5,
Visits: 56
|
|
Item 3 code mismatch:
{[Geography].[Geography].[State-Province].[Alabama].CHILDREN, [Geography].[Geography].[State-Province].[Alabama].CHILDREN}
s/b Alabama, Mississippi
|
|
|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Tuesday, May 14, 2013 10:34 AM
Points: 13,
Visits: 198
|
|
I'm going to leave this right here, even though I think it might just get answered in the next Stairway article.
In the example from STEP 3, how could I sort by Resellers Sales Amount DESC without the State_Province natural heirarchy breaking it up into what to me is two separate sorGed lists. I want to see Resellers Sales Amount in DESC order with out grouping by state.
Great article so far. It's giving me the kick start to MDX that I needed (I wanted to learn MDX but didn't know where to start).
EDIT: Just as I thought. BASC and BDESC will do this and are explained in the next Step
Jeff.
|
|
|
|
|
SSC Eights!
      
Group: General Forum Members
Last Login: Saturday, January 12, 2013 5:51 PM
Points: 845,
Visits: 749
|
|
I get this error for the below code: Query (11, 7) Parser: The syntax for 'ORDER' is incorrect.
-- SMDX003-004 Simple Use of Order() function across columns, -- sort descending(respecting hierarchies)
SELECT
NONEMPTY
ORDER(
{[Geography].[Geography].[State-Province].[Alabama].CHILDREN,
[Geography].[Geography].[State-Province].[Mississippi].CHILDREN},
[Measures].[Reseller Sales Amount], DESC
) ON AXIS(0),
{[Measures].[Reseller Sales Amount]} ON AXIS(1)
FROM
[Adventure Works]
What's wrong with the syntax?
TIA, Rob
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Monday, August 27, 2012 1:59 PM
Points: 4,
Visits: 4
|
|
|
|
|