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: 
nishanthi_8
Creator
Creator

How to compare the same field values which differs but it has common primary key ?

Suppose if  I have,

primary_key   Name    some_value

101                XXX            A23

102                YYY            S56

103                ZZZ             T74

101                XXX            R88

Now  I need to update the changed value in the design part along with the old value in a pivot table. How to do so?

14 Replies
nishanthi_8
Creator
Creator
Author

thank you .. it works

Anonymous
Not applicable

MaxString(some_value)  or FirstSortedValue(DISTINCT some_value, -primary_key  )

Digvijay_Singh

FirstSortedValue won't work here, as for duplicate values of primary key it will show null in expression.

nishanthi_8
Creator
Creator
Author

THANKS IT WORKS

Anonymous
Not applicable

Hi Nishanthi,

Please take a moment to mark a reply as Correct in order for the thread to show as Answered. You can also mark other replies as Helpful if they assisted you.

Take a look at this document for more info: Qlik Community Tip: Marking Replies as Correct or Helpful

Best,

Qlik Community Moderation Team