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: 
Irshad92
Partner - Contributor
Partner - Contributor

Not getting the last updated date record using expression.

Dear Team,

I am using below expression to take last updated Movt_653 date for each records but not getting. could you please provide some idea on it.

tried below 2 Expression:

1.FirstSortedValue(count(DISTINCT{<Ageing_542={">0"}>} DISTINCT [/BIC/ZBARCD]),-MovT_653)

2.FirstSortedValue({<Ageing_542={">0"}>}[/BIC/ZBARCD],-MovT_653)

Results screen:

currently using this expression: count(DISTINCT{<Ageing_542={">0"}>} DISTINCT [/BIC/ZBARCD])

Irshad92_0-1637057822638.png

let me know in case of any details.

Regards,

Irshad Ahmad

Labels (1)
2 Replies
edwin
Master II
Master II

why cant you use max instead of last sorted?

Irshad92
Partner - Contributor
Partner - Contributor
Author

Dear Edwin,

I tried using max also, but not getting the expected value.

using max expression:

count({<Ageing_542={">0"},MovT_653={"$(=max(MovT_653))"}>} [/BIC/ZBARCD])

Regards,

Irhsad Ahmad