Hi,
I'm pretty new to Power Apps and I'm struggling with getting a filter working that is using a collection I've built.
I'm trying to understand if it's possible to delegate the query to SQL whilst using a collection as it returns an error when I try. If I don't delegate to SQL I'm only getting partial results as expected.
I am attempting to build a CPQ within Power Apps and I'm currently working on the Filter functionality, at this point in time the end-user would be selecting product attributes(which upon selection I'm adding to a collection) and then applying a filter on products that have the selected attributes.
The Expression that errors are below:
Filter('[dbo].[Product_ProductAttributes]', ProduAttCollection.AttTypeValueValue in ProductAttributeValue)
The error returned is - Invalid argument type. Cannot use Table values in this context.
Now if I reverse the logic within the expression the query returns but I'm hitting the delegation issue so only receiving a partial result set:
Filter('[dbo].[Product_ProductAttributes]', ProductAttributeValue in ProduAttCollection.AttTypeValueValue)
Any help would be greatly appreciated.
Thanks