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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Xabinav
Creator
Creator

Performance with Set Analysis. Number VS String

Hi everyone 

I'm trying to improve App performance, a lot of the "Set Analysis" are with a string. 

I wonder if switching to a number will improve performance

for example -  

Now  --> Count ({<approved = {'yes'}>} Orders)

Change to -- >  Count ({<approved = {1}>} Orders)      (1 = Yes , in Data model)

Will it improve? In reality the formulas are longer...

I would love to know if there is a tool or way to measure performance improvement

 

Thanks 

2 Replies
rwunderlich
MVP
MVP

In set analysis, there is no difference in performance between using string and numeric for modifier values.  The internal logic always uses a string test. 

You can measure expression performance in your app using QSDA Pro.  Another tool for doing command line expression performance testing is CubeTester.

-Rob
http://www.easyqlik.com
http://masterssummit.com
http://qlikviewcookbook.com

 

Xabinav
Creator
Creator
Author

Thank you Rob !