
Hello Community,
Looking for guidance.
I have gallery control SortByColumns on Autoincremented ID.
SortByColumns(Database,"id",Ascending)
However my gallery Ascending is wrong:
(I have 1, 2, 3,.... 18 ID in the dataverse)
I wanted the ID to display in ascending order.
I am not sure what is wrong with the formula.
Any help is appreciated.
Your number seems to be Text so I believe you need:
Sort(Database,Value("id"),Ascending)Although you may get delegation warnings.
---------------------------------------------------
Please Accept as Solution if it solves your question. Or just give it a Thumbs Up if it is helpful as can help others.
Subscribe: https://www.youtube.com/channel/UCFpvUlpx84FuIPOdInGKMTw
Twitter: https://twitter.com/assist_365
Regards
Darren Lutchner - 365 Assist