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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
rajtechnocraft
Creator
Creator

if statement impact on performance of qvw reload time

Dear Community,

My expresiion at the UI contains lots of If' statements .

Just was curious will it delay the reload time.

Is it advisable to do the calculation at the script level and then use that calculated field at the UI level.

Will this improve the performance of my UI application.

Regards

Raj

2 Replies
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

   Yes Raj its always advisable to do your calculation which are static at the load time only and avoid using if statements in expressions.

   The reason is if statement takes time to calculate the condition mansion in it.

   So  it  will for sure effect the performance of your application.

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
erichshiino
Partner - Master
Partner - Master

Going straight to your question, the answer is no. The if statements at the UI will not impact the reload time ... but it will affect the calculation time after each selection.

It's a good practice to move your if statements to the script to improve user response time to selection.

Regards,

Erich