Skip to content

Conditional sum - Column values #896

@raphaelspimenta

Description

@raphaelspimenta

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions