Hello!
I have two lists:
Main list: Dummy Enforcement Workflow
Lookup reference list: Contact List Conversion
In the lookup reference list, there is a column with employee names, all of which have duplicates. I do not want to see duplicate values in the items in the data card that references the Contact list, and I still want the SP list form to save the selected values.
Thank you! That's the gist of the problem. Please read on if you would like more information.
When I simply use distinct(choices(['@Dummy Enforcement Workflow']),Values), it will display the unique items if I change the field properties to select the 'Results' output. However, the app will not save the selected items to the list.
I understand that the results are in text, and the list is expecting a record. I believe that is where my problems arise. I have tried using Patch in the On Select Property, to no avail.
When I use the below formulas, I get three rows added to the list when I select a contact. One of the three gives me what I would expect. However, I also get two other blank rows that I do not want.

in the Items property

in the On Select property