<?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: Different Values In a Expression when I Choose One particular Value Of a Dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Different-Values-In-a-Expression-when-I-Choose-One-particular/m-p/394859#M147269</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Without knowing which tabels/ fields are linked or not, and what is in the variables, it is not possible to say what the problem is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Given the info I have, I can only guess that selecting the customer CNA008020 is altering the date range evaluated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Sep 2012 16:25:59 GMT</pubDate>
    <dc:creator>stigchel</dc:creator>
    <dc:date>2012-09-11T16:25:59Z</dc:date>
    <item>
      <title>Different Values In a Expression when I Choose One particular Value Of a Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Different-Values-In-a-Expression-when-I-Choose-One-particular/m-p/394856#M147266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, this title could be misleading, so I'll try to make it quite clear. I have a Simple Table With One dimension a several expressions. One of those is "RAPPEL" which formula is the following&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 _jivemacro_uid_13473627448946731" jivemacro_uid="_13473627448946731"&gt;&lt;P&gt;/// A&lt;/P&gt;&lt;P&gt;IF(Gestion.CodigoCliente='CNA008020',Sum(TOTAL {&amp;lt;CalendarDate={'&amp;lt;=$(=Date(vFFG)) &amp;gt;=$(=Date(vFIG))'} , OutGestionTotal.NCuenta={7090002} &amp;gt;}&lt;/P&gt;&lt;P&gt; OutGestionTotal.ImporteCompra),&lt;/P&gt;&lt;P&gt;// B&lt;/P&gt;&lt;P&gt;IF(Gestion.CodigoCliente='CNA008007',Sum(TOTAL {&amp;lt;CalendarDate={'&amp;lt;=$(=Date(vFFG)) &amp;gt;=$(=Date(vFIG))'} , OutGestionTotal.NCuenta={7090003} &amp;gt;} &lt;/P&gt;&lt;P&gt;OutGestionTotal.ImporteCompra),&lt;/P&gt;&lt;P&gt; // C&lt;/P&gt;&lt;P&gt;IF(Gestion.CodigoCliente='CNA008008' ,Sum(TOTAL {&amp;lt;CalendarDate={'&amp;lt;=$(=Date(vFFG)) &amp;gt;=$(=Date(vFIG))'} , OutGestionTotal.NCuenta={7090004} &amp;gt;}&lt;/P&gt;&lt;P&gt; OutGestionTotal.ImporteCompra),0)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the only filter applied this a date range ( let's say last month) I get these data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="21628" class="jive-image-thumbnail jive-image" onclick="" alt="Captura.JPG" src="https://community.qlik.com/legacyfs/online/21628_Captura.JPG" width="450" /&gt;&lt;/P&gt;&lt;P&gt;But when I choose one of those Customer (i.e CNA008020 with 5474.80 €) the table changes this way&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="21632" class="jive-image" alt="Captura.JPG" src="https://community.qlik.com/legacyfs/online/21632_Captura.JPG" /&gt;&lt;/P&gt;&lt;P&gt;Why does it change? Note that the value Kilos remains the same.&lt;/P&gt;&lt;P&gt;Thank you all!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2012 11:32:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Different-Values-In-a-Expression-when-I-Choose-One-particular/m-p/394856#M147266</guid>
      <dc:creator />
      <dc:date>2012-09-11T11:32:35Z</dc:date>
    </item>
    <item>
      <title>Re: Different Values In a Expression when I Choose One particular Value Of a Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Different-Values-In-a-Expression-when-I-Choose-One-particular/m-p/394857#M147267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's because of the TOTAL qualifier you use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the word &lt;SPAN style="color: #ffffff; background-color: #0a246a; font-weight: bold;"&gt;total&lt;/SPAN&gt; occurs before an &lt;SPAN style="font-style: italic;"&gt;expression&lt;/SPAN&gt;, the calculation will be made over all possible values given the current selections, but disregarding the chart dimensions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first table is basically showing &lt;CODE class="jive-code"&gt;OutGestionTotal.NCuenta={7090002}&lt;/CODE&gt; for the given dates.&lt;/P&gt;&lt;P&gt;The second table is showing these same results but then for CNA008020 (Your selection, that was first disregarded as dimension)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2012 12:44:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Different-Values-In-a-Expression-when-I-Choose-One-particular/m-p/394857#M147267</guid>
      <dc:creator>stigchel</dc:creator>
      <dc:date>2012-09-11T12:44:56Z</dc:date>
    </item>
    <item>
      <title>Re: Different Values In a Expression when I Choose One particular Value Of a Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Different-Values-In-a-Expression-when-I-Choose-One-particular/m-p/394858#M147268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi StigchelI, I understand but the Table [OUTGESTIONCOMPRA] is different, external to the table [GESTION], they are not linked, so what I try do with the formula&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;&lt;CODE class="jive-code"&gt;IF(Gestion.CodigoCliente='CNA008020',Sum(TOTAL {&amp;lt;CalendarDate={'&amp;lt;=$(=Date(vFFG)) &amp;gt;=$(=Date(vFIG))'} , OutGestionTotal.NCuenta={7090002} &amp;gt;}&lt;BR /&gt; OutGestionTotal.ImporteCompra),&lt;/CODE&gt; .....&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;is to sum all the values of the field [OutGestionTotal.ImporteCompra] and just show them in the row of the customer 'CNA008020'. The Sum shouldn't change because it not depends on the value of the dimension [Gestion.CodigoCliente]. It only depends on the date range (CalendarDate) and the value of the field [OutGestionTotal.NCuenta] in this case '7090002'.&lt;/P&gt;&lt;P&gt;At least is what I think.&lt;/P&gt;&lt;P&gt;Thanks for yor time&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2012 16:12:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Different-Values-In-a-Expression-when-I-Choose-One-particular/m-p/394858#M147268</guid>
      <dc:creator />
      <dc:date>2012-09-11T16:12:34Z</dc:date>
    </item>
    <item>
      <title>Re: Different Values In a Expression when I Choose One particular Value Of a Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Different-Values-In-a-Expression-when-I-Choose-One-particular/m-p/394859#M147269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Without knowing which tabels/ fields are linked or not, and what is in the variables, it is not possible to say what the problem is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Given the info I have, I can only guess that selecting the customer CNA008020 is altering the date range evaluated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2012 16:25:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Different-Values-In-a-Expression-when-I-Choose-One-particular/m-p/394859#M147269</guid>
      <dc:creator>stigchel</dc:creator>
      <dc:date>2012-09-11T16:25:59Z</dc:date>
    </item>
  </channel>
</rss>

