<?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: if condition with count. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/if-condition-with-count/m-p/1250307#M395788</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See also&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3235"&gt;It’s all Aggregations&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3807"&gt;Conditional Aggregations&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3779"&gt;Use Aggregation Functions!&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Jan 2017 21:22:27 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2017-01-27T21:22:27Z</dc:date>
    <item>
      <title>if condition with count.</title>
      <link>https://community.qlik.com/t5/QlikView/if-condition-with-count/m-p/1250305#M395786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all I have this logic of a KPI I want to make a measure in Qlik sense. Can some please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;COUNT( DISTINCT&lt;/P&gt;&lt;P&gt;CASE &lt;/P&gt;&lt;P&gt;WHEN&lt;/P&gt;&lt;P&gt;CUSTOM_CODE = &lt;SPAN style="font-size: 13.3333px;"&gt;'quoted_ac'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;AND&lt;/P&gt;&lt;P&gt;SUBTYPE_CODE = &lt;SPAN style="font-size: 13.3333px;"&gt; 'Submission&lt;/SPAN&gt;'&lt;/P&gt;&lt;P&gt;THEN&lt;/P&gt;&lt;P&gt;JOB_JOBNUMBER END&lt;/P&gt;&lt;P&gt;) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried to write the script like this but it didn't work and give me -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if&lt;/P&gt;&lt;P&gt;(CUSTOMTYPE_CODE='quoted_ac' &lt;/P&gt;&lt;P&gt;and&amp;nbsp; JOB_SUBTYPE_CODE = 'Submission',COUNT(distinct JOB_JOBNUMBER))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2017 20:58:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-condition-with-count/m-p/1250305#M395786</guid>
      <dc:creator />
      <dc:date>2017-01-27T20:58:02Z</dc:date>
    </item>
    <item>
      <title>Re: if condition with count.</title>
      <link>https://community.qlik.com/t5/QlikView/if-condition-with-count/m-p/1250306#M395787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try&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; COUNT(distinct &lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(CUSTOMTYPE_CODE='quoted_ac'&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;and&amp;nbsp; JOB_SUBTYPE_CODE = 'Submission',&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;JOB_JOBNUMBER))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2017 21:20:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-condition-with-count/m-p/1250306#M395787</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2017-01-27T21:20:46Z</dc:date>
    </item>
    <item>
      <title>Re: if condition with count.</title>
      <link>https://community.qlik.com/t5/QlikView/if-condition-with-count/m-p/1250307#M395788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See also&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3235"&gt;It’s all Aggregations&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3807"&gt;Conditional Aggregations&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3779"&gt;Use Aggregation Functions!&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2017 21:22:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-condition-with-count/m-p/1250307#M395788</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2017-01-27T21:22:27Z</dc:date>
    </item>
  </channel>
</rss>

