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: 
lmit
Creator II
Creator II

Scd type 2 without using component

Hi all,

How can I implement scd type 2 without using scd type 2 components?

For sample
Id,name,course,key
1,xxx,jjj,k1
2,yyy,KKK,k2

For first load data will be loaded as its is.for second load if data is like below
Id,name,course,key
1,ccc,jjj,
3,ddd,lll

My output should be

Id,name,course,key
1,xxx,jjj,n
2,yyy,KKK,k2
1,ccc,jjj,y

The key column for old record should change to n and new one should be y

Any help would be helpful.

Thanks in advance,
Lmit
Labels (2)
24 Replies
lmit
Creator II
Creator II
Author

Hi arpit,

Strange mine was also int datatype only.can you try below one
!(varid== null)

Thanks,
Lmit
Anonymous
Not applicable

Hi arpiita
About the compile error, check the 'nullable' box of userid column in the row1 schema.

Regards
Shong
Anonymous
Not applicable

Still getting error

Job:

0683p000009LtNA.png

Tmap

0683p000009LtCK.png

Error;

0683p000009Lt9P.png

 

Thanks,
Arpit

Anonymous
Not applicable

Can someone have look at this and tell me where i am going wrong?

please its urgent.

Anonymous
Not applicable

Hello,

Did you put your filter in expression filter? Please use "||" instead of "&&" in your expression.

Best regards

Sabrina