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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

[resolved] selecting rows where column value changed from previous row

how to implement this in talent with tMap. Don't know where to put 'limit 1'
SELECT a.*
FROM tableX AS a
WHERE a.StatusA <>
( SELECT b.StatusA
FROM tableX AS b
WHERE a.System = b.System
AND a.Timestamp > b.Timestamp
ORDER BY b.Timestamp DESC
LIMIT 1
)
Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Hi,
There is no Limit on reading row in tMap which means selecting from the specified location with the specified line number, but you can make a limit in tfileinputxxx component. You can set "head", Footer and Limit in component setting.
Best regards
Sabrina
0683p000009MB4X.png

View solution in original post

1 Reply
Anonymous
Not applicable
Author

Hi,
There is no Limit on reading row in tMap which means selecting from the specified location with the specified line number, but you can make a limit in tfileinputxxx component. You can set "head", Footer and Limit in component setting.
Best regards
Sabrina
0683p000009MB4X.png