Forum Discussion

Cavring's avatar
Cavring
Icon for Helper I rankHelper I
9 years ago
Solved

Total in a matrix is not considering negative values

Hi I have a matrix with a range of numbers. The problem is that the total sums up all numbers as if they were were postive.   Problem: 2 735 000 + (-3 213 204) = 5 948 204 Should have been: 2 735...
  • Cavring's avatar
    Cavring
    9 years ago

    Thank you Vvelarde

     

    I found a solution with using a collumn (instead of a measure) and the formula:

    Beløp med fortegn = if('Kontooversikt'[Fortegn]>0;'Økonomi'[Beløp];-'Økonomi'[Beløp])

     

    It worked, so I am happy with that. Thank you for helping though

     

    Regards, 

    Espen