Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I am trying to link the attached tables (unsuccessfully). Refer attached for details. No matter what i do i receive the following error...
SQL##f - SqlState: 42P01, ErrorCode: 7, ErrorMsg: ERROR: relation "team" does not exist;
Error while executing the query
SQL
SELECT * FROM team
I know its to do with the %TeamKey but i don't have any other field in the Team Table to use.
Any assistance appreciated. Any documentation that could help me better understand this even great.
Good thing is your user table has team ID field. If you can keep same name lets say Team ID in both user table and team table while loading using 'as' keyword, you will have association automatically by virtue of Qlikview association engine. Not much understood from contractor table though. If that needs to be associated, we need some link field with other tables as we have team id common in other tables.
Hi Laura,
In general, if we don't have primary key or primary key is violating then we can create surrogate key or we can even concatenate two tables and can create a composite primary key to link between tables.
If possible, please share with me the sample data, I will create a small poc and will then share with you.
Happy to help!
Sreeni
Good thing is your user table has team ID field. If you can keep same name lets say Team ID in both user table and team table while loading using 'as' keyword, you will have association automatically by virtue of Qlikview association engine. Not much understood from contractor table though. If that needs to be associated, we need some link field with other tables as we have team id common in other tables.
Hi,
As Sreeni said you to create surrogate key using auto number function in Qlikview and link tables.
Vikas