<?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: getselectioncount issue in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/getselectioncount-issue/m-p/1935532#M77082</link>
    <description>&lt;P&gt;With the top solution you potenitally lose visability of the months in the dropdown when selected, but a neat solution. So in this situation Marcus solution worked better -&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks both&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 25 May 2022 13:54:06 GMT</pubDate>
    <dc:creator>lee_</dc:creator>
    <dc:date>2022-05-25T13:54:06Z</dc:date>
    <item>
      <title>getselectioncount issue</title>
      <link>https://community.qlik.com/t5/App-Development/getselectioncount-issue/m-p/1935505#M77073</link>
      <description>&lt;P&gt;Hi All,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm trying to understand the quantity of months selected through a filter using&amp;nbsp;&lt;/P&gt;
&lt;P&gt;=GetSelectedCount(MonthShortname)&lt;/P&gt;
&lt;P&gt;This works fine if i select on filter with just monthshortname as the dimension and I'll get a value 0 - 12&lt;/P&gt;
&lt;P&gt;but if i use a formula as the filter dimension&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If(Match([_CYTD_flag],'1') or Match([_PYTD_flag],'1'), MonthShortname)&lt;/P&gt;
&lt;P&gt;regardless of how many months i select , the get count remains at zero&lt;/P&gt;
&lt;P&gt;What am i missing here, im still selecting months?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2022 13:32:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/getselectioncount-issue/m-p/1935505#M77073</guid>
      <dc:creator>lee_</dc:creator>
      <dc:date>2022-05-25T13:32:57Z</dc:date>
    </item>
    <item>
      <title>Re: getselectioncount issue</title>
      <link>https://community.qlik.com/t5/App-Development/getselectioncount-issue/m-p/1935514#M77077</link>
      <description>&lt;P&gt;Try below&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Aggr( only({&amp;lt;&lt;SPAN&gt;_CYTD_flag={1}&lt;/SPAN&gt;&amp;gt;+&amp;lt;&lt;SPAN&gt;_CYTD_flag={1}&lt;/SPAN&gt;&amp;gt;}&lt;SPAN&gt;MonthShortname&lt;/SPAN&gt;),&lt;SPAN&gt;MonthShortname)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;or&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Aggr(If([_CYTD_flag=1 or _PYTD_flag=1, MonthShortname),MonthShortname)&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2022 13:40:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/getselectioncount-issue/m-p/1935514#M77077</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2022-05-25T13:40:30Z</dc:date>
    </item>
    <item>
      <title>Re: getselectioncount issue</title>
      <link>https://community.qlik.com/t5/App-Development/getselectioncount-issue/m-p/1935518#M77079</link>
      <description>&lt;P&gt;You are not selecting a native field with your calculated dimension and therefore getselectedcount() couldn't work. To get the count you may calculate it with:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;count({&amp;lt;&lt;/SPAN&gt;&lt;SPAN&gt;_CYTD_flag={1}&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;+&amp;lt;&lt;/SPAN&gt;&lt;SPAN&gt;_CYTD_flag={1}&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;} distinct&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;MonthShortname&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2022 13:46:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/getselectioncount-issue/m-p/1935518#M77079</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2022-05-25T13:46:38Z</dc:date>
    </item>
    <item>
      <title>Re: getselectioncount issue</title>
      <link>https://community.qlik.com/t5/App-Development/getselectioncount-issue/m-p/1935532#M77082</link>
      <description>&lt;P&gt;With the top solution you potenitally lose visability of the months in the dropdown when selected, but a neat solution. So in this situation Marcus solution worked better -&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks both&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2022 13:54:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/getselectioncount-issue/m-p/1935532#M77082</guid>
      <dc:creator>lee_</dc:creator>
      <dc:date>2022-05-25T13:54:06Z</dc:date>
    </item>
  </channel>
</rss>

