In the object definition, can I use the ‘WHERE’ clause to define a condition with Aggregate_Aware() function in the ‘select’ clause.
If the answer is YES, how can I implement for an object definition in the universe? And how the condition will be applied on the Aggregated value selected?
If the answer is NO, how to achieve this functionality in the universe for an object definition?
So, In the 1st week of new year:
current_week=1
previous_week=52
When I run a query, the previous_week is taking as 52 and it is calculating for the new year’s 52 week which contains no information in the summary tables.
Now my exact requirement is:
Whenever ‘previous_week’ object is added to the report and if the current_week=1, then ‘previous_week’ should come as previous_week=52 and year=previous_year.
for this, I need to add a ‘WHERE’ clause condition as year=previous_year and ‘SELECT’ clause as Aggregate_Aware(T1.previous_week,T2.previous_week,T3.previous_week)