condition for Sum in footercallback

condition for Sum in footercallback

SradesignSradesign Posts: 25Questions: 4Answers: 1
edited December 2015 in Free community support

Hi

How can I have conditional calculation in footercallback for example now we can calculate the Sum of a column which works perfectly. I want to know how we can do calculate the sum if the condition met? lets give you an example I have a colum which show the profits on each trade in footer I want to show total loss(sum of the negative numbers) and total win(sum of the positive numbers).

Best regards,

Ali.M

Replies

  • SradesignSradesign Posts: 25Questions: 4Answers: 1

    How to achieve this?

  • SradesignSradesign Posts: 25Questions: 4Answers: 1

    Ok I fixed it I made 2 other invisible column one keep the negative data and changed the positive data to 0 and the other one do the same for the positive data. then do the total sum for those column is not the best solution but it works for now.

This discussion has been closed.