AGGR=?

Hi,
well my questions is very basic , i would like to know what is the whole idea of providing the description AGGR=? for the metric description.
cause some of my metric refreshes when i provide aggr=sum but for some of it doesnt work so i changed back the AGGR=NONE then the metric refreshed , i dont understand when to use NONE or SUM . all i know is that we provide this description only to make sure what the user selects the right aggregate function while creating metric .
i would like to know indepth logic behind this.
thanks
kol


kol126 (BOB member since 2006-01-04)

The AGGR = SUM defines the aggregation method in the universe. If you dont do that you can use one of the methodologies in Dash Manager.


DeltricC (BOB member since 2006-04-17)

Stupid question continuing this topic…

Is is still AGGR=SUM even if the pre-aggregation isn’t a SUM? I have a measure which is a rating - one measure divided by another expressed as a percentage. So it isn’t a SUM. Is there as AGGR=DIV or doesn’t it matter? Is AGGR=SUM just a flag that the system looks for so it knows whether or not to aggregate when the metric is created?

Thanks

Debbie


Debbie :uk: (BOB member since 2005-03-01)

Hi,

You can define indicators to create metrics by 2 ways:
1- if you want to choose the aggregation at metric creation level, then in the indicator select statment, don’t set an aggregate function (just set the DB column name). In this case, the description field MUST BE blank.
2- if you want to force the metric aggregation method, then in the indicator select statment, use an aggregation function. In this case, type AGGR=your_aggregate_function in the description field.

So, the first solution allows you to create a sum metric, a max metric and a min metric (for instance) based upon one indicator. The second solution will need to define 1 indicator by metric.

Regards,

Ghislain


ggouzy :fr: (BOB member since 2005-10-25)

And, in addition to Ghislain’s information: Debbie, you’re right.
You may enter AGGR=SUM any old time, because all it does is, it tells EPM that the measure is already aggregated (no matter how), so you won’t be presented with a choice of aggregation options when creating the metric.

Cheers,
Kuby


kuby (BOB member since 2007-05-24)

Got to do it at universe level as the calculation is complex. My measure is sum(A)/(sum(B)-sum©)

I just wasn’t sure whether AGGR=SUM was all there was, but your answer makes perfect sense, thank you.

Debbie


Debbie :uk: (BOB member since 2005-03-01)