Hi everyone,
I have 2 drop-down lists, each connected to different Sharepoint list.
First drop-down list is named “ListCollab” and is connected to a SP list called “Collaborateur”, a simple list with one “Title” column (I forgot to hide the ID column). It has the name of the different type of employees
Second drop-down list is named “ListTheme” and is connected to a SP list called “Themes”, that has a “Title” column, and a “Collaborateur” column, which is a lookup column connected to the first “Collaborateur” SP list. That column is NOT multichoice.
On PowerApps, the “ListCollab” drop-down list has the “OnChange” code as below :
Set(colTheme;Filter(Thèmes;Collaborateur.Value = ListCollab.Selected.Result))
And the “ListTheme” drop-down list has the “Items” code as below :
Everything is working as it should : when I select an item from the first drop down list, It shows me the attached items in the second drop down list
PROBLEM :
In the “Collaborateur” column from the “Theme” SP list, I wanted to switch from single choice to multichoice, so I could allow one Item to have multiple category. That would also allow me to have one item from the "Theme" SP list to appears for different "Collaborateur" item (I don't know if that part is clear)
QUESTION :
How do I change the “OnChange” code from the ListCollab drop-down on Power Apps ?
Set(colTheme;Filter(Thèmes;Collaborateur.Value = ListCollab.Selected.Result))
I’ve tried many things, and getting plenty of errors
Thanks in advance for your help,
Romain

Report
All responses (
Answers (