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

Sum() behaviour

Hi,

does it make a difference perfomancewise?

sum(Value*ExchangeRate)

sum(Value)*ExchangeRate

You could assume that the second one is faster because its first sums all value and then multiplies it only once with the exchange rate.

But i dont know if thats the case in the QIX Engine.

Any thoughts are appreciated!

-Phil

2 Replies
sunny_talwar

Not sure about the performance, but second one would only work if you have a single possible ExchangeRate for each of the combination of your dimension. If there are multiple Exchange Rates, it will become null

Anonymous
Not applicable
Author

Hello Sunny,

Im aware of that, thanks!