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

Announcements
Talend Cloud AWS EU Scheduled Outage: Starting Tues 26 May 21:00 CEST with expected completion Wed 27 May 01:00 CEST
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Show Dimension of Latest Date

Hi All,

I have a issue where I have below sample data:

Date             |     Name

-----------------------------------

20180101     |     Richard

20180201     |     Emily

Where I want to show column Name with latest Date (20180201), like below output

Date             |     Name

-----------------------------------

20180201     |     Emily

I have try below method:

=IF(TEXT(COUNT({$<Date_Dup={$(=num#(date(max([Date.autoCalendar.YearMonth]),'YYYYMMDD')))}>}SEQ))='1',Name)

* Date_Dup data type is general, is duplicate date I create based on Date field

However the output I gain is

Capture.PNG

Which the field I created is a measure.

What I want is it only show latest records only.

Capture.PNG

2 Replies
sunny_talwar

May be uncheck 'Include Zero Values' under Add-ons -> Data handling

pablolabbe
Partner Ambassador
Partner Ambassador

When applicable please mark the appropriate replies as CORRECT. This will help community members and Qlik Employees know which discussions have already been addressed and have a possible known solution. Please mark threads as HELPFUL if the provided solution is helpful to the problem, but does not necessarily solve the indicated problem. You can mark multiple threads as HELPFUL if you feel additional info is useful to others

Did you find a solution to your question? Mark the solution as accepted and if you found it useful, press the like button! | Follow me on Linkedin