<?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 Dependence between expressions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dependence-between-expressions/m-p/1318394#M408914</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have found a weird QlikView behaviour, that I would like some feedback on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my understanding one expression must not have an influence on the result of another, unless you explicitly reference the other column, of course.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you can see in the attached example, it does in this particular instance though. In either of the 4 tables in the sample qvw you'll find the same dimensions and basically the same expressions. The only difference is, that in the top two tables, the set analysis in the expression is EXACTLY the same, while in the other two it is slightly different. When they are exactly the same within one table, the first expression shows wrong results. When they differ slightly within one table, the results are correct (the sum should be 33, not 66).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="170396" alt="66 vs 33.PNG" class="jive-image image-1" src="/legacyfs/online/170396_66 vs 33.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;It gets even weirder. When you copy the fact table during the load and then replace the original with the copy, the problem subsides as well (the load script contains the code for that, you just have to comment it out)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created this in QlikView 11.20.12904.0 SR12&lt;/P&gt;&lt;P&gt;Edit: The error persists in QlikView 12.10.20500.0 SR7&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does that make sense to anyone? Am I missing something? Or is this a bug? &lt;SPAN style="font-size: 10pt;"&gt;Can you see the same thing in later versions?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Expression dependence.qvw --&amp;gt; the actual application&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Expression dependence data.qvw --&amp;gt; the qvw the other one loads data from via a binary load&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;If you have any questions or aren't able to reproduce this, please let me know.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Sandro&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Jul 2017 11:01:45 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-07-17T11:01:45Z</dc:date>
    <item>
      <title>Dependence between expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Dependence-between-expressions/m-p/1318394#M408914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have found a weird QlikView behaviour, that I would like some feedback on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my understanding one expression must not have an influence on the result of another, unless you explicitly reference the other column, of course.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you can see in the attached example, it does in this particular instance though. In either of the 4 tables in the sample qvw you'll find the same dimensions and basically the same expressions. The only difference is, that in the top two tables, the set analysis in the expression is EXACTLY the same, while in the other two it is slightly different. When they are exactly the same within one table, the first expression shows wrong results. When they differ slightly within one table, the results are correct (the sum should be 33, not 66).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="170396" alt="66 vs 33.PNG" class="jive-image image-1" src="/legacyfs/online/170396_66 vs 33.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;It gets even weirder. When you copy the fact table during the load and then replace the original with the copy, the problem subsides as well (the load script contains the code for that, you just have to comment it out)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created this in QlikView 11.20.12904.0 SR12&lt;/P&gt;&lt;P&gt;Edit: The error persists in QlikView 12.10.20500.0 SR7&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does that make sense to anyone? Am I missing something? Or is this a bug? &lt;SPAN style="font-size: 10pt;"&gt;Can you see the same thing in later versions?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Expression dependence.qvw --&amp;gt; the actual application&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Expression dependence data.qvw --&amp;gt; the qvw the other one loads data from via a binary load&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;If you have any questions or aren't able to reproduce this, please let me know.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Sandro&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jul 2017 11:01:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dependence-between-expressions/m-p/1318394#M408914</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-17T11:01:45Z</dc:date>
    </item>
    <item>
      <title>Re: Dependence between expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Dependence-between-expressions/m-p/1318395#M408915</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;in your one of the expression for 'Test' you have used NuzzerId in set analysis and in another you have Nuzzer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;concat(&lt;/P&gt;&lt;P&gt;{1&amp;lt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;NutzerId&lt;/STRONG&gt;&lt;/SPAN&gt; = p({1&amp;lt;Nutzer = $::Nutzer, NutzerId = $::NutzerId&amp;gt;} &lt;STRONG style="text-decoration: underline;"&gt;NutzerId&lt;/STRONG&gt;),&lt;/P&gt;&lt;P&gt;ArbeitszeitIstSollKz = {'I'},&lt;/P&gt;&lt;P&gt;Datum = p({1&amp;lt;[Monat] = $::Monat&amp;gt;} Datum)&lt;/P&gt;&lt;P&gt;&amp;gt;}&lt;/P&gt;&lt;P&gt;aggr(&lt;/P&gt;&lt;P&gt;'Test',&lt;/P&gt;&lt;P&gt;ArbeitszeitNutzerDatumId&lt;/P&gt;&lt;P&gt;),&lt;/P&gt;&lt;P&gt;' | '&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=concat(&lt;/P&gt;&lt;P&gt;{1&amp;lt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Nutzer&lt;/STRONG&gt;&lt;/SPAN&gt; = p({1&amp;lt;Nutzer = $::Nutzer, NutzerId = $::NutzerId&amp;gt;} &lt;STRONG style="text-decoration: underline;"&gt;Nutzer&lt;/STRONG&gt;),&lt;/P&gt;&lt;P&gt;ArbeitszeitIstSollKz = {'I'},&lt;/P&gt;&lt;P&gt;Datum = p({1&amp;lt;[Monat] = $::Monat&amp;gt;} Datum)&lt;/P&gt;&lt;P&gt;&amp;gt;}&lt;/P&gt;&lt;P&gt;aggr(&lt;/P&gt;&lt;P&gt;'Test',&lt;/P&gt;&lt;P&gt;ArbeitszeitNutzerDatumId&lt;/P&gt;&lt;P&gt;),&lt;/P&gt;&lt;P&gt;' | '&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi Balar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jul 2017 11:38:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dependence-between-expressions/m-p/1318395#M408915</guid>
      <dc:creator>balar025</dc:creator>
      <dc:date>2017-07-17T11:38:19Z</dc:date>
    </item>
    <item>
      <title>Re: Dependence between expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Dependence-between-expressions/m-p/1318396#M408916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Ravi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But that is exactly my point:&lt;/P&gt;&lt;P&gt;- both Nutzer and NutzerId are unique fields within the same table, so the expressions should yield the same results&lt;/P&gt;&lt;P&gt;- AND more importantly changing from one formula to the other in "Arbeitszeit" has an influence on the results in "Ist"!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jul 2017 12:37:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dependence-between-expressions/m-p/1318396#M408916</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-17T12:37:37Z</dc:date>
    </item>
  </channel>
</rss>

