Let's say your're populating the dropdown with hosts, you can dedup a few ways in Splunk.
One way would be to dedup the field host:
... | dedup host
Another would be to use stats
... | stats values(host) as host
I generally use the dedup command in this situation: http://docs.splunk.com/Documentation/Splunk/5.0.3/SearchReference/Dedup