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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Get the Last previous date value

Dear All,

            I need a solution for this query,

utput  : If I select the date 10-sep-2011 then I should get the value for  07-sep-2011(200)

Regards,

Ravi.

2 Replies
jagan
Partner - Champion III
Partner - Champion III

Hi,

Try this, hope this helps you.

= Date(Max({<DateField={'<$(=Date(Max(DateField)))'}>} DateField))

Regards,

Jagan.

CELAMBARASAN
Partner - Champion
Partner - Champion

Hi,

     try with this expression,

          =FirstSortedValue({<Date={"<$(=Date)"}>} Value,-Date)

     It works perfectly if the date is selected.

Hope it helps

Celambarasan