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:
ID | Value |
1 | abc |
2 | a |
3 | abcd |
It should return abcd.
Solved! Go to Solution.
Hi @HarshJaswal ,
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
Hi @HarshJaswal ,
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
User | Count |
---|---|
165 | |
90 | |
73 | |
64 | |
62 |
User | Count |
---|---|
211 | |
153 | |
96 | |
87 | |
66 |