Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to compare value of current date with previous date

Dear All,

I need to compare the price of the current date with the previous date price.In my database i don't have dates in an order. i ll explain the scenario.

I have data like follows.

Purchase date  ItemID     Price

25-03-2011        AX124    7000

28-03-2011        AX124    10000

31-03-2011        AX124    9000

04-04-2011       AX124    12000

This s my scenario. now i need to compare the price of latest date, i mean 04-04-2011  with previous purchase date ( 31-03-2011 ).

Thanks in Advance,

Rathishkumar.

1 Solution

Accepted Solutions
SunilChauhan
Champion II
Champion II

see the attached file

hope this helps

Sunil Chauhan

View solution in original post

3 Replies
SunilChauhan
Champion II
Champion II

see the attached file

hope this helps

Sunil Chauhan
Not applicable
Author

Hi,

Please see the attached file for details.

Thanks

Vivek

Not applicable
Author

Hi,

Thanks for ur reply it works good.

Cheers,

Rathish