Skip to main content
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

];

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful

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

];

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
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