<?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: Count em campos com datas diferentes in Brasil</title>
    <link>https://community.qlik.com/t5/Brasil/Count-em-campos-com-datas-diferentes/m-p/132153#M7252</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pablo, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Esse post ensina a fazer o que você precisa, que é criar um calendário único unindo as duas datas&lt;BR /&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3585"&gt;Canonical Date&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Oct 2018 16:34:38 GMT</pubDate>
    <dc:creator>klaus_gibin</dc:creator>
    <dc:date>2018-10-03T16:34:38Z</dc:date>
    <item>
      <title>Count em campos com datas diferentes</title>
      <link>https://community.qlik.com/t5/Brasil/Count-em-campos-com-datas-diferentes/m-p/132151#M7250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Boa tarde,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Estou precisando montar um gráfico com contagem de dados da mesma tabela, porém baseado em datas diferentes.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/215028_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;O calendário do cenário é baseado no &lt;STRONG&gt;ANO_MES&lt;/STRONG&gt; (gráfico esquerdo), porém eu precisarei contar as cirurgias do ANO_MES, e dividi-lo pelas cirurgias com infecções do ANO_MES_INFECCAO. Se eu usar qualquer uma das dimensões no gráfico, as informações ficarão incorretas.&lt;/P&gt;&lt;P&gt;Nesse exemplo, ficaria 5 (gráfico direito) dividido por 1598 (gráfico esquerdo): 5 / 1598&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Obrigado,&lt;/P&gt;&lt;P&gt;Pablo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Oct 2018 15:54:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Count-em-campos-com-datas-diferentes/m-p/132151#M7250</guid>
      <dc:creator>pablogadotti</dc:creator>
      <dc:date>2018-10-03T15:54:29Z</dc:date>
    </item>
    <item>
      <title>Re: Count em campos com datas diferentes</title>
      <link>https://community.qlik.com/t5/Brasil/Count-em-campos-com-datas-diferentes/m-p/132152#M7251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Olá Pablo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Teria que fazer uso de Set Analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Acredito que funcionaria o seguinte:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;count({&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;ANO_MES&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;={&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;'2018/08'&lt;/SPAN&gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&amp;gt;}&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;ANO_MES_INFECCAO&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;/&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;count({&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;ANO_MES&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;={'2018/08'}&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;ANO_MES&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Oct 2018 16:19:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Count-em-campos-com-datas-diferentes/m-p/132152#M7251</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-10-03T16:19:10Z</dc:date>
    </item>
    <item>
      <title>Re: Count em campos com datas diferentes</title>
      <link>https://community.qlik.com/t5/Brasil/Count-em-campos-com-datas-diferentes/m-p/132153#M7252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pablo, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Esse post ensina a fazer o que você precisa, que é criar um calendário único unindo as duas datas&lt;BR /&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3585"&gt;Canonical Date&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Oct 2018 16:34:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Count-em-campos-com-datas-diferentes/m-p/132153#M7252</guid>
      <dc:creator>klaus_gibin</dc:creator>
      <dc:date>2018-10-03T16:34:38Z</dc:date>
    </item>
    <item>
      <title>Re: Count em campos com datas diferentes</title>
      <link>https://community.qlik.com/t5/Brasil/Count-em-campos-com-datas-diferentes/m-p/132154#M7253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pablo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Como o Klaus já sugeriu, você pode usar o canonical calendar para isso. Veja, além do link que ele postou, alguns exemplos:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/1404407"&gt;Re: Integrar Datas&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/1406087"&gt;Re: Tabela Fato e Dimensões&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/1485756"&gt;Re: Campos de datas em múltiplas tabelas&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Oct 2018 22:13:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Count-em-campos-com-datas-diferentes/m-p/132154#M7253</guid>
      <dc:creator>Thiago_Justen_</dc:creator>
      <dc:date>2018-10-03T22:13:56Z</dc:date>
    </item>
    <item>
      <title>Re: Count em campos com datas diferentes</title>
      <link>https://community.qlik.com/t5/Brasil/Count-em-campos-com-datas-diferentes/m-p/132155#M7254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Valeu, pessoal!&lt;/P&gt;&lt;P&gt;Acabei utilizando uma outra maneira, mas as dicas de você me ajudarão em outros cenários que precisarei fazer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Até mais&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2018 15:13:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Count-em-campos-com-datas-diferentes/m-p/132155#M7254</guid>
      <dc:creator>pablogadotti</dc:creator>
      <dc:date>2018-10-26T15:13:09Z</dc:date>
    </item>
  </channel>
</rss>

