Greg_Deckler
Community Champion
6 years agoLookup Min/Max
This one or some variation of it comes up constantly in the forums so I'm surprised that there is no pattern in the Quick Measure Gallery for dealing with it. The problem generally goes along the lin...
Anonymous
6 years agoNot applicable
thanks Greg,
my table looks like this, so there are multiple repeating scenario ids, and for example COP-0001 will have step numbers 1-35, i basically need to return the lowest, which should be 1 and the highest, 35, and access those date records.
Im trying your code, but not sure about the __Table and ___Value parts/
Could you paste an example code following your pattern
Business Unit Stream Scenario ID Step Number Planned Date Execution Date
| Chile | Finance | COP-0001 | 1 | 2020/04/24 | |
| Chile | Finance | COP-0002 | 1 | 2020/04/24 | |
| Chile | Finance | COP-0003 | 1 | 2020/04/24 | |
| Chile | Finance | COP-0004 | 1 | 2020/04/24 | |
| Chile | Finance | COP-0005 | 1 | 2020/04/24 | |
| Chile | Finance | COP-0006 | 1 | 2020/04/28 | |
| Chile | Finance | COP-0007 | 1 | 2020/04/28 | |
| Chile | Finance | COP-0008 | 1 | 2020/04/28 | |
| Chile | Finance | COP-0009 | 1 | 2020/04/24 | |
| Chile | Finance | COP-0010 | 1 | 2020/04/24 | |
| Chile | Finance | COP-0011 | 1 | 2020/04/24 | |
| Chile | Finance | COP-0012 | 1 | 2020/04/28 | |
| Chile | Finance | COP-0013 | 1 | 2020/04/28 |