<?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 Variação de preço por ano in Brasil</title>
    <link>https://community.qlik.com/t5/Brasil/Varia%C3%A7%C3%A3o-de-pre%C3%A7o-por-ano/m-p/1933176#M60418</link>
    <description>&lt;P&gt;&lt;FONT style="vertical-align: inherit;"&gt;&lt;FONT style="vertical-align: inherit;"&gt;&lt;FONT style="vertical-align: inherit;"&gt;&lt;FONT style="vertical-align: inherit;"&gt;Boa tarde,&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT style="vertical-align: inherit;"&gt;&lt;FONT style="vertical-align: inherit;"&gt;&lt;FONT style="vertical-align: inherit;"&gt;&lt;FONT style="vertical-align: inherit;"&gt;Preciso fazer calcular a "variação" do preço por ano conforme o print abaixo, pode me ajudar por favor?&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Listmaier_0-1652974262170.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/79861iF3930DDC49B4ED8F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Listmaier_0-1652974262170.png" alt="Listmaier_0-1652974262170.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT style="vertical-align: inherit;"&gt;&lt;FONT style="vertical-align: inherit;"&gt;Muito obrigado!&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 19 May 2022 15:34:21 GMT</pubDate>
    <dc:creator>Listmaier</dc:creator>
    <dc:date>2022-05-19T15:34:21Z</dc:date>
    <item>
      <title>Variação de preço por ano</title>
      <link>https://community.qlik.com/t5/Brasil/Varia%C3%A7%C3%A3o-de-pre%C3%A7o-por-ano/m-p/1933176#M60418</link>
      <description>&lt;P&gt;&lt;FONT style="vertical-align: inherit;"&gt;&lt;FONT style="vertical-align: inherit;"&gt;&lt;FONT style="vertical-align: inherit;"&gt;&lt;FONT style="vertical-align: inherit;"&gt;Boa tarde,&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT style="vertical-align: inherit;"&gt;&lt;FONT style="vertical-align: inherit;"&gt;&lt;FONT style="vertical-align: inherit;"&gt;&lt;FONT style="vertical-align: inherit;"&gt;Preciso fazer calcular a "variação" do preço por ano conforme o print abaixo, pode me ajudar por favor?&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Listmaier_0-1652974262170.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/79861iF3930DDC49B4ED8F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Listmaier_0-1652974262170.png" alt="Listmaier_0-1652974262170.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT style="vertical-align: inherit;"&gt;&lt;FONT style="vertical-align: inherit;"&gt;Muito obrigado!&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2022 15:34:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Varia%C3%A7%C3%A3o-de-pre%C3%A7o-por-ano/m-p/1933176#M60418</guid>
      <dc:creator>Listmaier</dc:creator>
      <dc:date>2022-05-19T15:34:21Z</dc:date>
    </item>
    <item>
      <title>Re: Variação de preço por ano</title>
      <link>https://community.qlik.com/t5/Brasil/Varia%C3%A7%C3%A3o-de-pre%C3%A7o-por-ano/m-p/1936957#M60423</link>
      <description>&lt;P&gt;Olá.&lt;/P&gt;
&lt;P&gt;Você pode fazer da seguinte forma:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RafaMartins_0-1653867475289.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/80562i5C5AA05E91CC90D7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RafaMartins_0-1653867475289.png" alt="RafaMartins_0-1653867475289.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Em uma gráfico irá postar sua medida referente ao preço e outra medida onde iriemos&amp;nbsp; calcular a variação de preço entre cada linha da dimensão nesse caso o Ano.&lt;/P&gt;
&lt;P&gt;Para calcular a variação utilizaremos a função above, que no permite fazer o calculo em uma linha utilizando o valor da anterior.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.qlik.com/pt-BR/sense/May2022/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/InterRecordFunctions/above.htm#:~:text=Above()%20avalia%20uma%20express%C3%A3o,ser%C3%A1%20a%20linha%20diretamente%20acima" target="_blank"&gt;https://help.qlik.com/pt-BR/sense/May2022/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/InterRecordFunctions/above.htm#:~:text=Above()%20avalia%20uma%20express%C3%A3o,ser%C3%A1%20a%20linha%20diretamente%20acima&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;No caso seria Sum(Preço)/ Above(Sum(Preço))-1&lt;/P&gt;
&lt;P&gt;Para mudar a cor da coluna na tabela você ira na medida da variação que incluiu e na opção de cor de fundo da coluna utilize&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If(Sum(Preço)/ Above(Sum(Preço))-1 &amp;gt; 0 , 'RED' ,If(Sum(Preço)/ Above(Sum(Preço))-1 &amp;lt; 0 , 'GREEN' ,'GREY'))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 29 May 2022 23:44:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Varia%C3%A7%C3%A3o-de-pre%C3%A7o-por-ano/m-p/1936957#M60423</guid>
      <dc:creator>RafaMartins</dc:creator>
      <dc:date>2022-05-29T23:44:21Z</dc:date>
    </item>
  </channel>
</rss>

