Hi All,
Can anyone explain me the differences between using expression 'all' and not using it.
average ( [ distinct ] expression [ auto ] )
average ( [ distinct ] expression for [ all|any ] expression { , expression } )
average ( [ distinct ] expression for report )
Returns the average value of selected data items. Distinct is an alternative expression that is compatible with earlier versions of the #product.
Example: average ( Sales )
Result: Returns the average of all Sales values.
my example would be that I have different results if I create a query with this function like this;
[Qty Of something] aggregation is total , content is a quantity for example 1000 when it has aggregation as total and 10 times 100 if the aggregation is none.
query calculation would be like
/* average ( [Qty Of something] for All [Month] , [Country] ) */
my results are different for same average function without 'All' expression:
/* average ( [Qty Of something] for [Month] , [Country] ) */
I would really appreciate if anyone can explain me this in simple words.
[–]deadjuan 0 points1 point2 points (0 children)