I am trying to create a condition which is aggregate aware. Is this possible? I seem unable to use aggregate awareness in the where clause of a condition.
I have:
1. A fact table which records aircraft flights and is partitioned and indexed on "departure date" (the table is BIG!!)
2. An aggregate table which summarises the above table by "departure month" amongst others.
The condition I wish to create is for "last month". I have sucessfully created a condition that will derive the dates of the first and last days for the previous month, however if I attempt to use this condition in a report that only hits the aggregate table then I get an error!
So ... I thought I would use the @AggregateAware function to restrict by flight month dimension if possible, but I cannot make this work.
Can anyone suggest a way to make this work or and alternative?
Many thanks in advance...
I have:
1. A fact table which records aircraft flights and is partitioned and indexed on "departure date" (the table is BIG!!)
2. An aggregate table which summarises the above table by "departure month" amongst others.
The condition I wish to create is for "last month". I have sucessfully created a condition that will derive the dates of the first and last days for the previous month, however if I attempt to use this condition in a report that only hits the aggregate table then I get an error!
So ... I thought I would use the @AggregateAware function to restrict by flight month dimension if possible, but I cannot make this work.
Can anyone suggest a way to make this work or and alternative?
Many thanks in advance...