Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
julioarriaga
Creator II
Creator II

What is more efficient SUM(FieldA)*Constant or SUM(FieldA*Constant)?

Hi everyone,

Thanks in advance for your help.

What is more efficient between SUM(FieldA)*Constant and SUM(FieldA*Constant)?

Capture.PNG

1 Solution

Accepted Solutions
sunny_talwar

I would believe that SUM(FieldA)*Constant should be better because the other option will perform the multiplication on each row and then sum it.... whereas in this case, it sums and only perform multiplication once.

View solution in original post

1 Reply
sunny_talwar

I would believe that SUM(FieldA)*Constant should be better because the other option will perform the multiplication on each row and then sum it.... whereas in this case, it sums and only perform multiplication once.