Discussion board where members can learn more about Integration, Extensions and API’s for Qlik Sense.
I am using tree node extension to show structure of my application.
I tried to make some simple text descriptions for an app.Specifically i made when node in tree is clicked text box is updated with description text.
My problem is that I am using multiple IF's to decide what node is selected and which text will be shown.
It works only untill 6 IF statements.I tried to replace 'Default' with variable that contains antoher 6 and it worked.But it worked for 3 depths.
I have 27 nodes and i can't pass 18 to work.Is there a way around this?
Switch/Case would be nice option but there is no one.
Go to Solution.
I mannaged to solve my own problem.
In case someone will find this answer usefull i will post it.
Frist i created 27 variables which contain description text.I called them Description1-Description27.
Each Description for one Node.
Then I created variable with expression to make string from word Description and NodeID number.
Change its value depending on node selection.
I used this statement to test which node is selected and what Description to show.
It worked perfectly.