Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
pauldamen
Partner - Creator II
Partner - Creator II

Get 1 field from current selection

Dear all,

I have a listbox with fields: Actual, Budget, LE

I also have a table with different columns which match the Actual, Budget, LE and some other calculations.

Now I want to show them conditional, if you select Actual and Budget in the listbox the columns should appear. How can I get this to work, I tried GetCurrentFields, GetCurrentSelections formulas in the conditional box but it doesn't work.

Hope you could help me.

Regards,

Paul

1 Solution

Accepted Solutions
Gysbert_Wassenaar

See attached example. It uses the substringcount and concat functions.


talk is cheap, supply exceeds demand

View solution in original post

5 Replies
Not applicable

Can you upload your sample application

Gysbert_Wassenaar

See attached example. It uses the substringcount and concat functions.


talk is cheap, supply exceeds demand
pauldamen
Partner - Creator II
Partner - Creator II
Author

Thanks works great!

Just for my interest could you explain what you did with the SubString and the Concat and what this does?

Gysbert_Wassenaar

Well, I didn't since I didn't create the document . But the concat creates a string of all the possible values of Field. And substringcount checks in the value you want is in that string. If it is then it returns true, otherwise false. That makes it handy to use for the conditional display expression.


talk is cheap, supply exceeds demand
pauldamen
Partner - Creator II
Partner - Creator II
Author

Thanks for the clear explanation and the help!