Hello - I have a simple Dataverse table that looks like this:
| Category |
ID |
| AAA |
1000 |
| AAA |
1200 |
| AAA |
2200 |
| BBB |
3000 |
| BBB |
2800 |
| CCC |
1500 |
| CCC |
4000 |
How can I output the MAX ID for each Category (AAA = 2200, BBB = 3000, CCC = 4000)?
As shown in the attached screenshot, my flow performs the following actions:
1. Lists the rows form the Dataverse table
2. Selects the Category field and removes duplicates
3. Selects the (unique) IDs
4. Pulls the Category Name for each (unique) Category
From here, I thought I could simply use max('ID') but it returns the max('ID') of the whole table even if I'm using the 'Apply to each' action.
Thanks!