Exploring, predicting and reporting with SAS Visual Analytics and SAS Visual Statistics

Search Control / Functionality

Reply
Contributor
Posts: 26

Search Control / Functionality

Hello guys,

I would like to apply a search on a drop-down control. Do you know if it's possible or the best workaround for this functionality?

 

The data on the Drop-down has too many elements and the user would like to do a search to find a specific element.

 

Thank you in advance.

 

Cheers,

Rorigo

 

Regular Contributor
Posts: 208

Re: Search Control / Functionality

Posted in reply to rodrigo_pereira
Hi,

Instead of Dropdown, use List Control.

Thanks,
Teja
Contributor
Posts: 26

Re: Search Control / Functionality

Posted in reply to TejaSurapaneni

Hello Teja,

thank you for your answer. I've already tried that before without success. 

 

How can I search for a specific element in a List Control?

 

Regards,

Rodrigo

Senior User
Posts: 1

Re: Search Control / Functionality

Posted in reply to rodrigo_pereira

Work around:

Add a Text Input-control to your report. Create a parameter on this Text input (say Parameter1).

Add a filter to your Dropdown-object like this:

( LowerCase('ElementName'n) Contains LowerCase('Parameter1'p) )

 

As the user inputs text in the Text Input-control, the possible choises in the DropDown is limited to those elements that contains the inputted text. The full list of elements is showed in the Drop Down when the TextInput is empty.

Ask a Question
Discussion stats
  • 3 replies
  • 207 views
  • 1 like
  • 3 in conversation