Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
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
Luminary Alumni
Luminary Alumni

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