Forum Discussion

Denet's avatar
Denet
Regular Visitor
5 years ago
Solved

Measure SUM + IF

Dear all, please help. I have a table in which I want to separate debtors from creditors     I created 2 measures: Debitors = IF(CALCULATE(SUM('Table'[Summ]))<0,CALCULATE(SUM('Table'[Summ]...
  • Icey's avatar
    5 years ago

    Hi Denet ,

     

    Try to create another measures to get the right total value like so:

     

    Debitors - Modified =
    SUMX ( 'Table', [Debitors] )
    

     

    Creditors - Modified =
    SUMX ( 'Table', [Creditors] )
    

     

    Please check if these measures could help you.

     

    Best Regards,

    Icey

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.