Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Why error in expression

In Edit window this expression calls an error

max(sum(asecs*0.04166666))

2 Replies
john_duffy
Partner - Creator III
Partner - Creator III

Hello.

The sum(asecs*0.04166666) calculation is only going to return one value per chart dimensions. There is no max. You could use the max funtion if you were aggregating the calculation over a dimension - eg. max(aggr(sum(asecs*0.04166666),Fieldxx)).

John.

Not applicable
Author

Hi,

You must write the expression as following:

=Max(Sum(asecs)) * 0.04166666

It's better and optimized.

Regards.