Hello,
I am hoping this is a simple answer for someone. I have a simple list in sharepoint with a choice column (example: Red, Blue, Green). In my form a have a multiple choice list box with the same items (Example Red, Blue, Green).
In my form I want to be able to filter my Sharepoint list based on the choice column. For example, on my form I click Red in my list box, I am expecting it to return all items that that match Red from my Sharepoint choice column.
Since its a multiple choice column, I would also expect that if I select Red, Blue in by selection box, it should return all items that that match Red and Blue from my Sharepoint choice column.
I tought this was going to be a simple formula:
ForAll(Sharepoint_Source_Data,
If(Colors = Data.SelectedItems,
Collect(Filtered_Collection, ThisItem)
)
)
But this dosent work and give me errors saying the equal in my formal is not valid.
Any ideas how to accomplish this?
Update:
I feel like im getting closer but still cant get this to work. Heres where im at:
Clear(Collection_List);
ForAll(Sharepoint_Source_Data,
ForAll(Combox.SelectedItems,
If(Value in Sharepoint_Source_Data[@Color],
Collect(Collection_List, {Color: Sharepoint_Source_Data[@Color]} )
)
)
)