• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

I have a Pivot. I want to get the dynamically get the difference between the highest and lowest columns

GautamG

New Member
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.

DateAmt
Jan'211000
Feb'211500
Mar'212300
Apr'212200
 
GautamG
As You've read Forum Rules from
How to get the Best Results at Chandoo.org
>>> For the best/fastest results, Upload a Sample File...

With it, others could have better possible to give any kind of suggestions for You.
 
I have attached the file as well with my query.

can any one help on what formula to use to get the data for below two queries:
Sum of Amt from Earliest Month in Pivot
Sum of Amt from Last Month in Pivot
 

Attachments

  • Date query.xlsx
    125.6 KB · Views: 3
Back
Top