Qlik Community

Ask a Question

App Development

Discussion board where members can learn more about Qlik Sense App Development and Usage.

Announcements
April 22, 2PM EST: Learn about GeoOperations in Qlik Sense SaaS READ MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
gauravgg
Partner
Partner

Derive a Dimension on Selected Date Range ,Or Calendar(Year,Month,Quarter)

Hi All

I the following table

IDDatePaymentTerms
101/01/2017FOR
102/03/2107Exworks
203/05/2017Exworks
205/10/2017FOR
304/09/2017Exworks
406/06/2017FOR

on selection of date range

I want PaymentTerm by ID by Max Date

This calculation should be done on fly (in presentation layer)

Want to use it as dimension

Thanks in advance

1 Reply
sunny_talwar

May be like this

FirstSortedValue({<Date = {"$(='<=' & Date(Max(Date)))"}>}PaymentTerms, -Date)