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: 
agni_gold
Specialist III
Specialist III

Problem in Tree structure

Hi All ,

I have one tree structure , but in that the problem was , if i was selecting the parent node then it is not selecting its all the childs , so for removing that issue i have created the trigger for that field,

Trigger Name : Select in Field

And in Field option i have written =if(GetSelectedCount([HFM Entity Tree])>0, 'HFM Entity Tree')

and in string Field i have written

='(' & concat({1<[HFM Entity Tree]={$(=concat(chr(39) & [HFM Entity Tree] & '*' & chr(39), ','))}>}distinct [HFM Entity Tree],'|') & ')'



every thingh is working fine after that , but in one case it is failing


Please see the below screenshot,


xcv.jpg


When i am selecting the TerexUtilities  there are two values are selected. and if i am selecting TerexUtilitiesUSDist then it is working fine .


The problem is only that in my serch string i am making TerexUtilities* so it will serch for both the values .


So please help  me for any workaround.


10 Replies
Nicole-Smith

I changed the load script (to get the Depth field necessary for the trigger) and the trigger for the OnSelect action.  I've attached my copy of the QVW.  This works as you're expecting. !