Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
risabhroy_03
Partner - Creator II
Partner - Creator II

Performance issue using if

Hey I am using the below expression to calculate the sum of Quantity for the maximum Invoice Date for each company code

Sum(aggr(if(Invoice_Date_GMT=date(max(total<Company_Code>Invoice_Date_GMT)),sum(Quantity)),Company_Code))

This is giving me correct results but takes lots of time.

Can anyone please suggest me a way without if?

risabhroy_03_0-1640237760527.png

 

 

0 Replies