@mahmoodhsaud
Try below formula for onselect property of button.
FYI, max is not a delegable function, will not work directly with underlying datasource. That is why I have created collection to avoid delegation issue.
ClearCollect(Test2List, 'Test 2S');
ForAll(Test2List,
UpdateIf('Test 2S', 'Num 1' = Max(Test2List, 'Num 1'), {'Num 1':0},
'Num 2' = Max(Test2List, 'Num 2'), {'Num 2': 0}))
Test 2S is the entity, Num 1 and Num 2 are the columns.
If it answers your question, give kudo and accept it as solution.
Regards,
Prakash