Forum Discussion

adgarza's avatar
adgarza
Frequent Visitor
8 years ago
Solved

create a calculated column while ignoring row context

I am tyring to calculate montly percentages from a ledger using a date table. My data looks something like this   So Jan's % = 100, Feb % = 100, Mar % =  100   I can't get it to work in DA...
  • v-qiuyu-msft's avatar
    v-qiuyu-msft
    8 years ago

    Hi adgarza,

     

    You can create a measure below: 

     

    Measure = CALCULATE(SUM('fact'[Amount]),FILTER(ALL('date'),'date'[Year]=MAX('date'[Year])))

     

    Best Regards,
    Qiuyun Yu