I have a Gallery I want to filter. I want to display all elements whose categoryID are in a list of values, defined as a collection.
My collection "Categories" is : 1,2,3,4,5
I tried something like : Filter(Gallery, categoryID in Categories) but it doesn't work .
All the examples I could find with "in" operator only work with one value, not with a list (eg: "1" in categoryID)
Can anyone help on this, this would be so bad not to be able to do this !!
Would you please share a screenshot of the formula that you used to create the "Categories" collection?
Any error messages showing out with the formula you used?
I just tried that formula from my side, and it works.
The formula I used to create the collection is as below:
In addition, you may also take a try with the formula below:
Filter(Gallery, categoryID in Categories.value)
thanks for the reply. I used your way to define the following collection : Collect(SelectedCategories; ["1";"2";"3";"4";"5";"6";"7";"8"])
But sill I have the following error (translation from French) : Suggestion, a part of the formula can't be evaluated from distance. The right side of the operator "in" is not a column name
You need to add the column name, probably. Please try this:
Filter(ServiceCatalogue, CategoryID in SelectedCategories.Value)
Also, you have an extra ; at the end of the formula
It sounds like you are having an issue filtering your gallery against another collection.
Can you share what formula you are currently using and how your app works? Screenshots would be helpful.
Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.
Fill out a quick form to claim your user group badge now!
Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities
Features releasing from October 2019 through March 2020
Join us for the Microsoft Business Applications Virtual Launch Event on Thursday, April 2, 2020, at 8:00 AM PST.
Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications