<?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 Combine Count function with a selection and a IF statement in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Combine-Count-function-with-a-selection-and-a-IF-statement/m-p/1542585#M62745</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;Could someone please help me to combine the below specified functions into a one.&lt;/P&gt;&lt;P&gt;I got a function with "COUNT" as,&amp;nbsp; "=Count({&amp;lt;PASID={'*'}&amp;gt;}UNIQUE_SCHEDULES)"&lt;/P&gt;&lt;P&gt;Also I want to filter the above data using a flag which is, "FLAG_Prof_Carer_Type".&lt;/P&gt;&lt;P&gt;I tried as , "Count(IF(FLAG_Prof_Carer_Type=1,Count({&amp;lt;PASID={'*'}&amp;gt;}UNIQUE_SCHEDULES)))"&amp;nbsp; but it is not giving me the results,&lt;/P&gt;&lt;P&gt;Note&lt;/P&gt;&lt;P&gt;field "UNIQUE_SCHEDULES" is a combined field use to filter unique set of data rows. Also, I am using the combined function in a Gauge to represent a percentage.&lt;/P&gt;&lt;P&gt;Appreciate your valuable feedback.&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Andy&lt;/P&gt;</description>
    <pubDate>Fri, 02 Apr 2021 07:47:19 GMT</pubDate>
    <dc:creator>andymanu</dc:creator>
    <dc:date>2021-04-02T07:47:19Z</dc:date>
    <item>
      <title>Combine Count function with a selection and a IF statement</title>
      <link>https://community.qlik.com/t5/App-Development/Combine-Count-function-with-a-selection-and-a-IF-statement/m-p/1542585#M62745</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;Could someone please help me to combine the below specified functions into a one.&lt;/P&gt;&lt;P&gt;I got a function with "COUNT" as,&amp;nbsp; "=Count({&amp;lt;PASID={'*'}&amp;gt;}UNIQUE_SCHEDULES)"&lt;/P&gt;&lt;P&gt;Also I want to filter the above data using a flag which is, "FLAG_Prof_Carer_Type".&lt;/P&gt;&lt;P&gt;I tried as , "Count(IF(FLAG_Prof_Carer_Type=1,Count({&amp;lt;PASID={'*'}&amp;gt;}UNIQUE_SCHEDULES)))"&amp;nbsp; but it is not giving me the results,&lt;/P&gt;&lt;P&gt;Note&lt;/P&gt;&lt;P&gt;field "UNIQUE_SCHEDULES" is a combined field use to filter unique set of data rows. Also, I am using the combined function in a Gauge to represent a percentage.&lt;/P&gt;&lt;P&gt;Appreciate your valuable feedback.&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Andy&lt;/P&gt;</description>
      <pubDate>Fri, 02 Apr 2021 07:47:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Combine-Count-function-with-a-selection-and-a-IF-statement/m-p/1542585#M62745</guid>
      <dc:creator>andymanu</dc:creator>
      <dc:date>2021-04-02T07:47:19Z</dc:date>
    </item>
    <item>
      <title>Re: Combine Count function with a selection and a IF statement</title>
      <link>https://community.qlik.com/t5/App-Development/Combine-Count-function-with-a-selection-and-a-IF-statement/m-p/1542616#M62746</link>
      <description>May be you want to write like this?&lt;BR /&gt;&lt;BR /&gt;= Count({&amp;lt; FLAG_Prof_Carer_Type = {1}, PASID={"*"} &amp;gt;} UNIQUE_SCHEDULES)</description>
      <pubDate>Tue, 12 Feb 2019 04:00:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Combine-Count-function-with-a-selection-and-a-IF-statement/m-p/1542616#M62746</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2019-02-12T04:00:14Z</dc:date>
    </item>
    <item>
      <title>Re: Combine Count function with a selection and a IF statement</title>
      <link>https://community.qlik.com/t5/App-Development/Combine-Count-function-with-a-selection-and-a-IF-statement/m-p/1542619#M62747</link>
      <description>Hi Vishsaggi,&lt;BR /&gt;Thank you very much. It's working.&lt;BR /&gt;However, when I merge it to the Gauge, it's not showing the expected results.&lt;BR /&gt;I'll add detail data shortly may be with the QVF file.&lt;BR /&gt;Kind regards,&lt;BR /&gt;Andy</description>
      <pubDate>Tue, 12 Feb 2019 04:15:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Combine-Count-function-with-a-selection-and-a-IF-statement/m-p/1542619#M62747</guid>
      <dc:creator>andymanu</dc:creator>
      <dc:date>2019-02-12T04:15:52Z</dc:date>
    </item>
  </channel>
</rss>

