Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Criar campo concatenado 2 tabelas diferentes

Bom dia Pessoal preciso de um help com QlikSense

Estou carregando essas duas tabelas e na segunda gostaria de fazer a junção de dois campos, (1 da primeira tabela e outro da segunda) para que a informação seja apresentada em um campos na minha tabela, porém, não estou conseguindo criar esse campo junto. Sabe como fazer?

Tickes:

LOAD

     [Incident ID] as IncidenteID_Key,

     [Category],

     [Title],

     [Description],

     [Solution],

     [Priority],

     [Status],

     [Opened by],

     [Assignee],

     [Country],

     [Open Time],

     [SLA Breached]

       APPLYMAP( '__countryCodeIsoThree2Polygon', APPLYMAP( '__countryName2IsoThree', LOWER([Country])), '-') AS [Sheet1$-1.Country_GeoInfo]

FROM [lib://BASE/Ticket.xls]

[Report 2]:

LOAD

     [Incident ID] as IncidenteID_Key,

     [Related],

    [SLA Breached]&[Related] as CheckBreached ******* (Essa linha não carrega. Não reconhece o campo [SLA Breached]     que é da primeira tabela não existe e não permite concatenar as informações desses dois campos.

FROM [lib://BASE/Related.xlsx]

Labels (1)
1 Solution

Accepted Solutions
fernando_tonial
Employee
Employee

Você necessita fazer a junção das tabelas para depois fazer esse calculo.

TMP_Tickes:

LOAD

     [Incident ID] as IncidenteID_Key,

     [Category],

     [Title],

     [Description],

     [Solution],

     [Priority],

     [Status],

     [Opened by],

     [Assignee],

     [Country],

     [Open Time],

     [SLA Breached]

       APPLYMAP( '__countryCodeIsoThree2Polygon', APPLYMAP( '__countryName2IsoThree', LOWER([Country])), '-') AS [Sheet1$-1.Country_GeoInfo]

FROM [lib://BASE/Ticket.xls]

Join (TMP_Tickes)

LOAD

     [Incident ID] as IncidenteID_Key,

     [Related]

FROM [lib://BASE/Related.xlsx]

Tickes:

LOAD *,

    [SLA Breached]&[Related] as CheckBreached

Resident TMP_Tickes;


Drop Table TMP_Tickes;


Don't worry, be Qlik.

Tonial

Don't Worry, be Qlik.

View solution in original post

2 Replies
fernando_tonial
Employee
Employee

Você necessita fazer a junção das tabelas para depois fazer esse calculo.

TMP_Tickes:

LOAD

     [Incident ID] as IncidenteID_Key,

     [Category],

     [Title],

     [Description],

     [Solution],

     [Priority],

     [Status],

     [Opened by],

     [Assignee],

     [Country],

     [Open Time],

     [SLA Breached]

       APPLYMAP( '__countryCodeIsoThree2Polygon', APPLYMAP( '__countryName2IsoThree', LOWER([Country])), '-') AS [Sheet1$-1.Country_GeoInfo]

FROM [lib://BASE/Ticket.xls]

Join (TMP_Tickes)

LOAD

     [Incident ID] as IncidenteID_Key,

     [Related]

FROM [lib://BASE/Related.xlsx]

Tickes:

LOAD *,

    [SLA Breached]&[Related] as CheckBreached

Resident TMP_Tickes;


Drop Table TMP_Tickes;


Don't worry, be Qlik.

Tonial

Don't Worry, be Qlik.
Anonymous
Not applicable
Author

Obrigado Fernando.

Funcionou