I think using Stacked column might be the easiest option if I understand correctly what you want.
Start data:
![jthi_0-1691696648010.png jthi_0-1691696648010.png](https://community.jmp.com/t5/image/serverpage/image-id/55701i80D80F6866E6BD40/image-size/medium?v=v2&px=400)
Stack the data columns (column 2 and column 3):
![jthi_1-1691696669021.png jthi_1-1691696669021.png](https://community.jmp.com/t5/image/serverpage/image-id/55702iC5CBDD0732E1B61B/image-size/medium?v=v2&px=400)
Add new formula column to check if row is max for specific Label
:Data == Col Max(:Data, :Label)
From here you have 1 on those rows which are maximum for labels
![jthi_2-1691696719793.png jthi_2-1691696719793.png](https://community.jmp.com/t5/image/serverpage/image-id/55703iC16A51BF19F47412/image-size/medium?v=v2&px=400)
-Jarmo