On previous row total not working?

i have problem in my purchase invoice, once i choose the “on previous row total” they didnt display the amount and the total.

You need to expand the menu and input the row number whose total on which you want to compute “on previous row total”.