Divide by a Row value and Multiply by a constant

Hi @kanishka271

Following @Daniel_Weikert’s trick, you will find below a solution that takes into account your other requirements too:

The extra added trick here is to use a “if-then-else” condition to avoid dividing the last row too:

if($$ROWINDEX$$  + 1 < $$ROWCOUNT$$,
     100 * $$CURRENT_COLUMN$$ / COL_MAX($$CURRENT_COLUMN$$),
     $$CURRENT_COLUMN$$)

Hope it helps.

Best
Ael

5 Likes