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

Distinct Drop Down

I have a canvas app where I need to provide only distinct values from a SharePoint list for a field that is a lookup. I used the following and the drop down seems to have been reduced in size however there are no values visible in the dropdown. Can anyone point me in the right direction because I have looked across the internet and can't find any solution.

 

Distinct(Choices([@'New Hire'].Job_x0020_Title), Value)

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Champion
Community Champion

Re: Distinct Drop Down

@eka24 is correct - there is nothing wrong with the syntax.

From your list 'New Hire', there is a lookup field Job_x0020_Title.  Going back to basics, see if

Choices('New Hire'.Job_x0020_Title)

or 

Choices('New Hire'.'Job Title')

 gets you a DropDown list - you can deal with the Distinct after that.

View solution in original post

3 REPLIES 3
Community Champion
Community Champion

Re: Distinct Drop Down

I don't see anything wrong. Try this
Distinct(Choices('New Hire'.Job_x0020_Title), Value)
Highlighted
Helper I
Helper I

Re: Distinct Drop Down

No change...still a filtered drop down by looking at the scroll bar but nothing visible.

Highlighted
Community Champion
Community Champion

Re: Distinct Drop Down

@eka24 is correct - there is nothing wrong with the syntax.

From your list 'New Hire', there is a lookup field Job_x0020_Title.  Going back to basics, see if

Choices('New Hire'.Job_x0020_Title)

or 

Choices('New Hire'.'Job Title')

 gets you a DropDown list - you can deal with the Distinct after that.

View solution in original post

Helpful resources

Announcements
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

Super Users Coming in August

We are excited for the next Super User season.

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,676)