Qlik Community

Ask a Question

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Announcements
Join us at the Cloud Data and Analytics Tour! REGISTER TODAY
cancel
Showing results for 
Search instead for 
Did you mean: 
roy_fredericks
Contributor
Contributor

Return last value

Hi

I have the following spreadhseet. I simply want to return the row with the last 'Sales' value. So in this case it should return

300, EAST

What would be the best way ?

Thanks

3 Replies
sunny_talwar

In the script or the front end?

roy_fredericks
Contributor
Contributor
Author

in the script

sunny_talwar

Try this

Table:

LOAD RowNo() as RowNum,

SALES,

    REGION

FROM

[..\..\Downloads\TESTV1.xlsx]

(ooxml, embedded labels, table is Sheet1)

Where Len(Trim(SALES)) > 0;


Right Join (Table)

LOAD Max(RowNum) as RowNum

Resident Table;