Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Slow Changing dimension

Can someone please help me? I am rather new to Talend, and I am trying to take a set of positional files and create a historical view of them. I am trying to utilize the slow changing dimension function but can not get it to function properly. I keep getting an Invalid column name error, even if i change to a valid column. Please look at the pictures below. any help is much appreciated. Thanks.
0683p000009MDCw.png0683p000009MDBk.png0683p000009MDQ4.png

Labels (2)
8 Replies
Anonymous
Not applicable
Author

I have gotten past the unknown column name. now i am stuck with an error that reads;
SCDSK_tMSSQLSCD_8 cannot be resolved to a type.
Row1 cannot be resolved to a type.
Syntax error on toke ".", class expected after this token.

Does anyone have any ideas on how to resolve any of these errors?

Anonymous
Not applicable
Author

The SCD feature needs to know what is the source key to detect if an data set has been changed or not.
You have to declare which columns contains a key for the sources.
You can only find changes if you have something what keeps unchanged!

Anonymous
Not applicable
Author

jlolling
I have set a source key, for a column that is constant.
and now i am getting the errors that are in the picture attached.
0683p000009MDRu.png

Anonymous
Not applicable
Author

Yes, because you don't have changed the default settings from the SCD component.
SCD need two additional columns to store the timestamps when the dataset starts and when the dataset ends.
Add to your output table these both timestamp columns (best way call them like the component suggest).

Anonymous
Not applicable
Author

So if i rename them to EFF_DT and TERM_DT in my output and on the SCD it should work?

Anonymous
Not applicable
Author

of i think i have it almost there but i can not get rid of this last error. it says errorMessage cannot be resolved or is not a field.
I have taken the error message portion off my mapping on input and outputs and i still recieve the error.
0683p000009MDPp.png

Anonymous
Not applicable
Author

Ok i am still strugling with this i am almost there though. I now just can not get my surrogate key to populate or the dates for my scd_start and scd_end. below are some screen shots please let me know if you can help out in any way.
0683p000009MD6y.png0683p000009M7gt.png

Anonymous
Not applicable
Author

You have to provide the name of the surrogate key column defined in the Dimension table to SCD editor of tMySQLSCD component.
For more details on Implementing SCD using Talend visit following links:
SCD (Slowly Changing Dimensions) Type 1
http://vikramtakkar.blogspot.com/2013/03/implementing-scd-type-1-slowly-changing.html
SCD (Slowly Changing Dimensions) Type 2
http://vikramtakkar.blogspot.com/2013/03/implementing-scd-slowly-changing.html
SCD (Slowly Changing Dimensions) Type 3
http://vikramtakkar.blogspot.com/2013/03/implementing-slowly-changing-dimensions.html
Regards
Vikram Takkar
http://vikramtakkar.blogspot.com
skype: vikram.takkar