Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
ali_hijazi
Partner - Master II
Partner - Master II

get the max date PRIOR TO THE MONTH IN DIMENSION

Hello

I got a pivot table by Month_Year, and Customer

what I want is next to April 2016 I want to display THE MAXIMUM DATE OF THE CUSTOMER PRIOR TO APRIL 2016

and next to May April 2016 THE MAXIMUM DATE OF THE CUSTOMER PRIOR TO MAY 2016

how can I accomplish this

please advise

I can walk on water when it freezes
3 Replies
adamdavi3s
Master
Master

Can you add some sort of a 'sort' column mapped to your month_year then use set to just bring in max where sort=(sort-1)

Chanty4u
MVP
MVP

try

FristSortedValue(Customer,-Datefield)

ali_hijazi
Partner - Master II
Partner - Master II
Author

I want the date not the customer

and date prior to the value of date in the dimension

I can walk on water when it freezes