Forum Discussion

jbenson's avatar
jbenson
Icon for Helper III rankHelper III
3 years ago
Solved

Current month minus previous month

i am wanting to add a column to my table. i want to be able to subtract the current months forecast number minus the previous months forecast number. i have a month column also in the same table. i h...
  • marcelsmaglhaes's avatar
    marcelsmaglhaes
    3 years ago

    Hey jbenson 

    Lets try something more simple. To do that, you need to have a calendar table (you can create one using DAX if you don't have one).

    Relate the calendar table with your Grain Margin table. After that, create two measures and that's it. See images bellow:

    Best Regards,
    Marcel