<?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: Gráfico organiza data errada in Brasil</title>
    <link>https://community.qlik.com/t5/Brasil/Gr%C3%A1fico-organiza-data-errada/m-p/1352726#M49201</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Arthur, boa tarde.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tenta transformar os campos &lt;EM style="font-size: 13.3333px; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Ano_Cal&amp;amp;Mes_Cal&lt;/STRONG&gt;&lt;/EM&gt; em data, dentro do script.&lt;/P&gt;&lt;P&gt;Usa a função Date(Date#(&lt;EM style="font-size: 13.3333px; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Ano_Cal&amp;amp;Mes_Cal&lt;/STRONG&gt;&lt;/EM&gt;)&lt;SPAN style="color: #3d3d3d; font-size: 13.3333px;"&gt;, '&lt;SPAN style="color: #ff0000;"&gt;MASCARA&lt;/SPAN&gt;'), 'MMM/YYYY'). &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MÁSCARA = 'YYYYMM' - Se o ano estiver em número (02 ou 2)&lt;/P&gt;&lt;P&gt;MÁSCARA = 'YYYYMMM' - Se o ano estiver em letras (fev)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Apr 2017 18:31:48 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-04-20T18:31:48Z</dc:date>
    <item>
      <title>Gráfico organiza data errada</title>
      <link>https://community.qlik.com/t5/Brasil/Gr%C3%A1fico-organiza-data-errada/m-p/1352724#M49199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: arial, helvetica, sans-serif;"&gt;Bom dia!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: arial, helvetica, sans-serif;"&gt;Estou montando uma pasta que contém dois gráficos com dados provindos da mesma BD no excel.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: arial, helvetica, sans-serif;"&gt;As informações/variáveis que uso são: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: arial, helvetica, sans-serif;"&gt;&lt;STRONG&gt;Data de faturamento&lt;/STRONG&gt; (que gera os campos &lt;STRONG&gt;&lt;EM&gt;Ano_Cal,&lt;/EM&gt;&lt;/STRONG&gt; &lt;EM&gt;&lt;STRONG&gt;Mes_cal&lt;/STRONG&gt;&lt;/EM&gt; e &lt;EM&gt;&lt;STRONG&gt;Quarter&lt;/STRONG&gt;&lt;/EM&gt;), &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: arial, helvetica, sans-serif;"&gt;&lt;STRONG&gt;QtdFatUMR&lt;/STRONG&gt; (quantidade faturada), &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: arial, helvetica, sans-serif;"&gt;&lt;STRONG&gt;EXPORT TO&lt;/STRONG&gt; (país de exportação),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: arial, helvetica, sans-serif;"&gt;&lt;STRONG&gt;Fat_r$&lt;/STRONG&gt; (faturamento em reais) e &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: arial, helvetica, sans-serif;"&gt;&lt;STRONG&gt;Fat_U$&lt;/STRONG&gt; (faturamento em dolar, já calculado a partir de uma coluna de cotação).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: arial, helvetica, sans-serif;"&gt;Um gráfico é de barras com dimensões, em ordem: &lt;STRONG&gt;Ano_cal, Mes_Cal, EXPORT TO&lt;/STRONG&gt;. A expressão que uso é&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;&lt;EM&gt;&lt;STRONG&gt;sum({$}[QtdFatUMR])/1000000&lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: arial, helvetica, sans-serif;"&gt;Esse gráfico funciona perfeitamente com meus filtros, com as barras contendo a variável QtdFatUMR e no eixo horizontal os meses agrupados por ano (vide imagem abaixo)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: arial, helvetica, sans-serif;"&gt;&lt;IMG __jive_id="160661" alt="Graf.ex.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/160661_Graf.ex.PNG" style="height: auto;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: arial, helvetica, sans-serif;"&gt;O segundo gráfico é um gráfico de linha que mostrando preços para determinados mercados. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: arial, helvetica, sans-serif;"&gt;As dimensões que são, em ordem: &lt;STRONG&gt;Calculada: =Mes_Cal&amp;amp;'/'&amp;amp;Ano_Cal, Mercados&lt;/STRONG&gt;. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: arial, helvetica, sans-serif;"&gt;O que não consigo fazer é o seguinte:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: arial, helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: arial, helvetica, sans-serif;"&gt;1) Gostaria de agrupar as datas assim como no gráfico de barras, o que consegui classificando a dimensão com a fórmula&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: arial, helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;&lt;EM&gt;&lt;STRONG&gt;Ano_Cal&amp;amp;Mes_Cal,&lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: arial, helvetica, sans-serif;"&gt;EXCETO dois meses específicos. Para esses meses (dois meses de um ano X), eles sempre aparecem no final da seleção. Já conferi minha BD e não acho o que pode ser o problema, até porque eles aparecem na ordem correta no gráfico de barras.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: arial, helvetica, sans-serif;"&gt;Alguma ideia do que pode ser?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: arial, helvetica, sans-serif;"&gt;Obrigado!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: arial, helvetica, sans-serif;"&gt;Arthur&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mensagem editada por: Arthur Resende&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Apr 2017 15:09:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Gr%C3%A1fico-organiza-data-errada/m-p/1352724#M49199</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-20T15:09:26Z</dc:date>
    </item>
    <item>
      <title>Re: Gráfico organiza data errada</title>
      <link>https://community.qlik.com/t5/Brasil/Gr%C3%A1fico-organiza-data-errada/m-p/1352725#M49200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Arthur,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Voce poderia disponibilizar de preferencia o QVW, ou pelo menos uma imagem da situação que voce deseja ajustar como fez com o grafico de barras, para que eu possa tentar te ajudar?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Apr 2017 18:29:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Gr%C3%A1fico-organiza-data-errada/m-p/1352725#M49200</guid>
      <dc:creator>mauroponte</dc:creator>
      <dc:date>2017-04-20T18:29:34Z</dc:date>
    </item>
    <item>
      <title>Re: Gráfico organiza data errada</title>
      <link>https://community.qlik.com/t5/Brasil/Gr%C3%A1fico-organiza-data-errada/m-p/1352726#M49201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Arthur, boa tarde.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tenta transformar os campos &lt;EM style="font-size: 13.3333px; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Ano_Cal&amp;amp;Mes_Cal&lt;/STRONG&gt;&lt;/EM&gt; em data, dentro do script.&lt;/P&gt;&lt;P&gt;Usa a função Date(Date#(&lt;EM style="font-size: 13.3333px; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Ano_Cal&amp;amp;Mes_Cal&lt;/STRONG&gt;&lt;/EM&gt;)&lt;SPAN style="color: #3d3d3d; font-size: 13.3333px;"&gt;, '&lt;SPAN style="color: #ff0000;"&gt;MASCARA&lt;/SPAN&gt;'), 'MMM/YYYY'). &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MÁSCARA = 'YYYYMM' - Se o ano estiver em número (02 ou 2)&lt;/P&gt;&lt;P&gt;MÁSCARA = 'YYYYMMM' - Se o ano estiver em letras (fev)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Apr 2017 18:31:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Gr%C3%A1fico-organiza-data-errada/m-p/1352726#M49201</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-20T18:31:48Z</dc:date>
    </item>
    <item>
      <title>Re: Gráfico organiza data errada</title>
      <link>https://community.qlik.com/t5/Brasil/Gr%C3%A1fico-organiza-data-errada/m-p/1352727#M49202</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;Eu fiz algo levemente diferente, mas usei a função MakeDate e funcionou.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Muito obrigado!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Apr 2017 11:22:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Gr%C3%A1fico-organiza-data-errada/m-p/1352727#M49202</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-27T11:22:27Z</dc:date>
    </item>
  </channel>
</rss>

