<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Eliminar duplicatas arquivo in Brasil</title>
    <link>https://community.qlik.com/t5/Brasil/Eliminar-duplicatas-arquivo/m-p/99152#M5370</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Fazendo a agregação com firstvalue(chave) deveria ter resolvido o problema.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Sep 2018 19:10:18 GMT</pubDate>
    <dc:creator>giovanneb</dc:creator>
    <dc:date>2018-09-05T19:10:18Z</dc:date>
    <item>
      <title>Eliminar duplicatas arquivo</title>
      <link>https://community.qlik.com/t5/Brasil/Eliminar-duplicatas-arquivo/m-p/99151#M5369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bom dia,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Temos um script que trabalha dados de extrações automáticas (arquivos txt) disponibilizados num portal do Tesouro Nacional (informações orçamentárias/financeiras).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mapeamos os campos das tabelas no script com base na posição de cada caractere dos arquivos texto. Segue um trecho: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Lista_Favorecidos_Doc:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;LOAD distinct&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;[@2:15]&amp;nbsp;&amp;nbsp;&amp;nbsp; as [Favorecido Doc],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;[@2:15] as [NE Inicial - Favorecido], //// chave&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;if([@16:16]=1,'PJ',&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;if([@16:16]=2,'PF',&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;if([@16:16]=3,'IG', 'UG'))) as [Tipo Favorecido Doc],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;if([@16:16]=1,'Pessoa Jurídica',&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;if([@16:16]=2,'Pessoa Física',&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;if([@16:16]=3,'Inscrição Genérica', &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;'Unidade Gestora'))) as [Nome Tipo Favorecido Doc],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;[@17:35]&amp;nbsp;&amp;nbsp;&amp;nbsp; as&amp;nbsp; [Nome Reduzido Favorecido Doc],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;[@36:90]&amp;nbsp;&amp;nbsp;&amp;nbsp; as&amp;nbsp; [Nome Favorecido Doc],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;[@2:15]&amp;amp;' - '&amp;amp;[@36:90] as&amp;nbsp; [Favorecido Completo Doc],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;[@91:155]&amp;nbsp;&amp;nbsp;&amp;nbsp; as&amp;nbsp; [Endereço Favorecido Doc],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;[@156:159]&amp;nbsp;&amp;nbsp;&amp;nbsp; as&amp;nbsp; [Cód. Município Favorecido Doc],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;[@160:167]&amp;nbsp;&amp;nbsp;&amp;nbsp; as&amp;nbsp; [CEP Favorecido Doc],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;[@168:169]&amp;nbsp;&amp;nbsp;&amp;nbsp; as&amp;nbsp; [UF Favorecido Doc],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;[@170:172]&amp;nbsp;&amp;nbsp;&amp;nbsp; as&amp;nbsp; [Cód. País Favorecido Doc],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;[@173:217]&amp;nbsp;&amp;nbsp;&amp;nbsp; as&amp;nbsp; [Telefone Favorecido Doc],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;[@218:262]&amp;nbsp;&amp;nbsp;&amp;nbsp; as&amp;nbsp; [End. Eletrônico Favorecido Doc],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;[@263:265]&amp;nbsp;&amp;nbsp;&amp;nbsp; as&amp;nbsp; [Cód. Natureza Jurídica Favorecido Doc],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;FROM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;[..\1. Dados - originais\Credor\*.TXT]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;(fix, codepage is 1252);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;São feitos alguns joins para acrescentar outros campos vindos de outras tabelas (também criadas a partir de txts) e no final, o script gera um arquivo texto que serve de input para uma aplicação em Access. Este arquivo deveria ter registros únicos com base na chave principal, mas está havendo duplicatas em função de um único campo que diverge, como abaixo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="exemplo duplicata.PNG" class="jive-image image-1" src="/legacyfs/online/212745_exemplo duplicata.PNG" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Preciso fazer o script ler os arquivos texto e na hora de dar o store no arquivo de saída, considerar apenas a primeira ocorrência da chave do registro, ignorando as eventuais duplicatas. Já tentei usar o FirstValue mas sem êxito. Alguma ideia de como implementar?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Sep 2018 18:46:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Eliminar-duplicatas-arquivo/m-p/99151#M5369</guid>
      <dc:creator>mvgrl1976</dc:creator>
      <dc:date>2018-09-05T18:46:44Z</dc:date>
    </item>
    <item>
      <title>Re: Eliminar duplicatas arquivo</title>
      <link>https://community.qlik.com/t5/Brasil/Eliminar-duplicatas-arquivo/m-p/99152#M5370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Fazendo a agregação com firstvalue(chave) deveria ter resolvido o problema.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Sep 2018 19:10:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Eliminar-duplicatas-arquivo/m-p/99152#M5370</guid>
      <dc:creator>giovanneb</dc:creator>
      <dc:date>2018-09-05T19:10:18Z</dc:date>
    </item>
    <item>
      <title>Re: Eliminar duplicatas arquivo</title>
      <link>https://community.qlik.com/t5/Brasil/Eliminar-duplicatas-arquivo/m-p/99153#M5371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Marcos,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;quem sabe usando o applymap&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Map_Nome:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;mapping LOAD &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [@2:15]&amp;nbsp;&amp;nbsp; as&amp;nbsp; [NE Inicial - Favorecido], //// chave&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [@36:90]&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; as&amp;nbsp; [Nome Favorecido Doc]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;FROM [..\1. Dados - originais\Credor\*.TXT] (fix, codepage is 1252);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Lista_Favorecidos_Doc:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;LOAD distinct&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [@2:15]&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; as [Favorecido Doc],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [@2:15]&amp;nbsp;&amp;nbsp; as [NE Inicial - Favorecido], //// chave&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if([@16:16]=1,'PJ',&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if([@16:16]=2,'PF',&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if([@16:16]=3,'IG', 'UG'))) as [Tipo Favorecido Doc],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if([@16:16]=1,'Pessoa Jurídica',&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if([@16:16]=2,'Pessoa Física',&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if([@16:16]=3,'Inscrição Genérica',&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Unidade Gestora')))&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; as [Nome Tipo Favorecido Doc],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //============================================================================&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //[@17:35]&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; as&amp;nbsp; [Nome Reduzido Favorecido Doc],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ApplyMap('Map_Nome',[@2:15]) as&amp;nbsp; [Nome Reduzido Favorecido Doc],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //============================================================================&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [@36:90]&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; as&amp;nbsp; [Nome Favorecido Doc],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [@2:15]&amp;amp;' - '&amp;amp;[@36:90]&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; as&amp;nbsp; [Favorecido Completo Doc],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [@91:155]&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; as&amp;nbsp; [Endereço Favorecido Doc],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [@156:159]&amp;nbsp;&amp;nbsp;&amp;nbsp; as&amp;nbsp; [Cód. Município Favorecido Doc],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [@160:167]&amp;nbsp;&amp;nbsp;&amp;nbsp; as&amp;nbsp; [CEP Favorecido Doc],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [@168:169]&amp;nbsp;&amp;nbsp;&amp;nbsp; as&amp;nbsp; [UF Favorecido Doc],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @170:172]&amp;nbsp;&amp;nbsp;&amp;nbsp; as&amp;nbsp; [Cód. País Favorecido Doc],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [@173:217]&amp;nbsp;&amp;nbsp;&amp;nbsp; as&amp;nbsp; [Telefone Favorecido Doc],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [@218:262]&amp;nbsp;&amp;nbsp;&amp;nbsp; as&amp;nbsp; [End. Eletrônico Favorecido Doc],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [@263:265]&amp;nbsp;&amp;nbsp;&amp;nbsp; as&amp;nbsp; [Cód. Natureza Jurídica Favorecido Doc]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;FROM [..\1. Dados - originais\Credor\*.TXT] (fix, codepage is 1252);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2018 21:38:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Eliminar-duplicatas-arquivo/m-p/99153#M5371</guid>
      <dc:creator>afurtado</dc:creator>
      <dc:date>2018-09-06T21:38:45Z</dc:date>
    </item>
    <item>
      <title>Re: Eliminar duplicatas arquivo</title>
      <link>https://community.qlik.com/t5/Brasil/Eliminar-duplicatas-arquivo/m-p/99154#M5372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;se não fiz no campo correto é só ajustar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2018 21:39:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Eliminar-duplicatas-arquivo/m-p/99154#M5372</guid>
      <dc:creator>afurtado</dc:creator>
      <dc:date>2018-09-06T21:39:45Z</dc:date>
    </item>
    <item>
      <title>Re: Eliminar duplicatas arquivo</title>
      <link>https://community.qlik.com/t5/Brasil/Eliminar-duplicatas-arquivo/m-p/99155#M5373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Consegui fazer funcionar o FirstValue "quebrando" o carregamento da tabela, para isolar o group by usando apenas a chave e o campo aplicado à função. Se eu carrego mais campos num mesmo load e agrego com o group by apenas um campo, aparece a mensagem "Invalid Expression".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;left Join&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;load distinct&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;[NE Inicial - Favorecido] as [NE_Favorecido], //chave para o join&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;FirstValue([Nome Favorecido Doc]) as [NE_Favor_Nome] &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Resident Lista_Favorecidos_Doc Group By [NE Inicial - Favorecido];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;left Join&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;load distinct&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;[NE Inicial - Favorecido] as [NE_Favorecido], //chave para o join&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;[Tipo Favorecido Doc] as [NE_Favor_Tipo_Cod],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;[Nome Tipo Favorecido Doc] as [NE_Favor_Tipo_Nome]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Resident Lista_Favorecidos_Doc;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Parecido com o relatado na thread &lt;A href="https://community.qlik.com/thread/5248"&gt;error message "invalid expression" while loading&lt;/A&gt; . &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Alguém sabe dizer o por que desse comportamento do group by? seria assim para todas as funções de agregação?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2018 21:14:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Eliminar-duplicatas-arquivo/m-p/99155#M5373</guid>
      <dc:creator>mvgrl1976</dc:creator>
      <dc:date>2018-09-13T21:14:03Z</dc:date>
    </item>
    <item>
      <title>Re: Eliminar duplicatas arquivo</title>
      <link>https://community.qlik.com/t5/Brasil/Eliminar-duplicatas-arquivo/m-p/99156#M5374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Teste apenas com a exclusão do distinct:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;left Join&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;load &lt;SPAN style="text-decoration: line-through;"&gt;distinct&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;[NE Inicial - Favorecido] as [NE_Favorecido], //chave para o join&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;FirstValue([Nome Favorecido Doc]) as [NE_Favor_Nome]&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Resident Lista_Favorecidos_Doc Group By [NE Inicial - Favorecido];&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;left Join&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;load &lt;SPAN style="text-decoration: line-through;"&gt;distinct&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;[NE Inicial - Favorecido] as [NE_Favorecido], //chave para o join&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;[Tipo Favorecido Doc] as [NE_Favor_Tipo_Cod],&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;[Nome Tipo Favorecido Doc] as [NE_Favor_Tipo_Nome]&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Resident Lista_Favorecidos_Doc;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2018 21:47:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Eliminar-duplicatas-arquivo/m-p/99156#M5374</guid>
      <dc:creator>Thiago_Justen_</dc:creator>
      <dc:date>2018-09-13T21:47:34Z</dc:date>
    </item>
    <item>
      <title>Re: Eliminar duplicatas arquivo</title>
      <link>https://community.qlik.com/t5/Brasil/Eliminar-duplicatas-arquivo/m-p/99157#M5375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;usando o applymap não deu?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Sep 2018 23:40:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Eliminar-duplicatas-arquivo/m-p/99157#M5375</guid>
      <dc:creator>afurtado</dc:creator>
      <dc:date>2018-09-14T23:40:03Z</dc:date>
    </item>
    <item>
      <title>Re: Eliminar duplicatas arquivo</title>
      <link>https://community.qlik.com/t5/Brasil/Eliminar-duplicatas-arquivo/m-p/99158#M5376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Olá Alessandro,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Como funcionou isolando o group by, acabou que não testei o applymap. Vou tentar arrumar um tempinho aqui para testar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Obrigado&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Sep 2018 19:04:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Eliminar-duplicatas-arquivo/m-p/99158#M5376</guid>
      <dc:creator>mvgrl1976</dc:creator>
      <dc:date>2018-09-27T19:04:13Z</dc:date>
    </item>
  </channel>
</rss>

