Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to show comment of txt control

Hello

See qv attached i explained more.

Rgds

Ema

1 Solution

Accepted Solutions
maxgro
MVP
MVP

try this expression in textbox

=if(

GetSelectedCount(Date)=1,

  Only(Comment),

  Only({$ <Date={'$(=max(Date))'}>} Comment)

)

View solution in original post

4 Replies
maxgro
MVP
MVP

try this expression in textbox

=if(

GetSelectedCount(Date)=1,

  Only(Comment),

  Only({$ <Date={'$(=max(Date))'}>} Comment)

)

swuehl
MVP
MVP

Or just

=Only({<Date= {'$(=Date(max(Date)))'}>} Comment)

rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

Make your Text Object expression

=FirstSortedValue(Comment,-Date)

-Rob

sunny_talwar

Or even this

=FirstSortedValue(DISTINCT Comment, -Date)