Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

"Always One Selected Value" option is disabled in list boxes

Hi

There are couple of list boxes in my application where "Always One Selected Value" is disabled. I want to check that option so that always one is selected by default. Not sure why this option is disabled for certain list boxes.

Can anyone help me out please!

11 Replies
prieper
Master II
Master II

You need to select one value before going into the properties

HTH
Peter

Not applicable
Author

Hi Peter

Thanks for your help! Yes given trick has worked. May I know the reason behind the behaviour of this? Why do we need to select one value before going to the properties? If you have any idea about it please let me know.

Not applicable
Author

Hi Peter

In my application Year and Week are there in the list boxes. I have managed to do that for Year but though I select any one value in the week list box "Always One Value Selected" is disabled. What could be the reason behind that.

I have even unticked "Always One Value Selected" in the year list box then tried it in week list box. But it didn't work! It is still disabled!

Not applicable
Author

Hi Peter

For your information the week list box which I am talking about contains the expression. Is that could be the reason for this problem?

Not applicable
Author

Hello Attitude ,

" Allways one Selected " in the list box comes only with the core dimension that you create at your script level.

It is not working with Measure/Expression you make at Front end.

I would sugest you to create those dimesions you need at List box as filter on back end at script level. This will work . 🙂

Not applicable
Author


AshwinPagare wrote:
" Allways one Selected " in the list box comes only with the core dimension that you create at your script level.
It is not working with Measure/Expression you make at Front end.
I would sugest you to create those dimesions you need at List box as filter on back end at script level. This will work . :)<div></div>


Thanks Ashwin

Do you mean to say that the calculation which I am using in the expression of the list box should be done in the script itself and it will work when we call the dimension in the list box.

Am I right?

Not applicable
Author

Yes .... Evene i do the same.

It works 🙂

Not applicable
Author

Hi Ashwin

Below is the expression which is there in the list box. Could you please tell me how that could be done in the script level. Because I think the below expression requires user to select the value. How could I do this at the script level.



=if(Week<=VCFYFW,If(Week>=VCFYFW-'100',Week,(Null())))




Not applicable
Author

Hi Attitude,

I assume the resason you have to select a value prior to checking the always one selected value option is to provide a default value for when selections are cleared.

Thanks,

James