<?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: Dimension containing IF statement leads to wrong figures in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dimension-containing-IF-statement-leads-to-wrong-figures/m-p/370718#M137855</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any idea how to solve this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I mean untick that property is not an option because I still just want to see jobs that have an impact in current selected period. Otherwise my job list would get very long.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Jun 2012 12:25:43 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-06-28T12:25:43Z</dc:date>
    <item>
      <title>Dimension containing IF statement leads to wrong figures</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-containing-IF-statement-leads-to-wrong-figures/m-p/370714#M137851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi @all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've got a list of all jobs that have an impact in current selected period. It's in a table chart and the only dimension is description of the job.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;IF&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;((&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;len&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Aggr&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Amount&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Job&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &amp;gt; 0 &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;OR&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;len&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Aggr&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Amount&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Job&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &amp;gt; 0),&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Job Description]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also ticked that property to hide NULL values and that works pretty fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I'm trying to aggregate maintenance jobs. So, I changed dimension to&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;IF&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;((&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;len&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Aggr&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Amount&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Job&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &amp;gt; 0 &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;OR&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;len&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Aggr&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Amount&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Job&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &amp;gt; 0),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&amp;nbsp; If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;not&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;IsNull&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;JobType&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AND&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; ((&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Right&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;JobType&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,3) = 'XXX') &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;OR&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Right&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;JobType&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,3) = 'YYY')),&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'MAINTENANCE',&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Job Description]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now all maintenance jobs are aggregated to one line, that's fine. But some of the figures of other jobs also changed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea why this happens?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2012 11:46:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-containing-IF-statement-leads-to-wrong-figures/m-p/370714#M137851</guid>
      <dc:creator />
      <dc:date>2012-06-27T11:46:46Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension containing IF statement leads to wrong figures</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-containing-IF-statement-leads-to-wrong-figures/m-p/370715#M137852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try creating two tables, one with the first calculated dimension as reference, then another with your extended version of the calculated dimension. Add another dimension to both tables that group your data into more granular sections, like 'Job' or 'JobType'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Compare both tables, I assume that some of your jobs are not correctly classified, i.e. they are classified to MAINTENANCE but shouldn't.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Last assumption is just wild guessing since you are not providing much information about your data model, expressions etc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2012 12:19:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-containing-IF-statement-leads-to-wrong-figures/m-p/370715#M137852</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-06-27T12:19:32Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension containing IF statement leads to wrong figures</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-containing-IF-statement-leads-to-wrong-figures/m-p/370716#M137853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I already did that. Didn't help. Let me explain my problem in another way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let's say I've got a list of jobs and their sales value, e.g.&lt;/P&gt;&lt;P&gt;Job&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SalesValue&lt;/P&gt;&lt;P&gt;A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 50&lt;/P&gt;&lt;P&gt;B&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100&lt;/P&gt;&lt;P&gt;C&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 200&lt;/P&gt;&lt;P&gt;D&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;B and D are maintenance jobs. After applying that IF statement to dimension job these jobs are perfectly aggregated.&lt;/P&gt;&lt;P&gt;Job&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SalesValue&lt;/P&gt;&lt;P&gt;A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 50&lt;/P&gt;&lt;P&gt;MAIN&amp;nbsp; 200&lt;/P&gt;&lt;P&gt;C&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="text-decoration: line-through;"&gt;200&lt;/SPAN&gt; 50&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But for some reason job C shows only a sales value of 50, so 150 just disappeared from that job and it isn't anywhere else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I discovered that it depends on that property to hide NULL values. If I untick that one I get another line showing minus sign where all my missing sales values are in as total figure.&lt;/P&gt;&lt;P&gt;Job&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SalesValue&lt;/P&gt;&lt;P&gt;A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 50&lt;/P&gt;&lt;P&gt;MAIN&amp;nbsp; 200&lt;/P&gt;&lt;P&gt;C&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 50&lt;/P&gt;&lt;P&gt;-&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 150&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jun 2012 06:50:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-containing-IF-statement-leads-to-wrong-figures/m-p/370716#M137853</guid>
      <dc:creator />
      <dc:date>2012-06-28T06:50:02Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension containing IF statement leads to wrong figures</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-containing-IF-statement-leads-to-wrong-figures/m-p/370717#M137854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you post a small sample file? &lt;/P&gt;&lt;P&gt;How are Job, JobType and Description related? &lt;/P&gt;&lt;P&gt;Do you also get a SalesValue assigned to '-' in the first case?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As far as I can see, you only get NULL returned for a given job when there is a Job Description missing for a JobType or when &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;len&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Aggr&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Amount&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Job&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &amp;lt;= 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;[it seems that your both logical operands are identical &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;len&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Aggr&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Amount&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Job&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &amp;gt; 0 repeated), is this what you want?&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jun 2012 11:59:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-containing-IF-statement-leads-to-wrong-figures/m-p/370717#M137854</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-06-28T11:59:00Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension containing IF statement leads to wrong figures</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-containing-IF-statement-leads-to-wrong-figures/m-p/370718#M137855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any idea how to solve this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I mean untick that property is not an option because I still just want to see jobs that have an impact in current selected period. Otherwise my job list would get very long.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jun 2012 12:25:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-containing-IF-statement-leads-to-wrong-figures/m-p/370718#M137855</guid>
      <dc:creator />
      <dc:date>2012-06-28T12:25:43Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension containing IF statement leads to wrong figures</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-containing-IF-statement-leads-to-wrong-figures/m-p/370719#M137856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, I think I'm not allowed to publish real company data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Job# is the key, [Job Description] is in a seperate job table and JobType as well as SalesValue is in multifacts table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, of course I get that minus/dash line in first case. That's why I ticked that property to hide NULL values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, you are right it is doubled in my example. I deleted the set_expression for both because it is not needed to understand the problem. Normally it looks like:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;IF&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;((&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;len&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Aggr&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;{$&amp;lt;set_expression&amp;gt;}&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Amount&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Job&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &amp;gt; 0 &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;OR&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;len&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Aggr&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;SPAN style="font-size: 8pt;"&gt;{$&amp;lt;set_expression&amp;gt;}&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Amount&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Job&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &amp;gt; 0),&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Job Description]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jun 2012 12:39:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-containing-IF-statement-leads-to-wrong-figures/m-p/370719#M137856</guid>
      <dc:creator />
      <dc:date>2012-06-28T12:39:40Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension containing IF statement leads to wrong figures</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-containing-IF-statement-leads-to-wrong-figures/m-p/370720#M137857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But you bring me to an idea. What about lines in multifacts that have wrong or no JobType? Should not be the case, but could... I'll check that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jun 2012 12:42:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-containing-IF-statement-leads-to-wrong-figures/m-p/370720#M137857</guid>
      <dc:creator />
      <dc:date>2012-06-28T12:42:35Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension containing IF statement leads to wrong figures</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-containing-IF-statement-leads-to-wrong-figures/m-p/370721#M137858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, JobType seems to be correct.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jun 2012 12:52:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-containing-IF-statement-leads-to-wrong-figures/m-p/370721#M137858</guid>
      <dc:creator />
      <dc:date>2012-06-28T12:52:33Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension containing IF statement leads to wrong figures</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-containing-IF-statement-leads-to-wrong-figures/m-p/370722#M137859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And what about the jobs that doesn't match your first line &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;IF&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;((&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;len&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Aggr&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;{$&amp;lt;set_expression&amp;gt;}&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Amount&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Job&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &amp;gt; 0 &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;OR&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;len&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Aggr&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;SPAN style="font-size: 8pt;"&gt;{$&amp;lt;set_expression&amp;gt;}&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Amount&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Job&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think I can't really help you here, since I don't have enough information about your setting. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You don't need to post confidential company data, you could either scramble data or create a sample that replicates your issue (last should be really helpful since you need to understand your data to create a relevant sample. So at the time you can replicate the issue in a simplified sample, you'll probably already understand what is causing the issue).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As said, as a general rule I would advice to add more detailed information to your tables (dimension and / or expressions, for example JobType and JobDescription as dimension) trying to get more insight.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jun 2012 12:56:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-containing-IF-statement-leads-to-wrong-figures/m-p/370722#M137859</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-06-28T12:56:37Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension containing IF statement leads to wrong figures</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-containing-IF-statement-leads-to-wrong-figures/m-p/370723#M137860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I just use one of these two IF statements then it works. Seems to relate to the combination of both.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know how to scramble data in QlikView. But I tried to create a small example (see attached). Funny thing it works.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jun 2012 15:17:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-containing-IF-statement-leads-to-wrong-figures/m-p/370723#M137860</guid>
      <dc:creator />
      <dc:date>2012-06-29T15:17:43Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension containing IF statement leads to wrong figures</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-containing-IF-statement-leads-to-wrong-figures/m-p/370724#M137861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can scramble data in Settings - Document properties - Scrambling.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I think you are almost there. You just need to find the relevant difference in your data model in the sample file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do your set expressions in the first if-statement look like? How are the fields you are using in the set expressions related to your job tables?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jun 2012 21:31:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-containing-IF-statement-leads-to-wrong-figures/m-p/370724#M137861</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-06-29T21:31:15Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension containing IF statement leads to wrong figures</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-containing-IF-statement-leads-to-wrong-figures/m-p/370725#M137862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I added set expression and it still works fine. I don't see any difference to my real dashboard from table relation perspective.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2012 15:43:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-containing-IF-statement-leads-to-wrong-figures/m-p/370725#M137862</guid>
      <dc:creator />
      <dc:date>2012-07-02T15:43:21Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension containing IF statement leads to wrong figures</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-containing-IF-statement-leads-to-wrong-figures/m-p/370726#M137863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are using only one set expression, AFAIR, you mentioned that the problem starts when using a combination of two?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2012 16:14:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-containing-IF-statement-leads-to-wrong-figures/m-p/370726#M137863</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-07-02T16:14:23Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension containing IF statement leads to wrong figures</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-containing-IF-statement-leads-to-wrong-figures/m-p/370727#M137864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, that issue doesn't start when using two set expressions. It starts when using two IF statements in dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Two set expressions are only used to get figures from two different account types. So, it would also be possible to use&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;IF&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;((&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;len&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Aggr&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;{$&amp;lt;AccountType={'P','M'}&amp;gt;}&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Amount&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Job&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &amp;gt; 0...&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2012 16:45:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-containing-IF-statement-leads-to-wrong-figures/m-p/370727#M137864</guid>
      <dc:creator />
      <dc:date>2012-07-02T16:45:51Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension containing IF statement leads to wrong figures</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-containing-IF-statement-leads-to-wrong-figures/m-p/370728#M137865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Update to 10 SR5 doesn't solve that issue either.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've seen two interesting bug fixes in SR5:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" cellpadding="7" cellspacing="0" dir="ltr" height="58" style="WIDTH: 461px; HEIGHT: 44px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="5" valign="top" width="50%"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;SPAN style="font-size: 8pt;"&gt;&lt;P&gt;29454 &lt;/P&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD height="5" valign="top" width="50%"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;P&gt;Null values sorting on Dimension may result in different values in 32 and 64 bit environments&lt;/P&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;TABLE border="1" cellpadding="7" cellspacing="0" dir="ltr" style="WIDTH: 461px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="5" valign="top" width="50%"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;SPAN style="font-size: 8pt;"&gt;&lt;P&gt;27272 &lt;/P&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD height="5" valign="top" width="50%"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;P&gt;If first expression in chart with multiple expressions equals NULL - No data to display&lt;/P&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible that my issue is related to something similar?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2012 11:22:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-containing-IF-statement-leads-to-wrong-figures/m-p/370728#M137865</guid>
      <dc:creator />
      <dc:date>2012-07-12T11:22:24Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension containing IF statement leads to wrong figures</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-containing-IF-statement-leads-to-wrong-figures/m-p/370729#M137866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What about this one?&lt;/P&gt;&lt;TABLE border="1" cellpadding="7" cellspacing="0" dir="ltr" style="WIDTH: 445px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="5" valign="top" width="50%"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;P&gt;37948&lt;/P&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD height="5" valign="top" width="50%"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;P&gt;Difference in calculation in 32-bit vs 64-bit with set expression and dynamic variable&lt;/P&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I mean does anybody know what exactly is different? Is it wrong in x32, in x64 or are both wrong? Has this been solved already and what did QlikTech do to solve it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Aug 2012 11:15:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-containing-IF-statement-leads-to-wrong-figures/m-p/370729#M137866</guid>
      <dc:creator />
      <dc:date>2012-08-02T11:15:19Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension containing IF statement leads to wrong figures</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-containing-IF-statement-leads-to-wrong-figures/m-p/370730#M137867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's even worth after update. We use this calulated dimension in combination with that "Supress when value is Null" tick to hide jobs that don't have any impact on certain accounts within the selected period. In QV 10 SR2 we had one line where we could see an aggregation of all values without any job relation. In QV 10 SR5 this line disappeared.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My idea is, but I'm not sure and would be happy if anybody can confirm this, that we have two different types of Null values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First one is coming from the calculated dimension. That means we use an IF statement without an ELSE statement. Every line where the condition is not true will have an empty (Null) dimension. These were hidden by that "Supress when value is Null" tick in QV 10 SR2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Second one is coming form the core system. That means there are certain records in source system where the dimension is already empty (Null). That means even if the condition of the IF statement is true the dimension will be empty (Null) anyway. In QV 10 SR2 these records were aggregated to one line and were not hidden/supressed by that tick. In QV 10 SR5 this aggregated line disappeared from the list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That means I assume QlikView hides/supresses only calculated Null dimensions in SR2 and now hides/supresses also source system Null dimension in SR5. Can anybody confirm this behaviour and/or share some experiences regarding this issue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Aug 2012 11:44:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-containing-IF-statement-leads-to-wrong-figures/m-p/370730#M137867</guid>
      <dc:creator />
      <dc:date>2012-08-02T11:44:26Z</dc:date>
    </item>
  </channel>
</rss>

