Forum Discussion

energeyes's avatar
energeyes
New Member
7 years ago
Solved

Help with YTD Sum

I've tried this a number of ways but I have a set of data that I need to create YTD sums for and still be able to filter.  I've created this example set of data that highlights my problem.   . ...
  • autodafe's avatar
    7 years ago

    You don't need a Column.

    You need a Measure that calculates the YTD values, and then put it into a Table in PowerBI

    like:

    TotalExpense= TOTALYD(SUM(Table1[Expense]); Sheet1[Calendar Date])

    Then create a new Table, insert the Date, Name, State, Expense and Total ExpenseMeasure you just created