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: 
krishna20
Specialist II
Specialist II

finding new and no change status

Day 1 SCD View
FORMULARY_STATUS_ID SOURCE_PRODUCT_METRICS_AIDACCOUNT_IDPRODUCT_CATALOG_IDPRODUCT_METRICS_DIMENSION_IDSTART_DATE_IDEND_DATE_IDSTART_DATEEND_DATEACTIVE_INDCOUNTRY_IDPREV_FORMULARY_STATUSCURR_FORMULARY_STATUS
1sp1ac1pc1pm1a1b11/10/201615/10/2016167NullIn Progress
2sp1ac1pc1pm1a2b216/10/201631/10/2016167In ProgressApproved
3sp2ac2pc2pm2c1d11/11/201615/11/2016167NullRestricted
4sp2ac2pc2pm2c2d216/11/201623/11/2016167RestrictedApproved
5sp3ac3pc3pm3c3d323/11/20161/1/9999167NullRegional Committee
Day 2 SCD view
FORMULARY_STATUS_ID SOURCE_PRODUCT_METRICS_AIDACCOUNT_IDPRODUCT_CATALOG_IDPRODUCT_METRICS_DIMENSION_IDSTART_DATE_IDEND_DATE_IDSTART_DATEEND_DATEACTIVE_INDCOUNTRY_IDPREV_FORMULARY_STATUSCURR_FORMULARY_STATUS
1sp1ac1pc1pm1a1b11/10/201615/10/2016167NullIn Progress
2sp1ac1pc1pm1a2b216/10/201631/10/2016167In ProgressApproved
3sp2ac2pc2pm2c1d11/11/201615/11/2016167NullRestricted
4sp2ac2pc2pm2c2d216/11/201623/11/2016167RestrictedApproved
5sp3ac3pc3pm3c3d323/11/20161/1/9999167NullRegional Committee
6sp4ac4pc4pm4c4d423/11/20161/1/9999167NullRejected
7sp5ac5pc5pm5c5d523/11/20161/1/9999167NullRestricted

output is:

sp4(6) and sp5(7) are new records in day 2 scd view

and sp3(5) is old record but status is not changed

Need your help finding solutions for this

0 Replies