Hi ,
I have a doubt regarding measure object. Suppose I need to create an object for summing balance_amount .
I have created a measure object with the select statement as:
table_name.balance_amount
And in the tab have select SUM function when aggregated.
I would like to know whether it is mandatory to add the sum in the select clause or not? For example do I need to define the following definition in select statement of measure object as:
sum(table_name.balance_amount) and in tab need to select SUM function
when aggregated.
I am aware about what the SUM function does for the object. I only like to
know whether it is mandatory to have sum() defined in the select statement or not?
Marek Chladny
also applied aggregate function in where clause for condition purpose.
for ex :
emp_count<=count(empid) and emp_designation=‘managerlevel’
latha
I covered a number of different measure configuration scenarios in a presentation titled “ZEN and the ART of Universe Design” some years ago, and the information in it is still valid. Basically every measure should have an aggregate function and an appropriate / matching projection setting. If not, you are doing too much work on the client.
The presentation is available on the “Library” page from the Integra Solutions site; see signature for link.
Basically, using an aggregation function in measure objects (in addition to the Projection setting) forces the grouping to the database level, thus reducing the number of rows coming back to the client and cutting down on the work that needs to be done on the user’s PC.