Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

how to add a database field as drop down in input box

Hi,

      I try to add Year field to an input box  as follows

Input Box Properties>

                  Constraints>

                          Value List>

                               Select "Predefined Values in Drop Down">

                                              Deslect "Enable Edit Expression Dialog" >

                                                           select "Listed Values" >Write an expression as =Year

Its working fine if and only if Year field contains only one value.But the field contains more than one value.

Please help me out to fix it.

Thanks:

Irfan Ghori

1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

On the Constraints tab check the Listed Values option and enter =Concat({1} distinct Year,',') as expression.


talk is cheap, supply exceeds demand

View solution in original post

2 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

On the Constraints tab check the Listed Values option and enter =Concat({1} distinct Year,',') as expression.


talk is cheap, supply exceeds demand
Not applicable
Author

Hi Gysbert,

     I thanks from bottom of my heart , its working.