Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
antonaks
Creator II
Creator II

Value with last update

Hello Colleagues!

I have an issue, and can't solve it.

For example, I have data like in table:

    

ClientDateUpdate timeResult
AAA03-05-1814:30910.29
AAA03-05-1813:25181.11
AAA03-05-1812:10616.89
AAA02-05-1815:40890.93
AAA02-05-1812:3025.52
BBB03-05-1819:48969.58
BBB03-05-1815:08759.28
BBB03-05-1813:34276.29
BBB03-05-1810:22493.25
BBB02-05-1812:10657.09
BBB02-05-1815:40516.63
CCC03-05-1814:30496.91
CCC02-05-1813:25499.3
CCC02-05-1812:10932.85

I what create expression with set analysis which will get values in latest update time, but group by client and day.

I know how it make in load script, but I need set analysis expression for use it in chart.


Final result should be like this -

    

Final result
AAA03-05-1814:30910.29
AAA02-05-1815:40890.93
BBB03-05-1819:48969.58
BBB02-05-1815:40516.63
CCC03-05-1814:30496.91
CCC02-05-1813:25499.3

Thanks for any help.

13 Replies
jyothish8807
Master II
Master II

Hi Anton,

You do not require sum() function in this case, simply use first sorted value as mentioned in above example.

Br,

KC

Best Regards,
KC
antonaks
Creator II
Creator II
Author

But I have another dimensions in main table. Like Dates and Accounts.

If I will use only "first sorted value" I will get only one value, but I need sum().

antonaks
Creator II
Creator II
Author

I can share a full data table if it helps.

jyothish8807
Master II
Master II

Hi Anton,

Yes, that will be really helpful along with the expected output

Br,

KC

Best Regards,
KC