Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I'm new to Qlik and trying to join two tables on more than one columns.
Errors Table:
Date | Site | Agent Id | Super Id | Error Type |
Calls Table:
Date | Site | Agent Id | Super Id | ANS |
I'd like to join them on Site, AgentId, and SuperId. Thanks!!
Since there seems to be only one different dimension on each table, just use the applymap function and match the missing dimension of table 2 to table 1
Greetings
Please try:
Errors:
Load
autogenerate( Site&AgentId&SuperId) as Key,
Date as Error_Date,
Site as Error_Site,
[Agent Id] as [Error_Agent Id],
[Super Id] as [Error_Super Id]
Error Type
From <Path/Tablename>;
Join
Load
autogenerate( Site&AgentId&SuperId) as Key,
Date,
Site,
[Agent Id],
[Super Id],
ANS
From <Path/Tablename>;
Please use autonumber not autogenerate sorry for the typo like
autonumber( Site&AgentId&SuperId) as Key,
Thank you I will try this when I get home. Will this be different than a synthetic key or a composite key? Thanks.
Since there seems to be only one different dimension on each table, just use the applymap function and match the missing dimension of table 2 to table 1
Greetings
Are you using QlikView or Sense? I would like to move this into the correct product forum.