Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
mhmmd_srf
Creator II
Creator II

Issue in Mandatory Selection in List Box

Hi All,

I have one list box. Having expression like below:

= '(' & Sales_Fact_ProductGroupMajor & ')' & ' - ' & ProductGroupMajorDescription

I want to make this as Mandatory. But, Always One Selected Value is disable.

Is there any way to implement this in UI level?

Please help.

Thanks,

Sarif

1 Solution

Accepted Solutions
Anil_Babu_Samineni

Here, The condition works only fields not the expressions as i know

Try like below, And then use Sample as Listbox and check

LOAD *, '(' & Sales_Fact_ProductGroupMajor & ')' & ' - ' & ProductGroupMajorDescription as Sample Inline [

Sales_Fact_ProductGroupMajor , ProductGroupMajorDescription

Sample, 1

Sample, 2

Sample, 3

Sample,4

];

Please add me Anil_Babu_Samineni to interact faster when reply back. Speak low think High.

Before develop something, think If placed (The Right information | To the right people | At the Right time | In the Right place | With the Right context)

View solution in original post

9 Replies
ElizaF
Creator II
Creator II

Select one value and after go to proprieties of List Box and check " Always One Selected Value".

mhmmd_srf
Creator II
Creator II
Author

Eliza Sir,

I have tried in that way only....not working. That option is disable.

Please suggest.

Thanks,

Sarif

Miguel_Angel_Baeyens

You will need to create that value as a separate field in the script. Always one value selected only works with fields, not expressions.

Anil_Babu_Samineni

Here, The condition works only fields not the expressions as i know

Try like below, And then use Sample as Listbox and check

LOAD *, '(' & Sales_Fact_ProductGroupMajor & ')' & ' - ' & ProductGroupMajorDescription as Sample Inline [

Sales_Fact_ProductGroupMajor , ProductGroupMajorDescription

Sample, 1

Sample, 2

Sample, 3

Sample,4

];

Please add me Anil_Babu_Samineni to interact faster when reply back. Speak low think High.

Before develop something, think If placed (The Right information | To the right people | At the Right time | In the Right place | With the Right context)
ElizaF
Creator II
Creator II

Very curious. Close the file, open again and check.

Can you upload the QVW file?

avinashelite

It doesn't work with the Expression Dimension create that dimension in the script and use the same in front end you will be able to get that functionality

ElizaF
Creator II
Creator II

The script is:

LOAD

*,

'(' & Sales_Fact_ProductGroupMajor & ')' & ' - ' & ProductGroupMajorDescription as Sample ;

LOAD * INLINE [

Sales_Fact_ProductGroupMajor , ProductGroupMajorDescription

Sample, 1

Sample, 2

Sample, 3

Sample,4

];

Pls check the file attached

mhmmd_srf
Creator II
Creator II
Author

Okk...I am doing that only..

but just wanted to check whether is there any option in Front Level.

Thanks,

Sarif

tunoi
Creator
Creator

yes, there is other alternative: Here