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

Distinct dropdown

I have a Sharepoint column (B) in a list (List2) referencing another column (A) in another list (List1). In List2 column B, I need it to show every distinct value of column A via dropdown menu for users to select from. So far using the distinct function I have just gotten errors.

12 REPLIES 12

@mdevaney 

 

It was a lookup field, but you asked me to change to a single line of text

@mdevaney 

Here are some screenshots

 

This is the original lookup field that is successfully pulling fields from the first list based on the value of the "Requested Permission Group" but it is not returning distinct values. 

colbyc_0-1600095628597.png

 

Here's the new field that you asked me to build, it is a choice field. Have yet to input the actual field names.

colbyc_1-1600095819541.png

 

 

@colbyc 
I believe I was just missing the .Result in my previous code.  This will work if Column A is a single-line text type (not a Choices type).

Distinct('List 1', 'Column A').Result

 

---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

View solution in original post

Helpful resources

Announcements
secondImage

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

Top Solution Authors
Top Kudoed Authors
Users online (8,829)