I'd definitely avoid creating the dimension with "All". I believe that
there does need to be support for the notion of "all" however I think
it should be included automatically - no need to call it out in the
hierarchy.

V/r
Anthony

On Oct 30, 2007 2:42 PM, Marty Haught <[EMAIL PROTECTED]> wrote:
> I have a question on doing a top level roll-up programmatically.  I
> would like to have a top level called 'All' for several of my
> hierarchies.  Is there an easy way to do this using the TableReport?
> I can fake it out by adding a column into the desired dimension with
> every row having the string 'All' in it but this feels wrong.  What
> I'd love to do is this:
>
>         define_hierarchy :my_hierarchy, [:all, :category, :name]
>
> The define_hierarchy method would understand that :all is reserved
> and this means to show a single row roll-up at the top level.   I am
> new to data warehousing so perhaps what I'm asking for is
> accomplished in another way.  Thanks in advance for your replies.
>
> Cheers,
> Marty
> _______________________________________________
> 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

Reply via email to