Hi
I think you have something like that in your query:
,DateName( month, [Date]) as NameMonth
You have to add
,DATEPART(month, [Date]) as NumMonth
an use it for the sorting
[quoted text, click to view] "aaron_kempf@hotmail.com" wrote:
> so i have month name in a field for a rs report..
>
> and i want to be able to sort it correctly.
>
> what are my options?
>
> I'm doing this in MDX: and i cant change the cube or a dimension
>
> aaron
>
>
yeah, im doing this in MDX not in TSQL tho
I ended up just changing the Virtual Dimension to be sorted correctly
[quoted text, click to view] "Soan" <Soan@discussions.microsoft.com> wrote in message
news:4AFC1861-10EC-4A7A-927C-23C0AC25BC52@microsoft.com...
> Hi
>
> I think you have something like that in your query:
> ,DateName( month, [Date]) as NameMonth
> You have to add
> ,DATEPART(month, [Date]) as NumMonth
>
> an use it for the sorting
>
>
>
> "aaron_kempf@hotmail.com" wrote:
>
> > so i have month name in a field for a rs report..
> >
> > and i want to be able to sort it correctly.
> >
> > what are my options?
> >
> > I'm doing this in MDX: and i cant change the cube or a dimension
> >
> > aaron
> >
> >
> >