You can set an order on a dimension (see below.) That order should apply to reports that pivot on the dimension. I'm not sure what the rules are for combining sort orders from two dimensions, or if there's a way to set multiple orders for different levels of a hierarchy.
class DateDimension < ActiveWarehouse::Dimension set_order :calendar_month_number end ----- "Paco Viramontes" <kidpo...@gmail.com> wrote: > Hi again > > I cannot figure out sort to sort by default my facts table i can sort > > with the YUI table but by default the view is not sorted, I've tried > > even hardcoding :S order_by into the query, still comes out unordered > > @view = @report.view(params, {:sortable_with_totals => true}) > > any ideas, please, anyone? > > > PAco > _______________________________________________ > Activewarehouse-discuss mailing list > Activewarehouse-discuss@rubyforge.org > http://rubyforge.org/mailman/listinfo/activewarehouse-discuss _______________________________________________ Activewarehouse-discuss mailing list Activewarehouse-discuss@rubyforge.org http://rubyforge.org/mailman/listinfo/activewarehouse-discuss