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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Display one active record

Hi All,

I need to know if there is an option to display one record from a list of active rows/fields in expression similar to script (where RowNo()<1) which gives one record from the uploaded data.

Thanks,

Sai.

2 Replies
jagan
Partner - Champion III
Partner - Champion III

Hi,

In script you need to derive a new column like below

LOAD

RecNo() AS RecordNumber,

*

FROM DataSource;

Now in Straight table just give dimensions you require and give below expression

=Only({<RecordNumber={'$(=Min(RecordNumber))'}>} RecordNumber)

Hope this helps you.

Regards,

Jagan.

anbu1984
Master III
Master III

Expr: If(RowNo() = 1,Field)

If you want to display latest row within a group based on date, then you can use Firstsortedvalue()

Expr: Firstsortedvalue(Field,-date)

If this is not helping you, can you provide sample input and expected output