I have a named formula table that is dependent on a data source, I noticed that I'm unable to sort this named formula with both Sort and SortByColumns. Note that I was sorting by a number column.
The data source is SharePoint.
Here is a sample of the code
//Named formula
TblRequests = Sort(Requests, Created, Sort.Descending);
//Text property of TextInput control
First(Sort(Filter(TblRequests, StatementValue <> Blank()),StatementValue, Sort.Descending)).StatementValue
I tried but I seem to be able to do this just fine. Just to clarify, the named formulas is a table. You then use that named formula and try to sort it, correct?
Also, you mention a dependency on a datasource... what is the nature of this dependency? And does it work with a table not dependent on a datasource (that definitely works for me)? What kind of datasource is it (dataverse, sharepoint, etc.)?
Stay up to date on forum activity by subscribing.
WarrenBelz
637
Most Valuable Professional
stampcoin
570
Super User 2025 Season 2
Power Apps 1919
473