Qlik Community

QlikView Creating Analytics

Discussion Board for collaboration related to Creating Analytics for QlikView.

Not applicable

Performance issue

I wonder how you could optimize the following expression:

Sum(If(Aggr(NODISTINCT Max([Date of Est.]), ID,[Year Quarter of Est.]) = [Date of Est.], COST))

I have 18 million rows, created by using a interval function, but where I have several rows within the same period of time.

But for the moment I am experiencing very slow response by using the above expression.

Anyone faced the same problem?

Tags (3)
1 Reply
Not applicable

Re: Performance issue

I solved this by simply using FirstSortedValue.

sum(aggr(FirstSortedValue(COST,-Date ), ID,[Year Quarter of Est.] ))

Community Browser