cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper III
Helper III

Filterering Distinct Results in a DropDown

I currently have a drop down control with this formula:

Distinct('BAU Course Dates',Course.Value)

This works fine.

I would like to also have a filter on this so it also only shows the items that contain the word "Ellispe". I have tried this but i did not work.

Filter(Distinct('BAU Course Dates',Course.Value),Choice.Value = "Ellispe"

Thanks

 

 

4 REPLIES 4
Highlighted
Super User
Super User

Re: Filterering Distinct Results in a DropDown

Hi @BenGillard,

Try this:

Filter(Distinct('BAU Course Dates',Course.Value),Find("Ellispe",Course.Value))

Emmanuel

Highlighted
Helper III
Helper III

Re: Filterering Distinct Results in a DropDown

Thanks for your reply:

I now get this: Find has some invalid arguments 😞

Filter(Distinct('BAU Course Dates',Course.Value),Find("Ellispe",Course.Value))
Highlighted
Super User
Super User

Re: Filterering Distinct Results in a DropDown

Ok... Is your Course column a choice or lookup column type ?

Super User
Super User

Re: Filterering Distinct Results in a DropDown

@BenGillard 

You will basically want to filter the results of the Distinct based on the results containing "Ellispe"

 

So, consider this formula for your Items:

   Filter(Distinct('BAU Course Dates', Course.Value), Find("Ellispe", Result)>0)

 

As @R3dKap suggests, if this is a Choice type or Lookup column, you may need to adjust accordingly. 

 

Hope this helps.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up. Solved your problem? - Click on Accept as Solution. Others seeking the same answers will be happy you did.

Helpful resources

Announcements
Check this Out

Announcing

Class of 2020- Season 2

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (7,626)