ejain
10-04-2003, 12:18 AM
In the sample application, sorting rows by sales count results in a table where rows are sorted alphabetically instead of numerically, i.e. 16414 is smaller than 7978. Do I need to modify the query, or is this a bug/limitation of the query engine?
select {[Measures].[Sales Count]} ON columns,
Order(Hierarchize(Union({[Product].[All Products]}, [Product].[All Products].Children)), [Measures].[Sales Count], ASC) ON rows
from [Sales]
where [Time].[1997]
select {[Measures].[Sales Count]} ON columns,
Order(Hierarchize(Union({[Product].[All Products]}, [Product].[All Products].Children)), [Measures].[Sales Count], ASC) ON rows
from [Sales]
where [Time].[1997]