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

Announcements
Save $650 on Qlik Connect, Dec 1 - 7, our lowest price of the year. Register with code CYBERWEEK: Register
cancel
Showing results for 
Search instead for 
Did you mean: 
kavieweg
Partner - Creator
Partner - Creator

Data from another table

Hi Guys,

when i create a table in qlik sense nothing is shown in Name because the Value from the order table is not disticnt. I would like to have the Name where the Timestamp is the newest one. Can anyone help?

     
Global Table    
ID Name Status
ABCDE - 900
     
Order Table    
KeeIDNameTimestampStatus
3ABCDEHans Meier 11.01.19900
2ABCDEHans Mayer10.01.19900
1ABCDEHans Maier08.01.19900

 

 

2 Solutions

Accepted Solutions
rogerpegler
Creator II
Creator II

Assuming Timestamp is a date field and not just text, then make Name a measure with an expression something like:

maxstring({<Timestamp={$(=max(Timestamp))}>}Name)

 

View solution in original post

Shubham_Deshmukh
Specialist
Specialist

 Try this : 

=MaxString({<Timestamp={"=$(=max(Timestamp))"}>}Name)

View solution in original post

3 Replies
rogerpegler
Creator II
Creator II

Assuming Timestamp is a date field and not just text, then make Name a measure with an expression something like:

maxstring({<Timestamp={$(=max(Timestamp))}>}Name)

 

Shubham_Deshmukh
Specialist
Specialist

 Try this : 

=MaxString({<Timestamp={"=$(=max(Timestamp))"}>}Name)

Shubham_Deshmukh
Specialist
Specialist

Mark the solution as an answer if it solves your issue