Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
kavieweg
Partner - Creator
Partner - Creator

Last record for latest timestamo

Hi togehter,

i would like to have the latest (eventtype and Kee) for the latest timestamp of the selected Customer

CustomerValDepotKeetimestampeventtype
A0406391441.522.783.109.000,006
A0406391431.522.782.099.000,005
A0406390841.522.763.602.000,004
A0406390601.522.754.579.000,003
A0406386631.522.199.638.000,0010
B0406385561.522.163.379.000,006
B0406385441.522.161.117.000,005
B0406384621.522.131.967.000,004
B0406384541.522.129.900.000,003
B0406382071.521.816.258.000,004
C0406381931.521.811.602.000,003
C0406381801.521.805.247.000,006
C0406381701.521.801.280.000,005
C0406375641.521.723.207.000,004
C0406375581.521.720.757.000,003

Thanks for help

Mathias

19 Replies
sunny_talwar

Fixed the calculation for DateandTime (not that it matters)

Capture.PNG

kavieweg
Partner - Creator
Partner - Creator
Author

Yes 🙂

kavieweg
Partner - Creator
Partner - Creator
Author

Hi Sunny, this worked. but not if I want the result (e.g.event ) in a KPI

sunny_talwar

This should still work when a single Customer is selected in a KPI object... what would you want to see when there are multiple Customers?

kavieweg
Partner - Creator
Partner - Creator
Author

Yes. I forgot to say this 😞 - I need one result for each customer (yes I have multiple customer 🙂 - I will modify my data table.

sunny_talwar

What do you want the KPI to show when no Customer is selected?

kavieweg
Partner - Creator
Partner - Creator
Author

Nothing 🙂

Can you also link Customer and ValDepot as unique?

Because I can also have customer A in ValDepot 0420 eg. 🙂

sunny_talwar

I understand what you mean, but I am not sure I understand the outputs you are expecting to see in various scenarios. It would help if you can be very specific

kavieweg
Partner - Creator
Partner - Creator
Author

🙂

I want the eventtyp and the kee for each customer (and later in each ValDepot) but only of the latest timestamp

🙂

A0406391441.522.783.109.000,00

6

B0406385561.522.163.379.000,006
C0406381931.521.811.602.000,003
sunny_talwar

In a KPI? or in a chart? If this is in a chart... my expression above still stay the same... if this is in a KPI... I am not sure how you want to show this much information in a KPI object... if you have 1000 customers, you would want the KPI to show all 1000? Will be very user unfriendly, but if that is what want, You just need to add Concat(Aggr(Expression, Customer), Chr(10)) to show that