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.
Solved! Go to Solution.
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.
Here's the new field that you asked me to build, it is a choice field. Have yet to input the actual field names.
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."
Check out new user group experience and if you are a leader please create your group
We are excited to announce that Demo Extravaganza for 2021 has started!
On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks
Don't miss the call this month on June 16th - 8a PDT