Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
qlikviewwizard
Master II
Master II

Latest Salary of the employee

Hi All,

How to implement SCD for the below scenario.

I want to pick latest designation and Salary of the employee.

Thanks in advance.

EMPNOENAMEJOBMGRHIREDATEPRMOTIONDATESALCOMMDEPTNO
7369JONESJr Engineer790212/17/2000 0:008/29/2002 0:00800NULL20
7369JONESEngineer790210/23/2003 0:0011/14/2010 0:00160030030
7369JONESSr Engineer790211/15/2010 0:004/1/2015 0:00125050030
7369JONESMANAGER78394/2/2015 0:009/9/9999 0:002975 20

1 Solution

Accepted Solutions
Gysbert_Wassenaar

You can use the firstsortedvalue function. See attached example.


talk is cheap, supply exceeds demand

View solution in original post

2 Replies
Gysbert_Wassenaar

You can use the firstsortedvalue function. See attached example.


talk is cheap, supply exceeds demand
qlikviewwizard
Master II
Master II
Author

Many Thanks QV Guru