I believe you can add conditions with: @report.conditions = "sql conditions here"
----- "Paco Viramontes" <kidpo...@gmail.com> wrote: > Hi all! > > I am finally getting a report with active warehouse working, the > problem is that for my default view I get all the years from my date > > dimension and I would only want to show one or two years not all the > > dates for my date dimension, whar would be the best aproach to achieve > > this? > > PACo > > @report = ActiveWarehouse::Report::TableReport.new > @report.title = "report" > @report.cube_name = :cube > @report.column_dimension_name = :date > @report.column_hierarchy = :calendario > @report.row_dimension_name = :place > @report.row_hierarchy = :region > > @report.column_constraints = ["2008"] > > @view = @report.view(params, {:sortable_with_totals => true}) > _______________________________________________ > 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