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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
paolojolly
Creator
Creator

FirstSortedValue as dimension field and min date problem

Hi All,

I have a problem with the following document:

In a table for each item i have price and date of document fields

I need to have in a a pivot chart for each item the last price in the filtered period and the first and last document date of this price

I need to calculate the information directly on pivot chart without change script

I tried using FirstSortedValue in dimension but i have a problem with the calculation of the first date.

For example for item 005 last price is 0.94, last doc date for this price is 04/11/2014 and fist date for this price should be 15/10/2013.

Using MIN(DATA_RIF_DOC) for calculation the first date I get 07/01/2009 but it is wrong

I attach a sample document

Can someone help me?

Many thanks

Labels (1)
0 Replies