<?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: Set Analisys -1Dia e 1 Ano in Brasil</title>
    <link>https://community.qlik.com/t5/Brasil/Set-Analisys-1Dia-e-1-Ano/m-p/55801#M2862</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Talvez isso:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: line-through;"&gt;Ano Anterior (usando o campo dt_emissao):&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: line-through;"&gt;Sum({&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; text-decoration: line-through;"&gt;dt_emissao &lt;/SPAN&gt;={"&amp;gt;=$(=YearStart(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; text-decoration: line-through;"&gt;dt_emissao &lt;/SPAN&gt;))&amp;lt;=$(=YearEnd(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; text-decoration: line-through;"&gt;dt_emissao &lt;/SPAN&gt;))"}&amp;gt;}VALOR)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="text-decoration: line-through;"&gt;&lt;STRONG&gt;Ano Anterior (usando o campo ano_emissao (caso você o tenha)):&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="text-decoration: line-through;"&gt;Sum({&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; text-decoration: line-through;"&gt;ano_emissao &lt;/SPAN&gt;={$(=Max(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; text-decoration: line-through;"&gt;ano_emissao &lt;/SPAN&gt;)-1)}&amp;gt;}VALOR)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="text-decoration: line-through;"&gt;&lt;STRONG&gt;Dia Anterior (usando o campo dt_emissao):&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="text-decoration: line-through;"&gt;Sum({&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; text-decoration: line-through;"&gt;dt_emissao &lt;/SPAN&gt;={$(=Today()-1)}&amp;gt;}VALOR)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="text-decoration: line-through;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;&lt;EM style="color: #0000ff;"&gt;Corrigindo meu entendimento:&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Ano Anterior até 03/05/2017 (usando o campo dt_emissao):&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Sum({&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;dt_emissao &lt;/SPAN&gt;={"&amp;gt;=$(=YearStart(AddYears&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;(Today(),-1)&lt;/SPAN&gt;))&amp;lt;=$(=AddYears(Today()-1),-1)"}&amp;gt;}VALOR)&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Ano Anterior até Ontem (usando o campo dt_emissao):&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Sum({&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;dt_emissao &lt;/SPAN&gt;={"&amp;gt;=$(=YearStart(AddYears&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;(Today(),-1)&lt;/SPAN&gt;))&amp;lt;=$(=Today()-1)"}&amp;gt;}VALOR)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 May 2018 13:55:22 GMT</pubDate>
    <dc:creator>Thiago_Justen_</dc:creator>
    <dc:date>2018-05-04T13:55:22Z</dc:date>
    <item>
      <title>Set Analisys -1Dia e 1 Ano</title>
      <link>https://community.qlik.com/t5/Brasil/Set-Analisys-1Dia-e-1-Ano/m-p/55799#M2860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bom dia amigos&lt;/P&gt;&lt;P&gt;Estou fazendo um set analisys e preciso de informações referentes a valores anteriores a -1 dia e - ano atrás&lt;/P&gt;&lt;P&gt;No caso tenho um campo dt_emissao e preciso de informações antes do dia 03/05/2017&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Alguem consegue me ajudar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Obrigado.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 May 2018 12:26:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Set-Analisys-1Dia-e-1-Ano/m-p/55799#M2860</guid>
      <dc:creator>fmbrancher</dc:creator>
      <dc:date>2018-05-04T12:26:36Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analisys -1Dia e 1 Ano</title>
      <link>https://community.qlik.com/t5/Brasil/Set-Analisys-1Dia-e-1-Ano/m-p/55800#M2861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope you will translate like me &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if your date field is evaluated as a date, &lt;SPAN style="font-size: 10pt;"&gt;you can try this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for J-1:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Date(date_field-1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for Last year:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=AddYears(&lt;SPAN style="font-size: 13.3333px;"&gt;date_field&lt;/SPAN&gt;,-1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for J-1 last year:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=AddYears(&lt;SPAN style="font-size: 13.3333px;"&gt;date_field-1&lt;/SPAN&gt;,-1)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 May 2018 12:30:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Set-Analisys-1Dia-e-1-Ano/m-p/55800#M2861</guid>
      <dc:creator>YoussefBelloum</dc:creator>
      <dc:date>2018-05-04T12:30:39Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analisys -1Dia e 1 Ano</title>
      <link>https://community.qlik.com/t5/Brasil/Set-Analisys-1Dia-e-1-Ano/m-p/55801#M2862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Talvez isso:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: line-through;"&gt;Ano Anterior (usando o campo dt_emissao):&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: line-through;"&gt;Sum({&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; text-decoration: line-through;"&gt;dt_emissao &lt;/SPAN&gt;={"&amp;gt;=$(=YearStart(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; text-decoration: line-through;"&gt;dt_emissao &lt;/SPAN&gt;))&amp;lt;=$(=YearEnd(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; text-decoration: line-through;"&gt;dt_emissao &lt;/SPAN&gt;))"}&amp;gt;}VALOR)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="text-decoration: line-through;"&gt;&lt;STRONG&gt;Ano Anterior (usando o campo ano_emissao (caso você o tenha)):&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="text-decoration: line-through;"&gt;Sum({&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; text-decoration: line-through;"&gt;ano_emissao &lt;/SPAN&gt;={$(=Max(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; text-decoration: line-through;"&gt;ano_emissao &lt;/SPAN&gt;)-1)}&amp;gt;}VALOR)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="text-decoration: line-through;"&gt;&lt;STRONG&gt;Dia Anterior (usando o campo dt_emissao):&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="text-decoration: line-through;"&gt;Sum({&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; text-decoration: line-through;"&gt;dt_emissao &lt;/SPAN&gt;={$(=Today()-1)}&amp;gt;}VALOR)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="text-decoration: line-through;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;&lt;EM style="color: #0000ff;"&gt;Corrigindo meu entendimento:&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Ano Anterior até 03/05/2017 (usando o campo dt_emissao):&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Sum({&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;dt_emissao &lt;/SPAN&gt;={"&amp;gt;=$(=YearStart(AddYears&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;(Today(),-1)&lt;/SPAN&gt;))&amp;lt;=$(=AddYears(Today()-1),-1)"}&amp;gt;}VALOR)&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Ano Anterior até Ontem (usando o campo dt_emissao):&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Sum({&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;dt_emissao &lt;/SPAN&gt;={"&amp;gt;=$(=YearStart(AddYears&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;(Today(),-1)&lt;/SPAN&gt;))&amp;lt;=$(=Today()-1)"}&amp;gt;}VALOR)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 May 2018 13:55:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Set-Analisys-1Dia-e-1-Ano/m-p/55801#M2862</guid>
      <dc:creator>Thiago_Justen_</dc:creator>
      <dc:date>2018-05-04T13:55:22Z</dc:date>
    </item>
  </channel>
</rss>

