-1

I have a problem on on Qlikview. I would like to get the associated value of the max date when I select and ID. For example, if I have the following data:

id value date
1    2    1
1    4    2
1    6    3
1    5    4

When I select ID=1 I would like to get the associated value of the max date (4), which is 5 Thank you!

Stefan Stoichev
  • 4,615
  • 3
  • 31
  • 51

1 Answers1

1

You can use set analysis to achieve this:

= Sum( {< date = {"$(=Max(date))"} >} value )

You can read more about set analysis on Qlik Help website

Stefan Stoichev
  • 4,615
  • 3
  • 31
  • 51