Forum Discussion

RDA_PowerBI's avatar
RDA_PowerBI
Frequent Visitor
7 years ago
Solved

Calculate Difference Between Previous Row

Hi,   I am looking for help calculating the difference between the Numbers column below if  'Table'[Book] = EARLIER ('Table'[Book]) . The column below is what I would need. This would help determin...
  • Greg_Deckler's avatar
    Greg_Deckler
    7 years ago

    Right, so you would subtract the numbers. The intention was to show you how to use MAXX/MINX coupled with EARLIER and other filters to figure out the previous row value that you want to target and then you can use that to calculate what you want.