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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
junior_ehlke
Creator III
Creator III

Join em Projeto

Boa tarde, faz alguns dias que não consigo chegar a uma solução.

Tenho 4 tabelas que são vinculadas por id_unidade e id_tempo, preciso unir elas, porém tentei com todos os tipos de join e as linhas ficam duplicadas.

O Cógido é o seguinte:

Venda:

load

  ApplyMap ('Depara', id_unidade) as id_unidade,

  id_tempo,

  sum(mprd_valor) as mprd_valor_vvd

  From

  $(vCaminho)\Vendadetalhe_*.qvd(qvd)

  group by id_unidade, id_tempo ;

left join

load

  ApplyMap ('Depara', id_unidade) as id_unidade,

  id_tempo,

  sum(mprd_valor) as mprd_valor_vdvd

  From

  $(vCaminho)\DevVendaDetalhe_*.qvd(qvd)

  group by id_unidade, id_tempo ;

Left Join

LOAD

  Unidade as id_unidade,

    Mês as id_tempo,

    Auditoria as auditoria

FROM

$(vCaminho)\calendarioauditoria.xlsx

(ooxml, embedded labels, table is Plan1);

Labels (1)
10 Replies
nicolett_yuri
Partner Ambassador/MVP
Partner Ambassador/MVP

kkkkkk bem menos!!