<?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: Identificando Tipo de Clientes em uma tabela in Brasil</title>
    <link>https://community.qlik.com/t5/Brasil/Identificando-Tipo-de-Clientes-em-uma-tabela/m-p/1253006#M44595</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Não me preocupei com as chaves no script. Segue exemplo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Obs:&lt;/STRONG&gt; Outra coisa que você pode fazer é, criar primeiro o MapaCliente, baseado em um load temporario da tabela HISTORICO, e na hora de concatenar as tabelas usa o mapping na hora de carregar a tabela de VENDAS_ATUAIS, lembrando que para funcionar, carrega primeiro o Historico e depois concatena a Vendas Atual para concatenar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HISTORICO:&lt;/P&gt;&lt;P&gt;Load * inline [&lt;/P&gt;&lt;P&gt;MARCA, CLIENTE, COLEÇÃO, DATAVENDA&lt;/P&gt;&lt;P&gt;A, 1100055, A0014, 21/11/2016&lt;/P&gt;&lt;P&gt;B, 1100055, B0012, 12/09/2016&lt;/P&gt;&lt;P&gt;A, 1100055, A0015, 29/01/2017&lt;/P&gt;&lt;P&gt;B, 1100055, B0015, 29/01/2017&lt;/P&gt;&lt;P&gt;C, 1100055, C0015, 29/01/2017&lt;/P&gt;&lt;P&gt;D, 1100055, D0015, 29/01/2017&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MapaCliente:&lt;/P&gt;&lt;P&gt;Mapping&lt;/P&gt;&lt;P&gt;Load DISTINCT CLIENTE &amp;amp;'|'&amp;amp;MARCA, 'Antigo' as Status RESIDENT HISTORICO;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VENDAS_ATUAIS:&lt;/P&gt;&lt;P&gt;Load ApplyMap('MapaCliente',CLIENTE &amp;amp;'|'&amp;amp;MARCA,'Novo') As TipoCliente, * inline [&lt;/P&gt;&lt;P&gt;MARCA, CLIENTE, COLEÇÃO, DATAVENDA&lt;/P&gt;&lt;P&gt;A, 1100055, A0015, 29/01/2017&lt;/P&gt;&lt;P&gt;B, 1100055, B0015, 29/01/2017&lt;/P&gt;&lt;P&gt;C, 1100055, C0015, 29/01/2017&lt;/P&gt;&lt;P&gt;D, 1100055, D0015, 29/01/2017&lt;/P&gt;&lt;P&gt;E, 1100055, D0015, 29/01/2017&lt;/P&gt;&lt;P&gt;] ;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Jan 2017 12:40:52 GMT</pubDate>
    <dc:creator>JacksonAlfonso</dc:creator>
    <dc:date>2017-01-30T12:40:52Z</dc:date>
    <item>
      <title>Identificando Tipo de Clientes em uma tabela</title>
      <link>https://community.qlik.com/t5/Brasil/Identificando-Tipo-de-Clientes-em-uma-tabela/m-p/1253003#M44592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pessoal, Boa Tarde!&lt;/P&gt;&lt;P&gt;Tudo Bem?&lt;/P&gt;&lt;P&gt;Sou novato na comunidade e no Qlik View, gostaria muito da ajuda de vocês na elaboração de um script.&lt;/P&gt;&lt;P&gt;As vendas no meu modelo de negócio são medidas por coleção (exemplo A0015 ). Tenho duas Tabelas, uma de vendas históricas e outra de vendas nas coleções atuais.&lt;/P&gt;&lt;P&gt;Preciso flegar na tabela de vendas atuais o status dos clientes, ou seja, se ele é novo ou antigo na marca. Medimos esse indicador olhando a marca e o código do cliente, se ele apresentar alguma venda anterior na marca, ou seja, comprou uma coleção anterior, ele é considerado cliente antigo. Caso a coleção seja a primeira dele na marca ele é considerado cliente novo nessa marca.&lt;/P&gt;&lt;P&gt;Posso chegar no mesmo resultado olhando se o cliente comprou apenas a coleção atual no histórico na marca. O Intuito de flegar na tabela atual é de utilizar esse indicador em alguns comparativos no dashboard.&lt;/P&gt;&lt;P&gt;Pensei em concatenate, mas não sei como faria essa validação. Alguém pode me auxiliar?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exemplo:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" height="536" style="width: 781px; height: 538px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD colspan="2" height="20" style="border: 0px #000000;" width="125"&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;&lt;STRONG&gt;VENDAS ATUAIS&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20" style="border: 0px #000000;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;MARCA&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px #000000;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;CLIENTE&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px #000000;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;COLEÇÃO&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px #000000;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;DATAVENDA&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20" style="border: 0px #000000;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;A&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="border: 0px #000000;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;1100055&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px #000000;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;A0015&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="border: 0px #000000;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;29/01/2017&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20" style="border: 0px #000000;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;B&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="border: 0px #000000;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;1100055&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px #000000;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;B0015&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="border: 0px #000000;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;29/01/2017&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20" style="border: 0px #000000;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;C&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="border: 0px #000000;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;1100055&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px #000000;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;C0015&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="border: 0px #000000;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;29/01/2017&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20" style="border: 0px #000000;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;D&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="border: 0px #000000;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;1100055&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px #000000;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;D0015&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="border: 0px #000000;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;29/01/2017&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD colspan="2" height="20" style="border: 0px #000000;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;&lt;STRONG&gt;HISTÓRICO&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20" style="border: 0px #000000;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;MARCA&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px #000000;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;CLIENTE&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px #000000;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;COLEÇÃO&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px #000000;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;DATAVENDA&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20" style="border: 0px #000000;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;A&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="border: 0px #000000;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;1100055&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px #000000;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;A0014&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="border: 0px #000000;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;21/11/2016&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20" style="border: 0px #000000;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;B&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="border: 0px #000000;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;1100055&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px #000000;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;B0012&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="border: 0px #000000;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;12/09/2016&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20" style="border: 0px #000000;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;A&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="border: 0px #000000;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;1100055&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px #000000;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;A0015&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="border: 0px #000000;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;29/01/2017&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20" style="border: 0px #000000;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;B&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="border: 0px #000000;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;1100055&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px #000000;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;B0015&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="border: 0px #000000;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;29/01/2017&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20" style="border: 0px #000000;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;C&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="border: 0px #000000;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;1100055&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px #000000;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;C0015&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="border: 0px #000000;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;29/01/2017&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20" style="border: 0px #000000;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;D&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="border: 0px #000000;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;1100055&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px #000000;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;D0015&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="border: 0px #000000;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;29/01/2017&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD colspan="2" height="20" style="border: 0px #000000;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;&lt;STRONG&gt;SAIDA DESEJADA&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20" style="border: 0px #000000;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;MARCA&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px #000000;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;CLIENTE&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px #000000;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;COLEÇÃO&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px #000000;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;DATAVENDA&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px #000000;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;TIPO&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px #000000;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;OBS&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20" style="border: 0px #000000;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;A&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="border: 0px #000000;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;1100055&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px #000000;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;A0015&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="border: 0px #000000;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;29/01/2017&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px #000000;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;CLIENTE ANTIGO&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD colspan="3" style="border: 0px #000000;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;Não Comprou a primeira vez na marca&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20" style="border: 0px #000000;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;B&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="border: 0px #000000;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;1100055&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px #000000;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;B0015&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="border: 0px #000000;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;29/01/2017&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px #000000;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;CLIENTE ANTIGO&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD colspan="3" style="border: 0px #000000;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;Não Comprou a primeira vez na marca&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20" style="border: 0px #000000;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;&lt;STRONG&gt;C&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="border: 0px #000000;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;&lt;STRONG&gt;1100055&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px #000000;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;&lt;STRONG&gt;C0015&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="border: 0px #000000;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;&lt;STRONG&gt;29/01/2017&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px #000000;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;&lt;STRONG&gt;CLIENTE NOVO&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD colspan="3" style="border: 0px #000000;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;&lt;STRONG&gt;Comprou a primeira vez na marca&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20" style="border: 0px #000000;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;&lt;STRONG&gt;D&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="border: 0px #000000;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;&lt;STRONG&gt;1100055&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px #000000;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;&lt;STRONG&gt;D0015&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="border: 0px #000000;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;&lt;STRONG&gt;29/01/2017&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px #000000;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;&lt;STRONG&gt;CLIENTE NOVO&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD colspan="3" style="border: 0px #000000;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;&lt;STRONG&gt;Comprou a primeira vez na marca&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Abs,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mensagem editada por: Anderson Silva Caso precise de maiores detalhes, por favor me comunique.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Jan 2017 19:27:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Identificando-Tipo-de-Clientes-em-uma-tabela/m-p/1253003#M44592</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-29T19:27:24Z</dc:date>
    </item>
    <item>
      <title>Re: Identificando Tipo de Clientes em uma tabela</title>
      <link>https://community.qlik.com/t5/Brasil/Identificando-Tipo-de-Clientes-em-uma-tabela/m-p/1253004#M44593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt; Anderson esta meio confuso. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Entendi que você precisa mas olhando seu exemplo ele confundi. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;A0015 tenho na tab atual e historica com mesma data e não é primeira compra. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;D0015 mesma coisa e é a primeira compra ? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Pode explicar melhor ? &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jan 2017 11:13:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Identificando-Tipo-de-Clientes-em-uma-tabela/m-p/1253004#M44593</guid>
      <dc:creator>maiconmello</dc:creator>
      <dc:date>2017-01-30T11:13:22Z</dc:date>
    </item>
    <item>
      <title>Re: Identificando Tipo de Clientes em uma tabela</title>
      <link>https://community.qlik.com/t5/Brasil/Identificando-Tipo-de-Clientes-em-uma-tabela/m-p/1253005#M44594</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;Penso que um jeito simples de fazer é criar um mapping por cliente e marca, assim:&lt;/P&gt;&lt;P&gt;1 - Carrega a tabela de HISTORICO.&lt;/P&gt;&lt;P&gt;2 - Cria o Mapping:&lt;/P&gt;&lt;P&gt;MapaCliente:&lt;/P&gt;&lt;P&gt;Mapping&lt;/P&gt;&lt;P&gt;Load DISTINCT CLIENTE &amp;amp;'|'&amp;amp;MARCA, 'Antigo' as Status RESIDENT HISTORICO;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3 - Usa o mapa para flegar o cliente como novo ou antigo, na carga da tabela vendas atuais, assim:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; ApplyMap('MapaCliente',CLIENTE &amp;amp;'|'&amp;amp;MARCA,'Novo') As TipoCliente&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Acho que assim já resolve.&lt;/P&gt;&lt;P&gt;Abs&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jan 2017 12:34:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Identificando-Tipo-de-Clientes-em-uma-tabela/m-p/1253005#M44594</guid>
      <dc:creator>JacksonAlfonso</dc:creator>
      <dc:date>2017-01-30T12:34:37Z</dc:date>
    </item>
    <item>
      <title>Re: Identificando Tipo de Clientes em uma tabela</title>
      <link>https://community.qlik.com/t5/Brasil/Identificando-Tipo-de-Clientes-em-uma-tabela/m-p/1253006#M44595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Não me preocupei com as chaves no script. Segue exemplo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Obs:&lt;/STRONG&gt; Outra coisa que você pode fazer é, criar primeiro o MapaCliente, baseado em um load temporario da tabela HISTORICO, e na hora de concatenar as tabelas usa o mapping na hora de carregar a tabela de VENDAS_ATUAIS, lembrando que para funcionar, carrega primeiro o Historico e depois concatena a Vendas Atual para concatenar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HISTORICO:&lt;/P&gt;&lt;P&gt;Load * inline [&lt;/P&gt;&lt;P&gt;MARCA, CLIENTE, COLEÇÃO, DATAVENDA&lt;/P&gt;&lt;P&gt;A, 1100055, A0014, 21/11/2016&lt;/P&gt;&lt;P&gt;B, 1100055, B0012, 12/09/2016&lt;/P&gt;&lt;P&gt;A, 1100055, A0015, 29/01/2017&lt;/P&gt;&lt;P&gt;B, 1100055, B0015, 29/01/2017&lt;/P&gt;&lt;P&gt;C, 1100055, C0015, 29/01/2017&lt;/P&gt;&lt;P&gt;D, 1100055, D0015, 29/01/2017&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MapaCliente:&lt;/P&gt;&lt;P&gt;Mapping&lt;/P&gt;&lt;P&gt;Load DISTINCT CLIENTE &amp;amp;'|'&amp;amp;MARCA, 'Antigo' as Status RESIDENT HISTORICO;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VENDAS_ATUAIS:&lt;/P&gt;&lt;P&gt;Load ApplyMap('MapaCliente',CLIENTE &amp;amp;'|'&amp;amp;MARCA,'Novo') As TipoCliente, * inline [&lt;/P&gt;&lt;P&gt;MARCA, CLIENTE, COLEÇÃO, DATAVENDA&lt;/P&gt;&lt;P&gt;A, 1100055, A0015, 29/01/2017&lt;/P&gt;&lt;P&gt;B, 1100055, B0015, 29/01/2017&lt;/P&gt;&lt;P&gt;C, 1100055, C0015, 29/01/2017&lt;/P&gt;&lt;P&gt;D, 1100055, D0015, 29/01/2017&lt;/P&gt;&lt;P&gt;E, 1100055, D0015, 29/01/2017&lt;/P&gt;&lt;P&gt;] ;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jan 2017 12:40:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Identificando-Tipo-de-Clientes-em-uma-tabela/m-p/1253006#M44595</guid>
      <dc:creator>JacksonAlfonso</dc:creator>
      <dc:date>2017-01-30T12:40:52Z</dc:date>
    </item>
    <item>
      <title>Re: Identificando Tipo de Clientes em uma tabela</title>
      <link>https://community.qlik.com/t5/Brasil/Identificando-Tipo-de-Clientes-em-uma-tabela/m-p/1253007#M44596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maicon, Muito Obrigado!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Isso mesmo, a tabela de vendas históricas apresenta todas as vendas, inclusive as das coleções atuais.&lt;/P&gt;&lt;P&gt;A ideia é &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;verificar se o cliente comprou apenas a coleção atual na marca&amp;nbsp; consultando a tabela histórica de vendas.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Exemplo: Se o cliente &lt;SPAN style="color: #000000; font-family: Calibri; font-size: 16px;"&gt;1100055&lt;/SPAN&gt; comprou a marca A apenas na coleção &lt;SPAN style="color: #000000; font-family: Calibri; font-size: 16px;"&gt;0015&lt;/SPAN&gt; ele é considerado cliente novo (nesta marca). No caso acima, ele é considerado um cliente antigo, pois já comprou na coleção 0014 na marca A.&lt;/P&gt;&lt;P&gt;A Marca é a primeira letra da coleção, sendo assim vou deixar a coleção separada para facilitar.&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" height="536" style="border: 0px; font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;TBODY style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD colspan="2" height="20" style="padding-right: 4px; padding-left: 4px; border: 0px #000000; font-style: inherit; font-family: inherit;" width="125"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: Calibri; color: #000000;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;VENDAS ATUAIS&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD height="20" style="padding-right: 4px; padding-left: 4px; border: 0px #000000; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: Calibri; color: #000000;"&gt;MARCA&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px #000000; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: Calibri; color: #000000;"&gt;CLIENTE&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px #000000; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: Calibri; color: #000000;"&gt;COLEÇÃO&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px #000000; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: Calibri; color: #000000;"&gt;DATAVENDA&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD height="20" style="padding-right: 4px; padding-left: 4px; border: 0px #000000; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: Calibri; color: #000000;"&gt;A&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="padding-right: 4px; padding-left: 4px; border: 0px #000000; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: Calibri; color: #000000;"&gt;1100055&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px #000000; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: Calibri; color: #000000;"&gt;0015&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="padding-right: 4px; padding-left: 4px; border: 0px #000000; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: Calibri; color: #000000;"&gt;29/01/2017&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD height="20" style="padding-right: 4px; padding-left: 4px; border: 0px #000000; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: Calibri; color: #000000;"&gt;B&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="padding-right: 4px; padding-left: 4px; border: 0px #000000; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: Calibri; color: #000000;"&gt;1100055&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px #000000; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: Calibri; color: #000000;"&gt;0015&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="padding-right: 4px; padding-left: 4px; border: 0px #000000; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: Calibri; color: #000000;"&gt;29/01/2017&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD height="20" style="padding-right: 4px; padding-left: 4px; border: 0px #000000; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: Calibri; color: #000000;"&gt;C&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="padding-right: 4px; padding-left: 4px; border: 0px #000000; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: Calibri; color: #000000;"&gt;1100055&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px #000000; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: Calibri; color: #000000;"&gt;0015&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="padding-right: 4px; padding-left: 4px; border: 0px #000000; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: Calibri; color: #000000;"&gt;29/01/2017&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD height="20" style="padding-right: 4px; padding-left: 4px; border: 0px #000000; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: Calibri; color: #000000;"&gt;D&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="padding-right: 4px; padding-left: 4px; border: 0px #000000; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: Calibri; color: #000000;"&gt;1100055&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px #000000; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: Calibri; color: #000000;"&gt;0015&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="padding-right: 4px; padding-left: 4px; border: 0px #000000; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: Calibri; color: #000000;"&gt;29/01/2017&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD colspan="2" height="20" style="padding-right: 4px; padding-left: 4px; border: 0px #000000; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: Calibri; color: #000000;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;HISTÓRICO&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD height="20" style="padding-right: 4px; padding-left: 4px; border: 0px #000000; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: Calibri; color: #000000;"&gt;MARCA&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px #000000; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: Calibri; color: #000000;"&gt;CLIENTE&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px #000000; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: Calibri; color: #000000;"&gt;COLEÇÃO&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px #000000; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: Calibri; color: #000000;"&gt;DATAVENDA&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD height="20" style="padding-right: 4px; padding-left: 4px; border: 0px #000000; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: Calibri; color: #000000;"&gt;A&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="padding-right: 4px; padding-left: 4px; border: 0px #000000; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: Calibri; color: #000000;"&gt;1100055&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px #000000; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: Calibri; color: #000000;"&gt;0014&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="padding-right: 4px; padding-left: 4px; border: 0px #000000; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: Calibri; color: #000000;"&gt;21/11/2016&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD height="20" style="padding-right: 4px; padding-left: 4px; border: 0px #000000; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: Calibri; color: #000000;"&gt;B&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="padding-right: 4px; padding-left: 4px; border: 0px #000000; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: Calibri; color: #000000;"&gt;1100055&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px #000000; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: Calibri; color: #000000;"&gt;0012&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="padding-right: 4px; padding-left: 4px; border: 0px #000000; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: Calibri; color: #000000;"&gt;12/09/2016&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD height="20" style="padding-right: 4px; padding-left: 4px; border: 0px #000000; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: Calibri; color: #000000;"&gt;A&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="padding-right: 4px; padding-left: 4px; border: 0px #000000; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: Calibri; color: #000000;"&gt;1100055&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px #000000; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: Calibri; color: #000000;"&gt;0015&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="padding-right: 4px; padding-left: 4px; border: 0px #000000; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: Calibri; color: #000000;"&gt;29/01/2017&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD height="20" style="padding-right: 4px; padding-left: 4px; border: 0px #000000; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: Calibri; color: #000000;"&gt;B&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="padding-right: 4px; padding-left: 4px; border: 0px #000000; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: Calibri; color: #000000;"&gt;1100055&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px #000000; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: Calibri; color: #000000;"&gt;0015&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="padding-right: 4px; padding-left: 4px; border: 0px #000000; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: Calibri; color: #000000;"&gt;29/01/2017&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD height="20" style="padding-right: 4px; padding-left: 4px; border: 0px #000000; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="color: #000000; font-style: inherit; font-size: 12pt; font-family: Calibri; text-decoration: underline; font-weight: inherit;"&gt;C&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="padding-right: 4px; padding-left: 4px; border: 0px #000000; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: Calibri; color: #000000; text-decoration: underline;"&gt;1100055&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px #000000; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: Calibri; color: #000000; text-decoration: underline;"&gt;0015&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="padding-right: 4px; padding-left: 4px; border: 0px #000000; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: Calibri; color: #000000; text-decoration: underline;"&gt;29/01/2017&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD height="20" style="padding-right: 4px; padding-left: 4px; border: 0px #000000; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: Calibri; color: #000000; text-decoration: underline;"&gt;D&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="padding-right: 4px; padding-left: 4px; border: 0px #000000; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: Calibri; color: #000000; text-decoration: underline;"&gt;1100055&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px #000000; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: Calibri; color: #000000; text-decoration: underline;"&gt;0015&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="padding-right: 4px; padding-left: 4px; border: 0px #000000; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="color: #000000; font-style: inherit; font-size: 12pt; font-family: Calibri; text-decoration: underline; font-weight: inherit;"&gt;29/01/2017&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD colspan="2" height="20" style="padding-right: 4px; padding-left: 4px; border: 0px #000000; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: Calibri; color: #000000;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;SAIDA DESEJADA&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD height="20" style="padding-right: 4px; padding-left: 4px; border: 0px #000000; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: Calibri; color: #000000;"&gt;MARCA&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px #000000; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: Calibri; color: #000000;"&gt;CLIENTE&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px #000000; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: Calibri; color: #000000;"&gt;COLEÇÃO&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px #000000; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: Calibri; color: #000000;"&gt;DATAVENDA&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px #000000; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: Calibri; color: #000000;"&gt;TIPO&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px #000000; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: Calibri; color: #000000;"&gt;OBS&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD height="20" style="padding-right: 4px; padding-left: 4px; border: 0px #000000; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: Calibri; color: #000000;"&gt;A&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="padding-right: 4px; padding-left: 4px; border: 0px #000000; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: Calibri; color: #000000;"&gt;1100055&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px #000000; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: Calibri; color: #000000;"&gt;0015&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="padding-right: 4px; padding-left: 4px; border: 0px #000000; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: Calibri; color: #000000;"&gt;29/01/2017&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px #000000; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: Calibri; color: #000000;"&gt;CLIENTE ANTIGO&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD colspan="3" style="padding-right: 4px; padding-left: 4px; border: 0px #000000; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: Calibri; color: #000000;"&gt;Não Comprou a primeira vez na marca&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD height="20" style="padding-right: 4px; padding-left: 4px; border: 0px #000000; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: Calibri; color: #000000;"&gt;B&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="padding-right: 4px; padding-left: 4px; border: 0px #000000; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: Calibri; color: #000000;"&gt;1100055&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px #000000; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: Calibri; color: #000000;"&gt;0015&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="padding-right: 4px; padding-left: 4px; border: 0px #000000; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: Calibri; color: #000000;"&gt;29/01/2017&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px #000000; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: Calibri; color: #000000;"&gt;CLIENTE ANTIGO&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD colspan="3" style="padding-right: 4px; padding-left: 4px; border: 0px #000000; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: Calibri; color: #000000;"&gt;Não Comprou a primeira vez na marca&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD height="20" style="padding-right: 4px; padding-left: 4px; border: 0px #000000; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: Calibri; color: #000000;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;C&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="padding-right: 4px; padding-left: 4px; border: 0px #000000; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: Calibri; color: #000000;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;1100055&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px #000000; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: Calibri; color: #000000;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;0015&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="padding-right: 4px; padding-left: 4px; border: 0px #000000; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: Calibri; color: #000000;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;29/01/2017&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px #000000; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: Calibri; color: #000000;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;CLIENTE NOVO&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD colspan="3" style="padding-right: 4px; padding-left: 4px; border: 0px #000000; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: Calibri; color: #000000;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Comprou a primeira vez na marca&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD height="20" style="padding-right: 4px; padding-left: 4px; border: 0px #000000; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: Calibri; color: #000000;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;D&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="padding-right: 4px; padding-left: 4px; border: 0px #000000; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: Calibri; color: #000000;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;1100055&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px #000000; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: Calibri; color: #000000;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;0015&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="padding-right: 4px; padding-left: 4px; border: 0px #000000; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: Calibri; color: #000000;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;29/01/2017&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px #000000; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: Calibri; color: #000000;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;CLIENTE NOVO&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD colspan="3" style="padding-right: 4px; padding-left: 4px; border: 0px #000000; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: Calibri; color: #000000;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Comprou a primeira vez na &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jan 2017 14:00:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Identificando-Tipo-de-Clientes-em-uma-tabela/m-p/1253007#M44596</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-30T14:00:01Z</dc:date>
    </item>
    <item>
      <title>Re: Identificando Tipo de Clientes em uma tabela</title>
      <link>https://community.qlik.com/t5/Brasil/Identificando-Tipo-de-Clientes-em-uma-tabela/m-p/1253008#M44597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;Oi Jackson, Muito obrigado pela resposta !&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;Acho que é algo muito próximo disso. &lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;Era para aparecer a marca "C e D" como primeira compra, lembrando que as compras atuais também fazem parte do histórico. Acho que o problema estaria&amp;nbsp; na validação, o script precisa verificar a chave &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;CLIENTE &amp;amp;'|'&amp;amp;MARCA na tabela atuais antes de mapear. No Mapping ele não poderia considerar a compra atual, mas só as diferentes dela na marca. Se ele não comprou alguma coleção diferente a da tabela atual no histórico, ela é cliente novo. &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;Grande Abraço&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jan 2017 14:48:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Identificando-Tipo-de-Clientes-em-uma-tabela/m-p/1253008#M44597</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-30T14:48:21Z</dc:date>
    </item>
    <item>
      <title>Re: Identificando Tipo de Clientes em uma tabela</title>
      <link>https://community.qlik.com/t5/Brasil/Identificando-Tipo-de-Clientes-em-uma-tabela/m-p/1253009#M44598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anderson,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;veja se isto é o que precisa&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2017-01-30 19_45_33-QlikView x64 - [C__Furtado_Qlik_QlikView_Demos_Community_Historico Compra.qvw].png" class="jive-image image-1" src="/legacyfs/online/151290_2017-01-30 19_45_33-QlikView x64 - [C__Furtado_Qlik_QlikView_Demos_Community_Historico Compra.qvw].png" style="height: 190px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jan 2017 21:47:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Identificando-Tipo-de-Clientes-em-uma-tabela/m-p/1253009#M44598</guid>
      <dc:creator>afurtado</dc:creator>
      <dc:date>2017-01-30T21:47:08Z</dc:date>
    </item>
    <item>
      <title>Re: Identificando Tipo de Clientes em uma tabela</title>
      <link>https://community.qlik.com/t5/Brasil/Identificando-Tipo-de-Clientes-em-uma-tabela/m-p/1253010#M44599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ate deve ter uma forma mais simples, mas o tico e teco esta baleado.......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vendas_Atual:&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *&lt;/P&gt;&lt;P&gt;INLINE [&lt;/P&gt;&lt;P&gt;MARCA, CLIENTE,COLEÇÃO, DATAVENDA&lt;/P&gt;&lt;P&gt;A, 1100055 ,0015, 29/01/2017&lt;/P&gt;&lt;P&gt;B, 1100055 ,0015, 29/01/2017&lt;/P&gt;&lt;P&gt;C, 1100055 ,0015, 29/01/2017&lt;/P&gt;&lt;P&gt;D, 1100055 ,0015, 29/01/2017&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;left join&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HISTÓRICO:&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MARCA,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CLIENTE,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; min(DATAVENDA)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; as Primeira_Compra&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Group by MARCA,CLIENTE;&lt;/P&gt;&lt;P&gt;LOAD&amp;nbsp; *&lt;/P&gt;&lt;P&gt;INLINE [&lt;/P&gt;&lt;P&gt;MARCA, CLIENTE,COLEÇÃO, DATAVENDA&lt;/P&gt;&lt;P&gt;A, 1100055, 0014 ,21/11/2016&lt;/P&gt;&lt;P&gt;B, 1100055, 0012 ,12/09/2016&lt;/P&gt;&lt;P&gt;A, 1100055, 0015 ,29/01/2017&lt;/P&gt;&lt;P&gt;B, 1100055, 0015 ,29/01/2017&lt;/P&gt;&lt;P&gt;C, 1100055, 0015 ,29/01/2017&lt;/P&gt;&lt;P&gt;D, 1100055, 0015 ,29/01/2017&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;left join&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MARCA,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CLIENTE,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DATAVENDA,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(DATAVENDA = Primeira_Compra,'Cliente Novo','Cliente Antigo')&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; as Tipo&lt;/P&gt;&lt;P&gt;Resident&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Vendas_Atual;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jan 2017 21:47:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Identificando-Tipo-de-Clientes-em-uma-tabela/m-p/1253010#M44599</guid>
      <dc:creator>afurtado</dc:creator>
      <dc:date>2017-01-30T21:47:56Z</dc:date>
    </item>
    <item>
      <title>Re: Identificando Tipo de Clientes em uma tabela</title>
      <link>https://community.qlik.com/t5/Brasil/Identificando-Tipo-de-Clientes-em-uma-tabela/m-p/1253011#M44600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Alessandro&lt;/SPAN&gt;, Sensacional!!!&lt;/P&gt;&lt;P&gt;Era exatamente isso que eu precisava, testei aqui e deu certo.&lt;/P&gt;&lt;P&gt;Muito Obrigado! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Abs,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jan 2017 15:14:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Identificando-Tipo-de-Clientes-em-uma-tabela/m-p/1253011#M44600</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-31T15:14:43Z</dc:date>
    </item>
    <item>
      <title>Re: Identificando Tipo de Clientes em uma tabela</title>
      <link>https://community.qlik.com/t5/Brasil/Identificando-Tipo-de-Clientes-em-uma-tabela/m-p/1253012#M44601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alessandro,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Preciso muito de um auxilio na montagem de um esquema operacional pode me ajudar por gentileza, segue link com detalhes das necessidades&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/250623"&gt;Carregamento de Planilhas Excel&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Atenciosamente&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2017 19:52:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Identificando-Tipo-de-Clientes-em-uma-tabela/m-p/1253012#M44601</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-20T19:52:57Z</dc:date>
    </item>
  </channel>
</rss>

