There is a column name hours which calculate no of hours employee has worked and a column event which tells event name the employee has participated.I have to calculate rank of a person who has maximum hours and who has participated in maximum events(count of event against his name).also if two person has same rank then display both name in KPI. I want this in frontend.