Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conditional sum - Column values #896

Open
raphaelspimenta opened this issue Jan 5, 2015 · 0 comments
Open

Conditional sum - Column values #896

raphaelspimenta opened this issue Jan 5, 2015 · 0 comments

Comments

@raphaelspimenta
Copy link

Hey there!

Does anyone know how to make a sum of column values by checking an other column values? What I need to do is show at the end of the table the sum of the credit value less debt values. I'm using "setSqlExp" with the SUM function. But that sum all without considering whether it is credit or debit.

Has anyone done something like that?

Thanks and sorry for my bad english.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant