+ Start a Discussion
Kiran Kumar GottulaKiran Kumar Gottula 

VF Table on opportunity

How to display sum of closes won's sum(amount) , closed lost's sum(amount)  from opportunity in a table.

 

Closedwons  Closedlost

1000/-                    2000/-

200/-                       100/-

 

Based on weekly report

 

Evert week we need to display like that.

 

lz help me

 

ForceMantis (Amit Jain)ForceMantis (Amit Jain)
I don't think these is a direct way to do this you can try using standard report if that provide any option to create a matrix report date used as row and status used as column. You can apply filters to include only opportunity that are closed won or closed lost.

If this doesn't work you need to do all processing in VF page controller.