@Jenny Franklin Apologies I got that wrong. I initially thought I can implement this in the table that we use to build the report, but later realized we want the ranking based on cost and the report uses the cost metric, and not any table column.
By any chance, can we add a column to the table and get the Cost metric value assigned to that column. If yes, I can still use the above solution.
#TBMStudio