I am able to create a input text box, and using a paramater, it will allow for a dynamic search. This is good. To make it great, is there a way that as you start typing, the input text box does a "LIKE" or "CONTAINS" search so that any school with the letter appears in the drop-down. Right now, if I enter "J", then only schools that start with the letter J appear in the drop-down to select from (eg Jacksonvile Heights Elementary, or Jupiter Middle School). I would rather the drop-down include all schools that "contain" the letter "J" (eg San Jose Elementary, Jupiter Middle School).
Also, it appears that the filter function no longer works. If I seperate out the school_number and school_name, when I narrow down my school_number search and select a school_number, that school_name does not appear. Even worse, VA will allow you to enter a different school_name than what the school_number is assigned to, so you end up with no results becuase you have the number of one school and the name of another. I have attempted to filter school_name to school_number and school_number to school_name, and I even tried to change from filter to brush, but none worked.
If there is way to do a "contains" search, then the second part of my problem would be solved, as I can concatenate the school_numbber and school_name into one field, then as the user either enters a number or a name, the drop-down would narrow the results down accordingly.
Any suggestions?
José
I was able to do a contains in this way:
( UpCase('School'n) Contains UpCase('School Parameter'p) )
-------------------------------------------------------------------------
Four tips to remember when you contact SAS Technical Support
Tricks for SAS Visual Analytics Report Builders
SAS Visual Analytics Learning Center
I was able to do a contains in this way:
( UpCase('School'n) Contains UpCase('School Parameter'p) )
-------------------------------------------------------------------------
Four tips to remember when you contact SAS Technical Support
Tricks for SAS Visual Analytics Report Builders
SAS Visual Analytics Learning Center
Hi Madely_SAS,
I am able to build this logic thanks for sharing this information.
Adding to this, I am required one more facility on this i.e. when I type anything this should give me list of suggestion like drop down list so that the search would be more efficient as the user will start getting the relevent search in one go.
Otherwise, user has might get larger details and has to make another search with some more relavent keywords.
Thanks
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.
See how to use one filter for multiple data sources by mapping your data from SAS’ Alexandria McCall.
Find more tutorials on the SAS Users YouTube channel.