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

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
sampada0810
Creator
Creator

Best approach to duplicate similar views based on flag condition

Hi all,

I have 2 views All Customers and 50.1 Customers. All the objects are same on both the screens, just the 50.1 screen's objects will have the condition "50.1 Flag=1".

50.1 Flag.PNG

So the ways I can achieve this are:

1. I will Duplicate the object and will conditionally show/hide based on the flag

2. I will set variables on the buttons and I will write the expression twice for every object i.e. the normal expression for All Customers and another expression having the flag condition.

Which is the best and Quick approach to achieve this from Performance point as well.

Or is there any other way by which this can be done and also the performance is not affected.

2 Replies
Not applicable

Instead of variable, create two sheets and activate respective sheet based on the Button (or Text Object) preference sheet.

Not applicable

I initially develop withe variables and showing 4 different sub sheet views. If we want add new sub tab or objects to existing subtab that involves lot of time. So we switched to sheets and we seen some very low improvements in the performance.