<?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: GetSelectedCount() in Concat() Function in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/GetSelectedCount-in-Concat-Function/m-p/1552461#M39966</link>
    <description>&lt;P&gt;I have to write a visibility condition for a chart.&lt;/P&gt;&lt;P&gt;If I filter 10 specific fields the chart is shown.&lt;/P&gt;&lt;P&gt;If I filter other fields (there are too many other fields) the chart is NOT shown (the chart is NOT shown also if I filter the 10 specific fields and another field that is not included in those 10 specific fields).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Gabriele&lt;/P&gt;</description>
    <pubDate>Tue, 05 Mar 2019 15:07:41 GMT</pubDate>
    <dc:creator>gabriele_qlik</dc:creator>
    <dc:date>2019-03-05T15:07:41Z</dc:date>
    <item>
      <title>GetSelectedCount() in Concat() Function</title>
      <link>https://community.qlik.com/t5/App-Development/GetSelectedCount-in-Concat-Function/m-p/1552205#M39962</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I need this:&lt;/P&gt;&lt;P&gt;GetSelectedCount(Field_1 ) &amp;amp; ',' &amp;amp;&amp;nbsp;GetSelectedCount(Field_2)&amp;nbsp;&amp;amp; ',' &amp;amp; ... &amp;amp; GetSelectedCount(Field_N) .&lt;/P&gt;&lt;P&gt;The result, if I apply no filter, is:&lt;/P&gt;&lt;P&gt;0,0,...,0&lt;/P&gt;&lt;P&gt;In my app I have hundreds of fields and I can't write a GetSelectedCount() function for each field then I want to use Concat() function. But if I use Concat() function in the follow way the result is wrong:&lt;/P&gt;&lt;P&gt;Concat(GetSelectedCount($Field),',')&lt;/P&gt;&lt;P&gt;The result is 0.&lt;/P&gt;&lt;P&gt;What is the correct syntax?&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 06:26:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/GetSelectedCount-in-Concat-Function/m-p/1552205#M39962</guid>
      <dc:creator>gabriele_qlik</dc:creator>
      <dc:date>2024-11-16T06:26:08Z</dc:date>
    </item>
    <item>
      <title>Re: GetSelectedCount() in Concat() Function</title>
      <link>https://community.qlik.com/t5/App-Development/GetSelectedCount-in-Concat-Function/m-p/1552369#M39963</link>
      <description>&lt;P&gt;What is the aim for querying the selection-count for hundreds of fields?&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2019 12:56:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/GetSelectedCount-in-Concat-Function/m-p/1552369#M39963</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2019-03-05T12:56:13Z</dc:date>
    </item>
    <item>
      <title>Re: GetSelectedCount() in Concat() Function</title>
      <link>https://community.qlik.com/t5/App-Development/GetSelectedCount-in-Concat-Function/m-p/1552422#M39964</link>
      <description>&lt;P&gt;I have to write this condition&lt;/P&gt;&lt;P&gt;GetSelectedCount(Field_1) = 0 or GetSelectedCount(Field_2) = 0 or ... or GetSelectedCount(Field_N) = 0&lt;/P&gt;&lt;P&gt;This condition concerns hundreds of fields but not all the fields.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Gabriele&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2019 14:15:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/GetSelectedCount-in-Concat-Function/m-p/1552422#M39964</guid>
      <dc:creator>gabriele_qlik</dc:creator>
      <dc:date>2019-03-05T14:15:10Z</dc:date>
    </item>
    <item>
      <title>Re: GetSelectedCount() in Concat() Function</title>
      <link>https://community.qlik.com/t5/App-Development/GetSelectedCount-in-Concat-Function/m-p/1552438#M39965</link>
      <description>&lt;P&gt;The question was: why do you want to do it? Because there might be other and better ways to solve the task behind your question. Currently I have difficulties to see a reason for it - unless you are loading big crosstables within your application and if it's the case I suggest to rethink the datamodel and not handling hundreds of fields in single calculations.&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2019 14:29:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/GetSelectedCount-in-Concat-Function/m-p/1552438#M39965</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2019-03-05T14:29:02Z</dc:date>
    </item>
    <item>
      <title>Re: GetSelectedCount() in Concat() Function</title>
      <link>https://community.qlik.com/t5/App-Development/GetSelectedCount-in-Concat-Function/m-p/1552461#M39966</link>
      <description>&lt;P&gt;I have to write a visibility condition for a chart.&lt;/P&gt;&lt;P&gt;If I filter 10 specific fields the chart is shown.&lt;/P&gt;&lt;P&gt;If I filter other fields (there are too many other fields) the chart is NOT shown (the chart is NOT shown also if I filter the 10 specific fields and another field that is not included in those 10 specific fields).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Gabriele&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2019 15:07:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/GetSelectedCount-in-Concat-Function/m-p/1552461#M39966</guid>
      <dc:creator>gabriele_qlik</dc:creator>
      <dc:date>2019-03-05T15:07:41Z</dc:date>
    </item>
    <item>
      <title>Re: GetSelectedCount() in Concat() Function</title>
      <link>https://community.qlik.com/t5/App-Development/GetSelectedCount-in-Concat-Function/m-p/1552511#M39967</link>
      <description>&lt;P&gt;Ok. Then you could use the following approach:&lt;/P&gt;&lt;P&gt;= -rangesum($(='getselectedcount([' &amp;amp; concat({&amp;lt; $Table = {'Stores'}&amp;gt;} $Field, '])&amp;gt;0, getselectedcount([') &amp;amp; '])&amp;gt;0'))&amp;lt;=10&lt;/P&gt;&lt;P&gt;which concats the fields from a certain table (you need to add there your tables and maybe a few further exclusions) in a getselectedcount-function-wrapping with an additionally check to &amp;gt;0 which returns TRUE or FALSE and which is summed within a range-function by using a $-sign expansion. Depending on your real requirements it might be useful to use several of those $-sign parts within a range-function and/or creating similar conditions between them.&lt;/P&gt;&lt;P&gt;To comprehend how it worked just put the parts in a textbox and see what happens.&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2019 16:20:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/GetSelectedCount-in-Concat-Function/m-p/1552511#M39967</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2019-03-05T16:20:10Z</dc:date>
    </item>
    <item>
      <title>Re: GetSelectedCount() in Concat() Function</title>
      <link>https://community.qlik.com/t5/App-Development/GetSelectedCount-in-Concat-Function/m-p/1552535#M39968</link>
      <description>&lt;P&gt;Thank You,&lt;/P&gt;&lt;P&gt;tomorrow in the morning I will try your approach.&lt;/P&gt;&lt;P&gt;I will say you if is right for my problem.&lt;/P&gt;&lt;P&gt;Thank you very much&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Gabriele&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2019 17:10:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/GetSelectedCount-in-Concat-Function/m-p/1552535#M39968</guid>
      <dc:creator>gabriele_qlik</dc:creator>
      <dc:date>2019-03-05T17:10:42Z</dc:date>
    </item>
    <item>
      <title>Re: GetSelectedCount() in Concat() Function</title>
      <link>https://community.qlik.com/t5/App-Development/GetSelectedCount-in-Concat-Function/m-p/1552816#M39969</link>
      <description>&lt;P&gt;Thanks Marcus, I'm trying your approach but for now it doesn't work.&lt;/P&gt;&lt;P&gt;Gabriele&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2019 09:37:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/GetSelectedCount-in-Concat-Function/m-p/1552816#M39969</guid>
      <dc:creator>gabriele_qlik</dc:creator>
      <dc:date>2019-03-06T09:37:44Z</dc:date>
    </item>
    <item>
      <title>Re: GetSelectedCount() in Concat() Function</title>
      <link>https://community.qlik.com/t5/App-Development/GetSelectedCount-in-Concat-Function/m-p/1552896#M39970</link>
      <description>&lt;P&gt;For me it worked - I tried it. Maybe there is just a some small syntax/logic issue in your attempt but if you split the parts of the logic into single statements - maybe within a pivot without any further dimensions and leaving the expression-labels blank to see there the evaluation-results from Qlik - it shouldn't be too difficult to find the issue.&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2019 11:48:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/GetSelectedCount-in-Concat-Function/m-p/1552896#M39970</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2019-03-06T11:48:11Z</dc:date>
    </item>
    <item>
      <title>Re: GetSelectedCount() in Concat() Function</title>
      <link>https://community.qlik.com/t5/App-Development/GetSelectedCount-in-Concat-Function/m-p/1552994#M39971</link>
      <description>&lt;P&gt;It works &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2019 13:46:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/GetSelectedCount-in-Concat-Function/m-p/1552994#M39971</guid>
      <dc:creator>gabriele_qlik</dc:creator>
      <dc:date>2019-03-06T13:46:56Z</dc:date>
    </item>
  </channel>
</rss>

