Forum Discussion

hansaraneda's avatar
hansaraneda
Helper I
5 years ago
Solved

help with measure

I need to take a measure and place it in all the rows. to later perform a subtraction between two variables, I can calculate the measure but I cannot replicate it in all the rows or perform the calcu...
  • AllisonKennedy's avatar
    5 years ago

    @hansaraneda You can add ALL() if you want it to be calculated on all data/rows.

    previous balance amount 2 - DIVIDE(CALCULATE(SUM(Query1[saldo_anterior])),(CALCULATE(SUM(Query1[saldo_anterior]),Consultation1[Label]-"Entry of Ordinary Activities", ALL())),0)