Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How to show only relevant fields in list boxes ?

Hi all,

I have two list boxes - PeriodType and PeriodKey. I would like to show only relevant list in the PeriodKey listbox based on the PeriodType selection.

In the below example, I have selected 'Year' as my period type. I want to list only the white coloured items in the PeriodKey listbox ?

I used the below expression for the PeriodKey list box. But it still showing the grey items.

=aggr(only({<PeriodKey=P(PeriodKey)>}PeriodKey),PeriodKey)

Capture.JPG

Appreciate any thoughts on this one.

Thank you

3 Replies
ahaahaaha
Partner - Master
Partner - Master

Hi,

Set "Hide Excluded" flag in the list of properties solve your problem?

5.jpg

Regards,

Andrey

Anonymous
Not applicable
Author

Hi ahaahaaha,

Thanks for the reply. The problem with 'Hide excluded' option is as soon as I select one of the option in the PeriodKey list box, only the selected value shows in the list box. Other possible values are hidden.

I would like to see the possible values as well. Any other thoughts?

hide ex.JPG

Thank you,

marcus_sommer

You could use for this an listbox-expression like the following one:

aggr(PeroidKey, PeroidKey)

- Marcus