<?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: The condition in expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/The-condition-in-expression/m-p/1386488#M422129</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A:&lt;/P&gt;&lt;P&gt;LOAD *&lt;/P&gt;&lt;P&gt;Where&lt;/P&gt;&lt;P&gt;SUM_PLAN&amp;gt;'0' and SUM_FACT='0' ;&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; FILIAL, SUM_PLAN, SUM_FACT&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; branch1, 639, 177&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; branch2, 761, 347&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; branch3, 563, 457&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; branch4, 179, 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; branch5, 506, 166&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; branch6, 829, 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; branch7, 583, 749&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; branch8, 0, 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; branch9, 778, 327&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="plan.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/173174_plan.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Aug 2017 11:12:14 GMT</pubDate>
    <dc:creator>Chanty4u</dc:creator>
    <dc:date>2017-08-11T11:12:14Z</dc:date>
    <item>
      <title>The condition in expression</title>
      <link>https://community.qlik.com/t5/QlikView/The-condition-in-expression/m-p/1386485#M422126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN&gt;Hello colleagues&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a question on the condition in the expression diagrams.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;There are fields in the table:&lt;/SPAN&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;FILIALS&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;SUM_PLAN&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;SUM_FACT&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;I need to count those branches in which sales = 0, and plans&amp;gt; 0&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="alt-edited"&gt;Is it possible to include such a condition in the Set Analysis?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Aug 2017 09:15:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/The-condition-in-expression/m-p/1386485#M422126</guid>
      <dc:creator>antonaks</dc:creator>
      <dc:date>2017-08-11T09:15:13Z</dc:date>
    </item>
    <item>
      <title>Re: The condition in expression</title>
      <link>https://community.qlik.com/t5/QlikView/The-condition-in-expression/m-p/1386486#M422127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Which fields have sales, plan, branch info? Could you be a bit more illustrative about your field details and may be also about the requirement?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Aug 2017 10:22:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/The-condition-in-expression/m-p/1386486#M422127</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2017-08-11T10:22:26Z</dc:date>
    </item>
    <item>
      <title>Re: The condition in expression</title>
      <link>https://community.qlik.com/t5/QlikView/The-condition-in-expression/m-p/1386487#M422128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The dataset is look like that&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 341px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" width="163"&gt;FILIAL / BRANCH&lt;/TD&gt;&lt;TD class="xl64" style="border-left: none;" width="92"&gt;SUM_PLAN&lt;/TD&gt;&lt;TD class="xl64" style="border-left: none;" width="86"&gt;SUM_FACT&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none;"&gt;branch 1&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;639&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;177&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none;"&gt;branch 2&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;761&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;347&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none;"&gt;branch 3&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;563&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;457&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none;"&gt;branch 4&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;179&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none;"&gt;branch 5&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;506&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;166&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none;"&gt;branch 6&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;829&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none;"&gt;branch 7&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;583&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;749&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none;"&gt;branch 8&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none;"&gt;branch 9&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;778&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;327&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want create expression which return quantity of branches where FACT = 0 and PLAN &amp;gt; 0&lt;/P&gt;&lt;P&gt;In my case it must return 2&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Aug 2017 11:06:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/The-condition-in-expression/m-p/1386487#M422128</guid>
      <dc:creator>antonaks</dc:creator>
      <dc:date>2017-08-11T11:06:33Z</dc:date>
    </item>
    <item>
      <title>Re: The condition in expression</title>
      <link>https://community.qlik.com/t5/QlikView/The-condition-in-expression/m-p/1386488#M422129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A:&lt;/P&gt;&lt;P&gt;LOAD *&lt;/P&gt;&lt;P&gt;Where&lt;/P&gt;&lt;P&gt;SUM_PLAN&amp;gt;'0' and SUM_FACT='0' ;&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; FILIAL, SUM_PLAN, SUM_FACT&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; branch1, 639, 177&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; branch2, 761, 347&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; branch3, 563, 457&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; branch4, 179, 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; branch5, 506, 166&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; branch6, 829, 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; branch7, 583, 749&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; branch8, 0, 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; branch9, 778, 327&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="plan.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/173174_plan.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Aug 2017 11:12:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/The-condition-in-expression/m-p/1386488#M422129</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2017-08-11T11:12:14Z</dc:date>
    </item>
    <item>
      <title>Re: The condition in expression</title>
      <link>https://community.qlik.com/t5/QlikView/The-condition-in-expression/m-p/1386489#M422130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you &lt;SPAN class="replyToName"&gt;Chanty 4u&lt;/SPAN&gt;, but I want create it in diagramm, if it possible.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Aug 2017 11:17:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/The-condition-in-expression/m-p/1386489#M422130</guid>
      <dc:creator>antonaks</dc:creator>
      <dc:date>2017-08-11T11:17:59Z</dc:date>
    </item>
    <item>
      <title>Re: The condition in expression</title>
      <link>https://community.qlik.com/t5/QlikView/The-condition-in-expression/m-p/1386490#M422131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Diagram means?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Aug 2017 11:18:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/The-condition-in-expression/m-p/1386490#M422131</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2017-08-11T11:18:41Z</dc:date>
    </item>
    <item>
      <title>Re: The condition in expression</title>
      <link>https://community.qlik.com/t5/QlikView/The-condition-in-expression/m-p/1386491#M422132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count(distinct {&amp;lt;SUM_FACT={'&amp;gt;0'}, SUM_PLAN={'0'}&amp;gt;}FILIAL)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Aug 2017 11:18:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/The-condition-in-expression/m-p/1386491#M422132</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2017-08-11T11:18:53Z</dc:date>
    </item>
    <item>
      <title>Re: The condition in expression</title>
      <link>https://community.qlik.com/t5/QlikView/The-condition-in-expression/m-p/1386492#M422133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, sorry...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Aug 2017 11:22:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/The-condition-in-expression/m-p/1386492#M422133</guid>
      <dc:creator>antonaks</dc:creator>
      <dc:date>2017-08-11T11:22:54Z</dc:date>
    </item>
    <item>
      <title>Re: The condition in expression</title>
      <link>https://community.qlik.com/t5/QlikView/The-condition-in-expression/m-p/1386493#M422134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not tested &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this &lt;/P&gt;&lt;P&gt;A:&lt;/P&gt;&lt;P&gt;//LOAD *&lt;/P&gt;&lt;P&gt;//Where&lt;/P&gt;&lt;P&gt;//SUM_PLAN&amp;gt;'0' and SUM_FACT='0' ;&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; FILIAL, SUM_PLAN, SUM_FACT&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; branch1, 639, 177&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; branch2, 761, 347&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; branch3, 563, 457&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; branch4, 179, 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; branch5, 506, 166&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; branch6, 829, 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; branch7, 583, 749&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; branch8, 0, 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; branch9, 778, 327&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Result:&lt;/P&gt;&lt;P&gt;LOAD * &lt;/P&gt;&lt;P&gt;,&lt;/P&gt;&lt;P&gt;if(SUM_PLAN='0',SUM_FACT&amp;gt;'0' ) as flag&lt;/P&gt;&lt;P&gt;Resident A;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use flag in chart measure&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Aug 2017 11:24:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/The-condition-in-expression/m-p/1386493#M422134</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2017-08-11T11:24:43Z</dc:date>
    </item>
    <item>
      <title>Re: The condition in expression</title>
      <link>https://community.qlik.com/t5/QlikView/The-condition-in-expression/m-p/1386494#M422135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, it work! Thank you!&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/173175_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Aug 2017 11:35:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/The-condition-in-expression/m-p/1386494#M422135</guid>
      <dc:creator>antonaks</dc:creator>
      <dc:date>2017-08-11T11:35:40Z</dc:date>
    </item>
  </channel>
</rss>

