Qlik Community

Qlik Sense App Development

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

gauravgg
New Contributor III

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

Tags (2)
1 Reply

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

May be like this

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

Community Browser