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

Announcements
Q&A with Qlik - Qlik Cloud Migration: Questions about migrating to Qlik Cloud? Catch the latest replay!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How to compare last date price?

Dear all,

i need an expretion for this scenario,

i want to compare the latest purchase price with last purchase date.

Eg:if product purchase date is 12/2/2010 with price is 12000,

                  last purchase date 5/2/2010.with price is 50000,

thanks

arunreddy

Labels (1)
1 Reply
pover
Partner - Master
Partner - Master

arunreddy,

Here's one way to do it.  You should add 2 columns to the data model that contain the last and 2nd last purchase dates that permit you to do a sum(if(...)) in the interface.

Karl