<?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 [Please Help] Problem with Set Analysis and Expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Please-Help-Problem-with-Set-Analysis-and-Expression/m-p/1371767#M419169</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 need your advise about set analysis and expression,&lt;/P&gt;&lt;P&gt;I do a PivotChart like this (This Chart have data on other days too [Mon. Tue,..] but I pick only Friday to ask you);&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Untitled2.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/171407_Untitled2.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Actually I have 10 HUB &lt;SPAN style="font-size: 13.3333px;"&gt;on Friday &lt;/SPAN&gt;but I use 'IF'on top the calculation&lt;/P&gt;&lt;P&gt;to pick up all value that I only interested in &lt;SPAN style="font-size: 10pt;"&gt;by %A [ &lt;SPAN style="font-size: 13.3333px;"&gt;IF(%A &amp;lt;=-0.1, calculate expression, Null()) ]&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;and Suppress Zero on Dimension. So It looks quite good now as above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I need new expression to count %A column (Cnt), I use IF again &lt;SPAN style="font-size: 13.3333px;"&gt;[ &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;IF(%A &amp;lt;=-0.1, 1 , Null()) ]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;IMG alt="Untitled3.jpg" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/171408_Untitled3.jpg" style="height: auto;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;But in Total Level was not quite right (have to be 4)&lt;/P&gt;&lt;P&gt;I think that maybe from my IF condition that didn't not SUM just show 1.&lt;/P&gt;&lt;P&gt;So I need to advise with you guys that what should I have to do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ps1. It's Pivot Chart.&lt;/P&gt;&lt;P&gt;Ps2. Actually I can count total row by changing chart type to straight table but I need Partial Sum too not only Total SUM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Pathompong B.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Jul 2017 04:23:19 GMT</pubDate>
    <dc:creator />
    <dc:date>2017-07-26T04:23:19Z</dc:date>
    <item>
      <title>[Please Help] Problem with Set Analysis and Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Please-Help-Problem-with-Set-Analysis-and-Expression/m-p/1371767#M419169</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 need your advise about set analysis and expression,&lt;/P&gt;&lt;P&gt;I do a PivotChart like this (This Chart have data on other days too [Mon. Tue,..] but I pick only Friday to ask you);&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Untitled2.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/171407_Untitled2.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Actually I have 10 HUB &lt;SPAN style="font-size: 13.3333px;"&gt;on Friday &lt;/SPAN&gt;but I use 'IF'on top the calculation&lt;/P&gt;&lt;P&gt;to pick up all value that I only interested in &lt;SPAN style="font-size: 10pt;"&gt;by %A [ &lt;SPAN style="font-size: 13.3333px;"&gt;IF(%A &amp;lt;=-0.1, calculate expression, Null()) ]&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;and Suppress Zero on Dimension. So It looks quite good now as above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I need new expression to count %A column (Cnt), I use IF again &lt;SPAN style="font-size: 13.3333px;"&gt;[ &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;IF(%A &amp;lt;=-0.1, 1 , Null()) ]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;IMG alt="Untitled3.jpg" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/171408_Untitled3.jpg" style="height: auto;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;But in Total Level was not quite right (have to be 4)&lt;/P&gt;&lt;P&gt;I think that maybe from my IF condition that didn't not SUM just show 1.&lt;/P&gt;&lt;P&gt;So I need to advise with you guys that what should I have to do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ps1. It's Pivot Chart.&lt;/P&gt;&lt;P&gt;Ps2. Actually I can count total row by changing chart type to straight table but I need Partial Sum too not only Total SUM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Pathompong B.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jul 2017 04:23:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Please-Help-Problem-with-Set-Analysis-and-Expression/m-p/1371767#M419169</guid>
      <dc:creator />
      <dc:date>2017-07-26T04:23:19Z</dc:date>
    </item>
  </channel>
</rss>

