Forum Discussion

CJBoelt's avatar
CJBoelt
Frequent Visitor
3 years ago
Solved

How do I create a DAX calculating the change per sequence?

Here is a Example of what the new graph would be.   Essentially subtracting the actual_hours with all the values in the previous rows. This will provide a measure to show the difference of ch...
  • wdx223_Daniel's avatar
    3 years ago

    =SUM(Table[[Total Actual hours])-CALCULATE(SUM(Table[[Total Actual hours]),TOPN(1,FILTER(ALLSELECTED(Table[SEQ]),Table[SEQ]<MAX(Table[SEQ])),Table[SEQ]))