I’m trying to filter a gallery by collection with a connection to an sql database.
Here’s the flow:
- End user selects from a group of sales orders (screenshot #1)
- These sales orders are placed into a collection
- I want to take that list of sales orders and pull the associated items from them and put them into a new gallery
I can get the sales orders in the collection fine, but can’t get the second gallery to show the sales order items based on the collection- it returns no records.
I can do this by individual sales order with this code: Search([@'[dbo].[v_PBI_CustomerEquipment]'],tsbSONumber.Text, "SONumber")
Here’s the code using the collection: Filter([@'[dbo].[v_PBI_CustomerEquipment]'],SONumber in SOCollection.SONumber)
Powerapps is showing a delegation warning, but the gallery is not displaying the sales order items.
Below are the screen shots-
#1 shows collecting the sales order numbers into my collection
#2 is where I am expecting those sales order details to show
#3 represents this working while using a single sales order.
