<?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: Set analysis need to add condition in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-analysis-need-to-add-condition/m-p/1196797#M881318</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 style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;=Num(&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Sum(&lt;SPAN style="color: #ff0000;"&gt;{&amp;lt;Region = {'Direct', 'IVF}&amp;gt;}&lt;/SPAN&gt; If(Reported_Out_actual.count_idTBD_actual&amp;lt;&amp;gt;0 and Reported_Out_actual.BillType='Awaiting Order Entry',Reported_Out_actual.count_idTBD_actual))&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;,'###,###')&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Oct 2016 20:44:21 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-10-13T20:44:21Z</dc:date>
    <item>
      <title>Set analysis need to add condition</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-need-to-add-condition/m-p/1196796#M881317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Qlik Developers&lt;/P&gt;&lt;P&gt;I have the below expression. I want to calculate this for Regions "Direct" and "IVF" only. Can someone help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=num(&lt;/P&gt;&lt;P&gt;sum(if(Reported_Out_actual.count_idTBD_actual&amp;lt;&amp;gt;0 and Reported_Out_actual.BillType='Awaiting Order Entry',Reported_Out_actual.count_idTBD_actual))&lt;/P&gt;&lt;P&gt;,'###,###')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Anil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-need-to-add-condition/m-p/1196796#M881317</guid>
      <dc:creator>dandaanilreddy</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis need to add condition</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-need-to-add-condition/m-p/1196797#M881318</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 style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;=Num(&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Sum(&lt;SPAN style="color: #ff0000;"&gt;{&amp;lt;Region = {'Direct', 'IVF}&amp;gt;}&lt;/SPAN&gt; If(Reported_Out_actual.count_idTBD_actual&amp;lt;&amp;gt;0 and Reported_Out_actual.BillType='Awaiting Order Entry',Reported_Out_actual.count_idTBD_actual))&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;,'###,###')&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2016 20:44:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-need-to-add-condition/m-p/1196797#M881318</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-13T20:44:21Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis need to add condition</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-need-to-add-condition/m-p/1196798#M881319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Bro &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2016 20:56:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-need-to-add-condition/m-p/1196798#M881319</guid>
      <dc:creator>dandaanilreddy</dc:creator>
      <dc:date>2016-10-13T20:56:38Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis need to add condition</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-need-to-add-condition/m-p/1196799#M881320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or this, with the if() converted to set analysis as well. And it seems we don't need to check for the &lt;SPAN style="font-family: Courier New;"&gt;Reported_Out_actual.count_idTBD_actual&lt;/SPAN&gt; not being 0, since adding a 0 won't affect the sum?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;num(sum({&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;lt;Region={'Direct','IVF'}&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;,Reported_Out_actual.BillType*={'Awaiting Order Entry'}&amp;gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Reported_Out_actual.count_idTBD_actual))&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;,'###,###')&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2016 21:01:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-need-to-add-condition/m-p/1196799#M881320</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2016-10-13T21:01:07Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis need to add condition</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-need-to-add-condition/m-p/1196800#M881321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or even do similar in script if all these fields are on a single table, and you have the memory for it, and script time is less critical than chart time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;if(match(Region,'Direct','IVF')&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;and Reported_Out_actual.BillType='Awaiting Order Entry'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;,Reported_Out_actual.count_idTBD_actual) as [Direct/IVF Awaiting Order Entry Count]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then no set analysis or if() in the chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;num(sum([Direct/IVF Awaiting Order Entry Count]),'###,###')&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2016 21:11:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-need-to-add-condition/m-p/1196800#M881321</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2016-10-13T21:11:13Z</dc:date>
    </item>
  </channel>
</rss>

