Qlik Community

Ask a Question

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Announcements
On Demand Webinar: See Why Thousands of QlikView Users Have Switched to Qlik Sense. REGISTER
cancel
Showing results for 
Search instead for 
Did you mean: 
elena_isupova
Contributor III
Contributor III

Creating variables dynamically QS (NOT in script)

Hey everybody,

I want to add and delete dynamical variables with some expressions inside it. The number of variables should be defined by the max value in one of 2 alternative states and interval which is defined by user. Can I do smth like this or is this impossible?

Suppose:

I have max value = 100 000. And I have interval = 10 000. Then I need 10 variables with different conditions inside them (zero - interval; interval - 2*interval and so on).

Then user changes the set and max value is 50 000, but interval is still 10 000. So I have to delete variables to end up with 5 variables.

If it goes other way, I have to add variables.

Maybe you've faced such kind of problem.

Thank you for any help.

Elena

0 Replies