+ Start a Discussion
imishraimishra 

Calculation between columns in page block table

Hi,

I have a custom object in which i have 2 different stages.

I am pulling some fields(type: number, formula) based on 2 different stages in 2 different columns  in a page block table.

In the 3rd column i want to calculate the difference between the 1st two columns.

 

Please let me know how to do this.

 

Thanks in advance.

Best Answer chosen by imishra
EguiEgui

Hi,

 

You have to do the calculation in a controller extension and add it to your page.

All Answers

EguiEgui

Hi,

 

You have to do the calculation in a controller extension and add it to your page.

This was selected as the best answer
imishraimishra

Thanks for the reply.

Can you give me an example hoe to calculate.

Currently I have 2 lists where in I am fetching the same values but different conditions(i.e. different stages).

How do i calculate the difference from the lists.