<?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 Set Analysis with Multiple GetFieldSelection in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Set-Analysis-with-Multiple-GetFieldSelection/m-p/1642074#M47851</link>
    <description>&lt;P&gt;Hi folks,&lt;/P&gt;&lt;P&gt;I am trying to create an expression which should count all the records based on the values selected in the filter panel.&lt;/P&gt;&lt;P&gt;I have a variable which stores field selections as&lt;/P&gt;&lt;P&gt;varName=GetFieldSelections(AgencyName)&lt;/P&gt;&lt;P&gt;My expression is:&lt;/P&gt;&lt;P&gt;COUNT({1&amp;lt;AgencyName={"$(varName)"}&amp;gt;}Status)&lt;/P&gt;&lt;P&gt;This expression works perfectly fine when only single value is selected in the AgencyName filter. The expression fails when multiple values are selected. Any ideas how to solve this?&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 04:11:45 GMT</pubDate>
    <dc:creator>Vimarsh</dc:creator>
    <dc:date>2024-11-16T04:11:45Z</dc:date>
    <item>
      <title>Set Analysis with Multiple GetFieldSelection</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-with-Multiple-GetFieldSelection/m-p/1642074#M47851</link>
      <description>&lt;P&gt;Hi folks,&lt;/P&gt;&lt;P&gt;I am trying to create an expression which should count all the records based on the values selected in the filter panel.&lt;/P&gt;&lt;P&gt;I have a variable which stores field selections as&lt;/P&gt;&lt;P&gt;varName=GetFieldSelections(AgencyName)&lt;/P&gt;&lt;P&gt;My expression is:&lt;/P&gt;&lt;P&gt;COUNT({1&amp;lt;AgencyName={"$(varName)"}&amp;gt;}Status)&lt;/P&gt;&lt;P&gt;This expression works perfectly fine when only single value is selected in the AgencyName filter. The expression fails when multiple values are selected. Any ideas how to solve this?&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 04:11:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-with-Multiple-GetFieldSelection/m-p/1642074#M47851</guid>
      <dc:creator>Vimarsh</dc:creator>
      <dc:date>2024-11-16T04:11:45Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with Multiple GetFieldSelection</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-with-Multiple-GetFieldSelection/m-p/1642087#M47853</link>
      <description>&lt;P&gt;Try this instead&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Count({1&amp;lt;AgencyName = p(AgencyName)&amp;gt;} Status)&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 01 Nov 2019 13:31:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-with-Multiple-GetFieldSelection/m-p/1642087#M47853</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-11-01T13:31:56Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with Multiple GetFieldSelection</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-with-Multiple-GetFieldSelection/m-p/1642088#M47854</link>
      <description>&lt;P&gt;or this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Count({1&amp;lt;AgencyName = $::AgencyName&amp;gt;} Status)&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 01 Nov 2019 13:32:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-with-Multiple-GetFieldSelection/m-p/1642088#M47854</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-11-01T13:32:31Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with Multiple GetFieldSelection</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-with-Multiple-GetFieldSelection/m-p/1642092#M47855</link>
      <description>&lt;P&gt;Thanks Sunny!&lt;/P&gt;&lt;P&gt;Both of your expressions do the job! Thanks so much!&lt;/P&gt;</description>
      <pubDate>Fri, 01 Nov 2019 13:39:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-with-Multiple-GetFieldSelection/m-p/1642092#M47855</guid>
      <dc:creator>Vimarsh</dc:creator>
      <dc:date>2019-11-01T13:39:16Z</dc:date>
    </item>
  </channel>
</rss>

