Notifications
Announcements
Hi All,
I have a table in PowerApps with column "Id" (number column )and "Value" (string column). I want the row from the table where Value column has the maximum length.
For example:
It should return abcd.
Hi @Anonymous ,
This should do it
First( Sort( AddColumns( YourTableName, "Longest", Len(Value) ), Longest, Descending ) )
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Visit my blog Practical Power Apps
@WarrenBelz , it worked like a charm. 🙂
@Anonymous ,
Not easily
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 721 Most Valuable Professional
Michael E. Gernaey 320 Super User 2025 Season 2
Power Platform 1919 268