I have a Pivot table.
I want to dynamically get the difference between two values in a column, between two dates.
e.g. in below pivot table, if I want to get the difference in Amt based on the first and last dates in Date column.
Note: the Pivot Table is connected to a Timeline Slicer, and I am using it to change the dates.
Any Suggestions on the formula to use. I am trying GetPivotData, with the Filter, but not sure how to get the first and last dates from the pivot.
I want to dynamically get the difference between two values in a column, between two dates.
e.g. in below pivot table, if I want to get the difference in Amt based on the first and last dates in Date column.
Note: the Pivot Table is connected to a Timeline Slicer, and I am using it to change the dates.
Any Suggestions on the formula to use. I am trying GetPivotData, with the Filter, but not sure how to get the first and last dates from the pivot.
Date | Amt |
---|---|
Jan'21 | 1000 |
Feb'21 | 1500 |
Mar'21 | 2300 |
Apr'21 | 2200 |