<?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: counting only when an other field starts with a certain letter in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/counting-only-when-an-other-field-starts-with-a-certain-letter/m-p/678215#M246053</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The first expression works!&lt;/P&gt;&lt;P&gt;The second one only gives me zero's.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It solved my problem, thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Jul 2014 12:44:35 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-07-15T12:44:35Z</dc:date>
    <item>
      <title>counting only when an other field starts with a certain letter</title>
      <link>https://community.qlik.com/t5/QlikView/counting-only-when-an-other-field-starts-with-a-certain-letter/m-p/678210#M246048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to count all the actions where the code starts with a P,&lt;/P&gt;&lt;P&gt;the P is followed by different numbers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is incorrect in my expression?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count(distinct if(match(project_actions_code,'P%'),action_id))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jul 2014 12:30:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/counting-only-when-an-other-field-starts-with-a-certain-letter/m-p/678210#M246048</guid>
      <dc:creator />
      <dc:date>2014-07-15T12:30:40Z</dc:date>
    </item>
    <item>
      <title>Re: counting only when an other field starts with a certain letter</title>
      <link>https://community.qlik.com/t5/QlikView/counting-only-when-an-other-field-starts-with-a-certain-letter/m-p/678211#M246049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Match tells if P is contained in the string, use this expression instead:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10pt; line-height: 1.5em;"&gt;count(distinct if(Index(project_actions_code,'P')=1,action_id, null()))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10pt; line-height: 1.5em;"&gt;or&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; color: #3d3d3d; font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;count({$ &amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;project_actions_code&lt;/SPAN&gt;={'P%'}&amp;gt;}&amp;nbsp; distinct action_id)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; color: #3d3d3d; font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; color: #3d3d3d; font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;let me know&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jul 2014 12:35:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/counting-only-when-an-other-field-starts-with-a-certain-letter/m-p/678211#M246049</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2014-07-15T12:35:22Z</dc:date>
    </item>
    <item>
      <title>Re: counting only when an other field starts with a certain letter</title>
      <link>https://community.qlik.com/t5/QlikView/counting-only-when-an-other-field-starts-with-a-certain-letter/m-p/678212#M246050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The code starts with a P or an A followed by numbers.&lt;/P&gt;&lt;P&gt;I only want to count the actions where the code starts with a P, without regard wich numbers follow the P&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jul 2014 12:37:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/counting-only-when-an-other-field-starts-with-a-certain-letter/m-p/678212#M246050</guid>
      <dc:creator />
      <dc:date>2014-07-15T12:37:47Z</dc:date>
    </item>
    <item>
      <title>Re: counting only when an other field starts with a certain letter</title>
      <link>https://community.qlik.com/t5/QlikView/counting-only-when-an-other-field-starts-with-a-certain-letter/m-p/678213#M246051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, what about the code I sent to you?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jul 2014 12:42:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/counting-only-when-an-other-field-starts-with-a-certain-letter/m-p/678213#M246051</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2014-07-15T12:42:00Z</dc:date>
    </item>
    <item>
      <title>Re: counting only when an other field starts with a certain letter</title>
      <link>https://community.qlik.com/t5/QlikView/counting-only-when-an-other-field-starts-with-a-certain-letter/m-p/678214#M246052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Replace % by *&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;count({$ &amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;project_actions_code&lt;/SPAN&gt;={'P*'}&amp;gt;}&amp;nbsp; distinct action_id) is the most efficient,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;set analysis is more efficient than if clauses,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;cheers&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jul 2014 12:42:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/counting-only-when-an-other-field-starts-with-a-certain-letter/m-p/678214#M246052</guid>
      <dc:creator />
      <dc:date>2014-07-15T12:42:32Z</dc:date>
    </item>
    <item>
      <title>Re: counting only when an other field starts with a certain letter</title>
      <link>https://community.qlik.com/t5/QlikView/counting-only-when-an-other-field-starts-with-a-certain-letter/m-p/678215#M246053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The first expression works!&lt;/P&gt;&lt;P&gt;The second one only gives me zero's.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It solved my problem, thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jul 2014 12:44:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/counting-only-when-an-other-field-starts-with-a-certain-letter/m-p/678215#M246053</guid>
      <dc:creator />
      <dc:date>2014-07-15T12:44:35Z</dc:date>
    </item>
    <item>
      <title>Re: counting only when an other field starts with a certain letter</title>
      <link>https://community.qlik.com/t5/QlikView/counting-only-when-an-other-field-starts-with-a-certain-letter/m-p/678216#M246054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunatly the set analysis doesn't work, the if-analysis does work&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jul 2014 12:52:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/counting-only-when-an-other-field-starts-with-a-certain-letter/m-p/678216#M246054</guid>
      <dc:creator />
      <dc:date>2014-07-15T12:52:46Z</dc:date>
    </item>
  </channel>
</rss>

