<?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 Error variable in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Error-variable/m-p/261446#M582235</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'd use set analysis in the expression that is stored into the variable anyway. Is it possible to upload a very small sample of the application so we can check more comfortably? Just the chart and some data will be ok.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Nov 2011 19:10:36 GMT</pubDate>
    <dc:creator>Miguel_Angel_Baeyens</dc:creator>
    <dc:date>2011-11-28T19:10:36Z</dc:date>
    <item>
      <title>Error variable</title>
      <link>https://community.qlik.com/t5/QlikView/Error-variable/m-p/261443#M582230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Amigos,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Estou com um problema na criação de uma variavél.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vamos lá...&lt;/P&gt;&lt;P&gt;Conforme a figura em anexo, quando utilizo no meu gráfico a variável ele simplismente esta totalizando o valor para todos.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ton_Vol_Atual = SUM(IF(ANO_EMISSAO = V_Maior_Ano,D1_QUANT))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;O Que esta errado?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Nov 2011 18:15:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-variable/m-p/261443#M582230</guid>
      <dc:creator />
      <dc:date>2011-11-28T18:15:35Z</dc:date>
    </item>
    <item>
      <title>Error variable</title>
      <link>https://community.qlik.com/t5/QlikView/Error-variable/m-p/261444#M582231</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;Try adding a "=" sign at the begninning in the Settings menu, Variable Overview, Description. It will also depend on how are you using the variable $(=Ton_Vol_Atual) or $(Ton_Vol_Atual)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Nov 2011 18:41:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-variable/m-p/261444#M582231</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-11-28T18:41:53Z</dc:date>
    </item>
    <item>
      <title>Re: Error variable</title>
      <link>https://community.qlik.com/t5/QlikView/Error-variable/m-p/261445#M582232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="hps" style="font-family: arial, sans-serif; font-size: 16px; text-align: -webkit-auto; background-color: #f5f5f5;"&gt;Miguel,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR style="font-family: arial, sans-serif; font-size: 16px; text-align: -webkit-auto; background-color: #f5f5f5;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps" style="font-family: arial, sans-serif; font-size: 16px; text-align: -webkit-auto; background-color: #f5f5f5;"&gt;As&lt;/SPAN&gt; &lt;SPAN class="hps" style="font-family: arial, sans-serif; font-size: 16px; text-align: -webkit-auto; background-color: #f5f5f5;"&gt;attached image&lt;/SPAN&gt;&lt;SPAN style="font-family: arial, sans-serif; font-size: 16px; text-align: -webkit-auto; background-color: #f5f5f5;"&gt;:&lt;/SPAN&gt; &lt;SPAN class="hps" style="font-family: arial, sans-serif; font-size: 16px; text-align: -webkit-auto; background-color: #f5f5f5;"&gt;Using&lt;/SPAN&gt; &lt;SPAN class="hps" style="font-family: arial, sans-serif; font-size: 16px; text-align: -webkit-auto; background-color: #f5f5f5;"&gt;$&lt;/SPAN&gt; &lt;SPAN class="hps" style="font-family: arial, sans-serif; font-size: 16px; text-align: -webkit-auto; background-color: #f5f5f5;"&gt;(=&lt;/SPAN&gt; &lt;SPAN class="hps" style="font-family: arial, sans-serif; font-size: 16px; text-align: -webkit-auto; background-color: #f5f5f5;"&gt;Ton_Vol_Atual&lt;/SPAN&gt;&lt;SPAN style="font-family: arial, sans-serif; font-size: 16px; text-align: -webkit-auto; background-color: #f5f5f5;"&gt;)&lt;/SPAN&gt; &lt;SPAN class="hps" style="font-family: arial, sans-serif; font-size: 16px; text-align: -webkit-auto; background-color: #f5f5f5;"&gt;or $&lt;/SPAN&gt; &lt;SPAN class="hps atn" style="font-family: arial, sans-serif; font-size: 16px; text-align: -webkit-auto; background-color: #f5f5f5;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: arial, sans-serif; font-size: 16px; text-align: -webkit-auto; background-color: #f5f5f5;"&gt;Ton_Vol_Atual&lt;/SPAN&gt;&lt;SPAN style="font-family: arial, sans-serif; font-size: 16px; text-align: -webkit-auto; background-color: #f5f5f5;"&gt;)&lt;/SPAN&gt; &lt;SPAN class="hps" style="font-family: arial, sans-serif; font-size: 16px; text-align: -webkit-auto; background-color: #f5f5f5;"&gt;have&lt;/SPAN&gt; &lt;SPAN class="hps" style="font-family: arial, sans-serif; font-size: 16px; text-align: -webkit-auto; background-color: #f5f5f5;"&gt;the value&lt;/SPAN&gt; &lt;SPAN class="hps" style="font-family: arial, sans-serif; font-size: 16px; text-align: -webkit-auto; background-color: #f5f5f5;"&gt;"-".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR style="font-family: arial, sans-serif; font-size: 16px; text-align: -webkit-auto; background-color: #f5f5f5;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps" style="font-family: arial, sans-serif; font-size: 16px; text-align: -webkit-auto; background-color: #f5f5f5;"&gt;I've tried everything&lt;/SPAN&gt;&lt;SPAN style="font-family: arial, sans-serif; font-size: 16px; text-align: -webkit-auto; background-color: #f5f5f5;"&gt;,&lt;/SPAN&gt; &lt;SPAN class="hps" style="font-family: arial, sans-serif; font-size: 16px; text-align: -webkit-auto; background-color: #f5f5f5;"&gt;if you have any&lt;/SPAN&gt; &lt;SPAN class="hps" style="font-family: arial, sans-serif; font-size: 16px; text-align: -webkit-auto; background-color: #f5f5f5;"&gt;idea&lt;/SPAN&gt; &lt;SPAN class="hps" style="font-family: arial, sans-serif; font-size: 16px; text-align: -webkit-auto; background-color: #f5f5f5;"&gt;help me,&lt;/SPAN&gt; &lt;SPAN class="hps" style="font-family: arial, sans-serif; font-size: 16px; text-align: -webkit-auto; background-color: #f5f5f5;"&gt;please!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Nov 2011 19:07:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-variable/m-p/261445#M582232</guid>
      <dc:creator />
      <dc:date>2011-11-28T19:07:29Z</dc:date>
    </item>
    <item>
      <title>Error variable</title>
      <link>https://community.qlik.com/t5/QlikView/Error-variable/m-p/261446#M582235</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'd use set analysis in the expression that is stored into the variable anyway. Is it possible to upload a very small sample of the application so we can check more comfortably? Just the chart and some data will be ok.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Nov 2011 19:10:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-variable/m-p/261446#M582235</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-11-28T19:10:36Z</dc:date>
    </item>
    <item>
      <title>Re: Error variable</title>
      <link>https://community.qlik.com/t5/QlikView/Error-variable/m-p/261447#M582237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="hps" style="font-family: arial, sans-serif; font-size: 16px; text-align: -webkit-auto; background-color: #f5f5f5;"&gt;Miguel, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR style="font-family: arial, sans-serif; font-size: 16px; text-align: -webkit-auto; background-color: #f5f5f5;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps" style="font-family: arial, sans-serif; font-size: 16px; text-align: -webkit-auto; background-color: #f5f5f5;"&gt;Here is an&lt;/SPAN&gt; &lt;SPAN class="hps" style="font-family: arial, sans-serif; font-size: 16px; text-align: -webkit-auto; background-color: #f5f5f5;"&gt;example of what&lt;/SPAN&gt; &lt;SPAN class="hps" style="font-family: arial, sans-serif; font-size: 16px; text-align: -webkit-auto; background-color: #f5f5f5;"&gt;is happening&lt;/SPAN&gt;&lt;SPAN style="font-family: arial, sans-serif; font-size: 16px; text-align: -webkit-auto; background-color: #f5f5f5;"&gt;,&lt;/SPAN&gt; &lt;SPAN class="hps" style="font-family: arial, sans-serif; font-size: 16px; text-align: -webkit-auto; background-color: #f5f5f5;"&gt;see if you can&lt;/SPAN&gt; &lt;SPAN class="hps" style="font-family: arial, sans-serif; font-size: 16px; text-align: -webkit-auto; background-color: #f5f5f5;"&gt;help me.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Nov 2011 13:21:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-variable/m-p/261447#M582237</guid>
      <dc:creator />
      <dc:date>2011-11-29T13:21:05Z</dc:date>
    </item>
    <item>
      <title>Re: Error variable</title>
      <link>https://community.qlik.com/t5/QlikView/Error-variable/m-p/261448#M582242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robertta,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the ammended file. Note the changes in the Variable Overview dialog. I've changed the expression to use set analysis instead of the If() conditional.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is that what you were looking for?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EDIT: Of course, it will work without the set analysis. The issue was in the other variable V_Maior_Ano, that needed to be expanded since it stores a function that has to be evaluated instead of a numeric value:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;SUM(IF(ANO_EMISSAO = $(V_Maior_Ano), D1_QUANT))&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that I also removed the "=" sign at the left. As far as performance is concerned, the set analysis will do faster than this one.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Nov 2011 15:14:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-variable/m-p/261448#M582242</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-11-29T15:14:53Z</dc:date>
    </item>
    <item>
      <title>Error variable</title>
      <link>https://community.qlik.com/t5/QlikView/Error-variable/m-p/261449#M582246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="hps" style="font-family: arial, sans-serif; font-size: 24px; text-align: -webkit-auto; background-color: #f5f5f5;"&gt;Miguel,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR style="font-family: arial, sans-serif; font-size: 24px; text-align: -webkit-auto; background-color: #f5f5f5;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps" style="font-family: arial, sans-serif; font-size: 24px; text-align: -webkit-auto; background-color: #f5f5f5;"&gt;It worked!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps" style="font-family: arial, sans-serif; font-size: 24px; text-align: -webkit-auto; background-color: #f5f5f5;"&gt;Thank you&lt;/SPAN&gt;&lt;SPAN style="font-family: arial, sans-serif; font-size: 24px; text-align: -webkit-auto; background-color: #f5f5f5;"&gt;!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Nov 2011 16:07:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-variable/m-p/261449#M582246</guid>
      <dc:creator />
      <dc:date>2011-11-29T16:07:37Z</dc:date>
    </item>
  </channel>
</rss>

