Hi
@Damini Gohil,
You can filter the table using the MAX() function, which will give you the max date in the current filter context.
Then you can filter the table again to find all the dates that are less than the max date and from the filtered table get the max date.
For. e.g. Max date = 16th
Then filter the date column with dates that are less than the 16th and find the max of that, which should be the 15th.
Then using the LOOKUPVALUE() function you should be able to get the prices for both and then do the subtraction.
You will need to use variables as it will make it easier to get the necessary pieces.
Of course this is just a theory that could work.
If you could upload your sample file, we can take a look at it.
Hope this helps.
Thank you,
------------------------------
Vishesh Jain
Owner
VR Construction
------------------------------
Original Message:
Sent: Sep 19, 2019 06:56 AM
From: Damini Gohil
Subject: Compare Value between two dates
Hello !
I need two compare two value between two dates.
I have a list with brand_name, terminal_description, product, price and date, and i need to know the price difference between two dates.
So, i want to add a new column between two dates, which will show the price difference between that 2 dates.
------------------------------
Damini Gohil
BI Developer
------------------------------