Quantcast
Channel: SQL Server Analysis Services forum
Viewing all articles
Browse latest Browse all 14337

Orderby Key property isn't working on dimension

$
0
0

Hi,

I have a date dimension with dayName (Mon, Tue, Wed etc) as attributes.  It has a Key column called DateSid. I want my MDX query results to return the day of the week in the right order.  At the moment they are returned in alphabetical order. I have changed the OrderBy property of the dayName field to Key, reprocessed the dimension and cube but still it returns results in alphabetical order.

When ordered by the Key the days should return in their correct order as the table is in the right order and I have successfully tried this approach on a time dimension I have with the hour attribute the only difference is in that example the field is an integer.Can anyone suggest what I am doing wrong / something to try test?

Thanks,

Dan


Viewing all articles
Browse latest Browse all 14337

Trending Articles



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