Hi Community,
Please advice me on the following. For a flow I'm trying to get the max value for a selection of rows.
The data in excel is as follows.
| Item | Vendor | Price |
| ABC | 123 | 1,5 |
| ABC | 456 | 5 |
| DEF | 123 | 2 |
I'm trying to achieve 2 things:
For an item get the Maximum price and the Average price.
The average price I've solved but i'm struggeling with the maximum price.
So first I am getting all the results in my data set filtering on the item.

Then I'm selecting the prices column.
The output of the select is as follows:
[
"3",
"11"
]
To get the average my flow reads as follows (If any suggestions for optimalisation please feel free to add).
Now this gets me the average price.
If I try a similar expression for the max it fails.
max(outputs('List_rows_present_in_a_table')?['body'])I assume this is because the values of the array are non decimal.

That makes sense I am however struggeling to correct this.
Using the XML output (as I do for the average) also results in an error.
Please advice on how the get the maximum purchase price.
Thanks in advance,
Koen