Notifications
Announcements
I have a Primary Column (text) for a vehicle fleet that contains a number. With record entry, I see...
14
2
23
9
Is there a way to sort the Primary column by the numeric content?
@RJF61 - You can wrap the Primary Name column with a non-delegable Value function. For example:
Sort( 'Your Data', Value('Primary NameColumn'), SortOrder.Ascending )
------------------------------------------------------------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved. Remember, you can accept more than one post as a solutionIf you like my response, please give it a Thumbs Up.
@Amik Thanks for the response. I assume this would occur in a Power App and not the Dataverse table?
Hi @RJF61 ,
Sorting with text fields are incorrect though,
I suggest you create a new Field that will hold numeric values of the text field.
Then you can sort with respect to that field.
Hope this helps
Correct. As explained in the other thread, a Primary Name column can either be Text or Auto-Number.
@Ethan_R - this is regarding Dataverse.
Yes @Amik ,
That's why the suggestion of having a numeric field makes sense.
As per below Image, I had to create a sequence number to show proper sorting, since string sorting doesn't work properly. As string (red) will consider 1 -> 10 -> 2 than the numeric (blue) 1 -> 2 -> 10
@Ethan_R - ok I misunderstood you before. Makes sense to me
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 711 Most Valuable Professional
Michael E. Gernaey 319 Super User 2025 Season 2
Power Platform 1919 268