Forum Discussion

Vegas95's avatar
Vegas95
Regular Visitor
3 years ago
Solved

help me please

Hi everyone,   I want to calculate some balance sheet indicators. I'm using only one file that contains on the first column the name of the account and in the other columns (for each account) the v...
  • ToddChitt's avatar
    3 years ago

    Create a new MEASURE with code like this;

    My Measure = CALCULATE ( SUM ( 'Table'[Value] ), 'Table[Account] = "A", 'Table'[Date].Year = 2022 )

     

    Note the purposeful exclusion of the logic for also getting Account = B in this measure. I am going to leave it up to you to research the CACLUCATE funtion, and the Logical Or operator.