<?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: Problema com Data in Brasil</title>
    <link>https://community.qlik.com/t5/Brasil/Problema-com-Data/m-p/27833#M1422</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Os valores ficam exatos sem filtros, mas, após filtrar, por exemplo, 2018 o ano anterior fica completamente zerado. Ao filtrar 2017 o ano anterior fica com valores de 2017 e não 2016.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Mar 2018 22:05:24 GMT</pubDate>
    <dc:creator>josh_ben86</dc:creator>
    <dc:date>2018-03-28T22:05:24Z</dc:date>
    <item>
      <title>Problema com Data</title>
      <link>https://community.qlik.com/t5/Brasil/Problema-com-Data/m-p/27828#M1417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Boa tarde galera!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Foi ser objetivo na minha dúvida... espero que entendam rss..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Possuo uma tabela com orçamento acumulado, onde possuo na dimenssão (Grupo de conta) e nas medidas (Valor anterior) e (valor atual), conforme imagem abaixo:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="197810" alt="GC.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/197810_GC.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ano Anterior:&lt;/P&gt;&lt;P&gt;Para calcular o grupo de conta utilizo a seguinte expressão (Vou mostrar a expressão apenas de faturamento):&lt;/P&gt;&lt;P&gt;Variavel (vAn) : =Year(Max({$&amp;lt;FlgRealizado={1}&amp;gt;} [COMPETENCIA]))-1&lt;/P&gt;&lt;P&gt;Expressão Fat : sum({$&amp;lt;ano={'$(vAn)'}&amp;gt;}Tarifa),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ano Atual:&lt;/P&gt;&lt;P&gt;Variavel: =Year(Max({$&amp;lt;FlgRealizado={1}&amp;gt;} [COMPETENCIA]))&lt;/P&gt;&lt;P&gt;Expressão Fat (vAtt): sum({&amp;lt; ano={'$(vAtt)'}&amp;gt;}Tarifa)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Criei um Master Calendário conforme abaixo:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="197811" alt="Calendário.png" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/197811_Calendário.png" /&gt;&lt;/P&gt;&lt;P&gt;Eu tento utilizar flag realizado devido a provisão. As datas (COMPETENCIA) vaõ de 2016 a 2019 (Provisão)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A minha dúvida é a seguinte:&lt;/P&gt;&lt;P&gt;1) Em 2018 não possuo ainda valores de faturamento, ou seja, me retorna 0; OK&lt;/P&gt;&lt;P&gt;2) Quando aplico o filtro de ano e/ou mes, a partir de março os valores do ano anterior ficam zerados, porem, possuem valores. (Creio que seja por causa do today());&lt;/P&gt;&lt;P&gt;3) Quando aplico o filtro de mes, em 2018 a partir de março ele me traz os valores do ano anterior no ano atual;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gostaria de compreender o pq dos problemas causados com data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Agradeço desde já.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2018 19:43:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Problema-com-Data/m-p/27828#M1417</guid>
      <dc:creator>josh_ben86</dc:creator>
      <dc:date>2018-03-28T19:43:33Z</dc:date>
    </item>
    <item>
      <title>Re: Problema com Data</title>
      <link>https://community.qlik.com/t5/Brasil/Problema-com-Data/m-p/27829#M1418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Josh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Se me permite, sugiro testar as expressões a seguir para o faturamento:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Ano Atual:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Sum({&amp;lt;ano={$(=Max(ano))},&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;FlgRealizado={1}&lt;/SPAN&gt;&amp;gt;}Tarifa)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Ano Anterior:&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;EM&gt;Sum({&amp;lt;ano={$(=Max(ano)-1)},&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;FlgRealizado={1}&lt;/SPAN&gt;&amp;gt;}Tarifa)&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2018 20:48:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Problema-com-Data/m-p/27829#M1418</guid>
      <dc:creator>Thiago_Justen_</dc:creator>
      <dc:date>2018-03-28T20:48:32Z</dc:date>
    </item>
    <item>
      <title>Re: Problema com Data</title>
      <link>https://community.qlik.com/t5/Brasil/Problema-com-Data/m-p/27830#M1419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;olá Thiago,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;o único problema que surgiu agora é que se eu não filtrar ano os resultados do ano anterior aparecem zerados.&amp;nbsp; Utilizando os filtros já não tenho o problema mencionado de trazer valores de outros meses, mas, agora o ano anterior só mostra os valores pós filtro.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2018 21:36:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Problema-com-Data/m-p/27830#M1419</guid>
      <dc:creator>josh_ben86</dc:creator>
      <dc:date>2018-03-28T21:36:30Z</dc:date>
    </item>
    <item>
      <title>Re: Problema com Data</title>
      <link>https://community.qlik.com/t5/Brasil/Problema-com-Data/m-p/27831#M1420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Que tal tentarmos algo diferente então:&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;STRONG style="font-style: inherit; font-family: inherit;"&gt;Ano Atual:&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;Sum({&amp;lt;TempDate={"&amp;gt;=$(=YearStart(Today()))&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&amp;lt;=$(=Today())&lt;/EM&gt;"}&amp;gt;}Tarifa)&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Ano Anterior:&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;Sum({&amp;lt;TempDate={"&amp;gt;=$(=AddYears(YearStart(Today()),-1))&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&amp;lt;=$(=&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;AddYears(YearEnd(Today()),-1))&lt;/EM&gt;)&lt;/EM&gt;"}&amp;gt;}Tarifa)&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/EM&gt;Repare que não há necessidade aqui do campo FlgRealizado já que no Set Analysis eu já cumpri a regra de negócio para esse campo.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2018 21:48:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Problema-com-Data/m-p/27831#M1420</guid>
      <dc:creator>Thiago_Justen_</dc:creator>
      <dc:date>2018-03-28T21:48:42Z</dc:date>
    </item>
    <item>
      <title>Re: Problema com Data</title>
      <link>https://community.qlik.com/t5/Brasil/Problema-com-Data/m-p/27832#M1421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Fiz alguns teste e vi que a expressão ano={'$(=max(ano)-1)'},FlgRealizado={1} me retorna 2018 ao invés de 17, ou seja, o FlgRealizado não está acatando.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2018 21:48:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Problema-com-Data/m-p/27832#M1421</guid>
      <dc:creator>josh_ben86</dc:creator>
      <dc:date>2018-03-28T21:48:48Z</dc:date>
    </item>
    <item>
      <title>Re: Problema com Data</title>
      <link>https://community.qlik.com/t5/Brasil/Problema-com-Data/m-p/27833#M1422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Os valores ficam exatos sem filtros, mas, após filtrar, por exemplo, 2018 o ano anterior fica completamente zerado. Ao filtrar 2017 o ano anterior fica com valores de 2017 e não 2016.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2018 22:05:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Problema-com-Data/m-p/27833#M1422</guid>
      <dc:creator>josh_ben86</dc:creator>
      <dc:date>2018-03-28T22:05:24Z</dc:date>
    </item>
    <item>
      <title>Re: Problema com Data</title>
      <link>https://community.qlik.com/t5/Brasil/Problema-com-Data/m-p/27834#M1423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Editado&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Podemos tentar assim então:&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-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;Ano Atual:&lt;/STRONG&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-family: inherit;"&gt;&lt;EM&gt;Sum({&amp;lt;ano={"=Max({&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-weight: inherit;"&gt;&lt;EM&gt;FlgRealizado={1}&lt;/EM&gt;&lt;/SPAN&gt;&amp;gt;}ano)"}&amp;gt;*&amp;lt;&lt;EM style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;FlgRealizado={1}&lt;/EM&gt;&amp;gt;}Tarifa)&lt;/EM&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-family: inherit;"&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;STRONG&gt;Ano Anterior:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-weight: inherit;"&gt;&lt;EM&gt;Sum({&amp;lt;ano={"=Max({&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-weight: inherit;"&gt;&lt;EM&gt;FlgRealizado={1}&lt;/EM&gt;&lt;/SPAN&gt;&amp;gt;}ano)-1"}&amp;gt;&lt;EM style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;*&amp;lt;&lt;EM style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;FlgRealizado={1}&lt;/EM&gt;&amp;gt;&lt;/EM&gt;}Tarifa)&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2018 22:19:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Problema-com-Data/m-p/27834#M1423</guid>
      <dc:creator>Thiago_Justen_</dc:creator>
      <dc:date>2018-03-28T22:19:02Z</dc:date>
    </item>
    <item>
      <title>Re: Problema com Data</title>
      <link>https://community.qlik.com/t5/Brasil/Problema-com-Data/m-p/27835#M1424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Josh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Em que pé estamos? A sugestão dada aqui foi útil?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/1461473"&gt;Re: Problema com Data&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2018 01:26:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Problema-com-Data/m-p/27835#M1424</guid>
      <dc:creator>Thiago_Justen_</dc:creator>
      <dc:date>2018-03-30T01:26:01Z</dc:date>
    </item>
    <item>
      <title>Re: Problema com Data</title>
      <link>https://community.qlik.com/t5/Brasil/Problema-com-Data/m-p/27836#M1425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Olá thiago...ajudou bastante mas ainda estou com alguns problemas... mas para finalizar o tópico vou marcar sua resposta... Qualquer dúvida farei em um tópico novo... Obrigado&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2018 11:29:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Problema-com-Data/m-p/27836#M1425</guid>
      <dc:creator>josh_ben86</dc:creator>
      <dc:date>2018-04-03T11:29:15Z</dc:date>
    </item>
    <item>
      <title>Re: Problema com Data</title>
      <link>https://community.qlik.com/t5/Brasil/Problema-com-Data/m-p/27837#M1426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perfeito Josh. Qualquer outra dúvida estamos à disposição!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2018 11:48:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Problema-com-Data/m-p/27837#M1426</guid>
      <dc:creator>Thiago_Justen_</dc:creator>
      <dc:date>2018-04-03T11:48:13Z</dc:date>
    </item>
  </channel>
</rss>

