Hi @jonny_anything ,
Could you please share a bit more about the ProductsCol data source in your app? Is it a Excel table or a Collection?
Based on the error message screenshot that you mentioned, I think there is something wrong with the ProductsCol data source.
Please make sure that there is already a ProductsCol table data source added within your app.
I have made a test on my side, and don't have the issue that you mentioned. Please make sure you have specified proper table data source within your Filter formula. If the data source you used in your app called 'Products', please modify your formula as below:
Set the Items property of the ProductsGallery to following:
SortByColumns(
Filter(
AddColumns(Products, "CategoryName", LookUp(Categories, CategoryId=ProductsCol[@CategoryId], CategoryName)),
SearchBoxText.Text in ProductName,
If(!IsBlank(SelectedCategory), CategoryName = CategoriesGallery.Selected.CategoryName, true)
),
If(category = "Reviews", "Comments", "Available"),
If(category = "Reviews", Descending, Ascending)
)
Please take a try with above solution, then check if the issue is solved.
Best regards,