Hello all and thank you for your time in advance,
I have been trying to solve the following formula statement for the past 2 days and would appreciate some help from more experienced PowerApp users. I have the following situation that I would appreciate feedback on:
Problem Overview:
Using a search box to search titles in a gallery that is populated from a SharePoint list.
Intended Outcome:
- A user can use the sort button to show projects by low or high priority (this portion of the formula is working)
- A user can input text into a search box that will search project title like a general search (not working)
Current working formula statement that allows users to sort projects using the sort button:
SortByColumns(Filter(iMarketingData, Owner0 <> "Not Assigned"),"PriorityValue",
If(SortDescending1,Descending,Ascending))
My last attempt at making a good working formula statement to use a search box:
SortByColumns(Filter(iMarketingData, Owner0 <> "Not Assigned"),"PriorityValue",
If(SortDescending1,Descending,Ascending) &
Filter(iMarketingData, SearchTextInput.Text in Text(ProjectNameValue)))
The working formula gives me the following result, which is great:<br>

The last attempt gives me the following result, I've racked my head many times trying to get the gallery to take the sort descending and the usage of the text search box:
