Skip to main content
Announcements
Jan 15, Trends 2025! Get expert guidance to thrive post-AI with After AI: REGISTER NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

I am not able resolve synthetic key in the data model

I am following a book "Qlikview Essentials" which includes Adventure Works data model. But I am not able to resolve the synthetic keys. Can anybody please help me in resolving the same.

1 Solution

Accepted Solutions
johnw
Champion III
Champion III

OK, so now you're joining the employee information onto the sales person table. Don't do that either.

View solution in original post

6 Replies
MK9885
Master II
Master II

Synthetic keys can be avoided but I cannot suggest until I see the data.

From those Images I can say Concatenate Employee table and Orders Table as they have few fields in common.

Can you upload the sample data with your sample qvw?

johnw
Champion III
Champion III

Your orders table looks broken. It probably shouldn't have anything from the synthetic key on it except for the employee ID. Somewhere in the script you're probably joining all the employee information onto the orders table.

Not applicable
Author

Yes. Thanks. I have commented "employees let join (orders)". Butdata_model_1.png now data model looks like attached one.

johnw
Champion III
Champion III

OK, so now you're joining the employee information onto the sales person table. Don't do that either.

Not applicable
Author

Thanks John. I used concatenate operator between Employees and SalesPerson tables. Which is not written in the book it seems.

Not applicable
Author

Thanks. Solved it.