Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
rdsuperlike
Creator
Creator

set analysis with getfield selection

@I want to insert getffieldselection in the below set analysis. What would be the current syntax?

if(Product = getfieldselection(Product))

=Num(max( {$<Fruits= {Apple} >} [Days  of transport Pre] ),'#.0')

7 Replies
ronald_gdi
Contributor III
Contributor III

Hi

Create a new variable and put the code:

if(Product = getfieldselection(Product))


Than put de variable into the expression


Num(max( {$<Fruits= {$(variable)} >} [Days  of transport Pre] ),'#.0')


Kind Regads!

marcus_sommer

Try: =Num(max( {$<Fruits= {"$(=getfieldselections(Product))"} >} [Days  of transport Pre] ),'#.0')

- Marcus

rdsuperlike
Creator
Creator
Author

Posted the app too. I want the fruits = apple and also only the relevant fruits should come up based on the product selected.hence I was asking for both the conditions

rdsuperlike
Creator
Creator
Author

Posted the app too. I want the fruits = apple and also only the relevant fruits should come up based on the product selected.hence I was asking for both the conditions

pratap6699
Creator
Creator

=max({<fruits={"=getfieldselections(product)"}>}[Days of transport pre])

rdsuperlike
Creator
Creator
Author

I tried putting it in the app. But its not working.

I want to give input box for users to change the values for each fruit's pre and post days

Anonymous
Not applicable

Try

=Num(max( {$<Fruits=P(Fruits) >} [Days  of transport Pre] ),'#.0')