You can specify dimmension order directly on the dimension model I am talking about order ing according to fact aggregates

Paco

Sent from my iPhone

On Jan 15, 2009, at 2:11 PM, "Marty Haught" <mghau...@gmail.com> wrote:

On Thu, Jan 15, 2009 at 11:35 AM, Jacob Maine <jma...@blurb.com> wrote:
I believe you can add conditions with:

@report.conditions = "sql conditions here"

Yeah, we did something similar.  We made a date range that we wanted
to constrain the report by.  We passed in a huge hash of options but
that's the same as setting conditions directly.

:conditions => [
   "my_facts.my_date_id IN (select id from my_date_dimension where
sql_date_stamp #{(start_date.to_date .. end_date.to_date).to_s(:db)})"

Cheers,
Marty
_______________________________________________
Activewarehouse-discuss mailing list
Activewarehouse-discuss@rubyforge.org
http://rubyforge.org/mailman/listinfo/activewarehouse-discuss

Reply via email to