<?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: getfieldselections &amp; getselectedcount return different fieldcount -&amp;gt; IncludeExcluded in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/getfieldselections-getselectedcount-return-different-fieldcount/m-p/1218124#M517298</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So you are saying that Concat() is showing Channels which are not selected?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Jan 2017 17:36:06 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2017-01-23T17:36:06Z</dc:date>
    <item>
      <title>getfieldselections &amp; getselectedcount return different fieldcount -&gt; IncludeExcluded</title>
      <link>https://community.qlik.com/t5/QlikView/getfieldselections-getselectedcount-return-different-fieldcount/m-p/1218117#M517291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the frontend I want to combine the functions getfieldselections &amp;amp; getselectedcount&amp;nbsp; to dynamically show fieldselections, based on the number of selections.&lt;/P&gt;&lt;P&gt;the problem: both return different fieldcount.&lt;/P&gt;&lt;P&gt;I found out that getselectedcount has the parameter IncludeExcluded, which defaults to false. If set to true() both functions return the same fieldcount so I guess getfieldselections includes excluded values which is quite confusing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way to not include exluded values in getfieldselections() ? Or any different ideas for a workaround?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2017 16:41:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/getfieldselections-getselectedcount-return-different-fieldcount/m-p/1218117#M517291</guid>
      <dc:creator>ni_avoss</dc:creator>
      <dc:date>2017-01-23T16:41:43Z</dc:date>
    </item>
    <item>
      <title>Re: getfieldselections &amp; getselectedcount return different fieldcount -&gt; IncludeExcluded</title>
      <link>https://community.qlik.com/t5/QlikView/getfieldselections-getselectedcount-return-different-fieldcount/m-p/1218118#M517292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be use Concat() instead of GetFieldSelections?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(GetSelectedCount() &amp;gt; 0, Concat(DISTINCT FieldName))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2017 16:45:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/getfieldselections-getselectedcount-return-different-fieldcount/m-p/1218118#M517292</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-23T16:45:33Z</dc:date>
    </item>
    <item>
      <title>Re: getfieldselections &amp; getselectedcount return different fieldcount -&gt; IncludeExcluded</title>
      <link>https://community.qlik.com/t5/QlikView/getfieldselections-getselectedcount-return-different-fieldcount/m-p/1218119#M517293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;well, yeah that might be an idea. the useful parameter in that function was that it automatically switches from concatenation to a summary ("x of y") after hitting MaxValues. But I guess I can rebuild this more or less if there is no other way&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2017 17:03:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/getfieldselections-getselectedcount-return-different-fieldcount/m-p/1218119#M517293</guid>
      <dc:creator>ni_avoss</dc:creator>
      <dc:date>2017-01-23T17:03:25Z</dc:date>
    </item>
    <item>
      <title>Re: getfieldselections &amp; getselectedcount return different fieldcount -&gt; IncludeExcluded</title>
      <link>https://community.qlik.com/t5/QlikView/getfieldselections-getselectedcount-return-different-fieldcount/m-p/1218120#M517294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;oh just tried this. concat() also return exluded values, thus will not work&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2017 17:07:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/getfieldselections-getselectedcount-return-different-fieldcount/m-p/1218120#M517294</guid>
      <dc:creator>ni_avoss</dc:creator>
      <dc:date>2017-01-23T17:07:17Z</dc:date>
    </item>
    <item>
      <title>Re: getfieldselections &amp; getselectedcount return different fieldcount -&gt; IncludeExcluded</title>
      <link>https://community.qlik.com/t5/QlikView/getfieldselections-getselectedcount-return-different-fieldcount/m-p/1218121#M517295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Concat() includes excluded values, can you share a sample of what you trying to get?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2017 17:09:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/getfieldselections-getselectedcount-return-different-fieldcount/m-p/1218121#M517295</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-23T17:09:09Z</dc:date>
    </item>
    <item>
      <title>Re: getfieldselections &amp; getselectedcount return different fieldcount -&gt; IncludeExcluded</title>
      <link>https://community.qlik.com/t5/QlikView/getfieldselections-getselectedcount-return-different-fieldcount/m-p/1218122#M517296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=if&lt;SPAN style="font-size: 14.0pt;"&gt;(&lt;/SPAN&gt;Aggr(Sum(1), &lt;SPAN style="color: red;"&gt;FIELDNAME&lt;/SPAN&gt;)&amp;gt;0&lt;SPAN style="font-size: 18.0pt;"&gt;, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;'Selected: $(=Concat(DISTINCT &lt;SPAN style="color: red;"&gt;FIELDNAME&lt;/SPAN&gt;, ', '))'&lt;SPAN style="font-size: 18.0pt;"&gt;, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;'Others: $(=Concat({&amp;lt;&lt;SPAN style="color: #ff0000; font-size: 13.3333330154419px;"&gt;FIELDNAM&lt;/SPAN&gt;=E({$})&amp;gt;} DISTINCT &lt;SPAN style="color: red;"&gt;FIELDNAME&lt;/SPAN&gt;, ', '))'&lt;SPAN style="font-size: 14.0pt;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2017 17:10:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/getfieldselections-getselectedcount-return-different-fieldcount/m-p/1218122#M517296</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-23T17:10:51Z</dc:date>
    </item>
    <item>
      <title>Re: getfieldselections &amp; getselectedcount return different fieldcount -&gt; IncludeExcluded</title>
      <link>https://community.qlik.com/t5/QlikView/getfieldselections-getselectedcount-return-different-fieldcount/m-p/1218123#M517297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;let me try to explain:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got two boxes. One which is a standard listbox, second is a summary of the selection (works similar to text field). Basically I try that both boxes show the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem: when extending my selection (to other fields), the selection within the listbox shrinks accordingly to what is really shown. Not so in the summary box which uses now the following expression (GetFieldSelections just got replaced with concat):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(GetSelectedCount(Channel)=0,'Channel',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(GetSelectedCount(Channel)&amp;gt;5,GetSelectedCount(Channel)&amp;amp;' Channels',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Concat(Channel,', ')))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is that clear ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2017 17:16:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/getfieldselections-getselectedcount-return-different-fieldcount/m-p/1218123#M517297</guid>
      <dc:creator>ni_avoss</dc:creator>
      <dc:date>2017-01-23T17:16:42Z</dc:date>
    </item>
    <item>
      <title>Re: getfieldselections &amp; getselectedcount return different fieldcount -&gt; IncludeExcluded</title>
      <link>https://community.qlik.com/t5/QlikView/getfieldselections-getselectedcount-return-different-fieldcount/m-p/1218124#M517298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So you are saying that Concat() is showing Channels which are not selected?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2017 17:36:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/getfieldselections-getselectedcount-return-different-fieldcount/m-p/1218124#M517298</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-23T17:36:06Z</dc:date>
    </item>
    <item>
      <title>Re: getfieldselections &amp; getselectedcount return different fieldcount -&gt; IncludeExcluded</title>
      <link>https://community.qlik.com/t5/QlikView/getfieldselections-getselectedcount-return-different-fieldcount/m-p/1218125#M517299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;they have been selected before but further selection excludes values from the initial selection&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2017 17:39:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/getfieldselections-getselectedcount-return-different-fieldcount/m-p/1218125#M517299</guid>
      <dc:creator>ni_avoss</dc:creator>
      <dc:date>2017-01-23T17:39:41Z</dc:date>
    </item>
    <item>
      <title>Re: getfieldselections &amp; getselectedcount return different fieldcount -&gt; IncludeExcluded</title>
      <link>https://community.qlik.com/t5/QlikView/getfieldselections-getselectedcount-return-different-fieldcount/m-p/1218126#M517300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think the best would be if you provide a small example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2017 19:18:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/getfieldselections-getselectedcount-return-different-fieldcount/m-p/1218126#M517300</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2017-01-23T19:18:58Z</dc:date>
    </item>
    <item>
      <title>Re: getfieldselections &amp; getselectedcount return different fieldcount -&gt; IncludeExcluded</title>
      <link>https://community.qlik.com/t5/QlikView/getfieldselections-getselectedcount-return-different-fieldcount/m-p/1218127#M517301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I agree with Marcus, I don't really understand what you have and what kind of issue you are running into?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2017 00:28:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/getfieldselections-getselectedcount-return-different-fieldcount/m-p/1218127#M517301</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-24T00:28:03Z</dc:date>
    </item>
    <item>
      <title>Re: getfieldselections &amp; getselectedcount return different fieldcount -&gt; IncludeExcluded</title>
      <link>https://community.qlik.com/t5/QlikView/getfieldselections-getselectedcount-return-different-fieldcount/m-p/1218128#M517302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;while trying to build an example I found out that the approach with concat works fine,&lt;/P&gt;&lt;P&gt;I cannot recall what was wrong there yesterday.&lt;/P&gt;&lt;P&gt;Thank you all for your help, esp. Sunny.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2017 09:57:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/getfieldselections-getselectedcount-return-different-fieldcount/m-p/1218128#M517302</guid>
      <dc:creator>ni_avoss</dc:creator>
      <dc:date>2017-01-24T09:57:41Z</dc:date>
    </item>
    <item>
      <title>Re: getfieldselections &amp; getselectedcount return different fieldcount -&gt; IncludeExcluded</title>
      <link>https://community.qlik.com/t5/QlikView/getfieldselections-getselectedcount-return-different-fieldcount/m-p/1610684#M517303</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46628"&gt;@sunny_talwar&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried passing a placeholder in a similar expression, however the Concat() function is not identifying the placeholder:&lt;/P&gt;&lt;P&gt;Expression Used -&amp;nbsp;='$(vSelectionQuery(Dim1))'&lt;/P&gt;&lt;P&gt;Variable Definintion&amp;nbsp;&lt;STRONG&gt;vSelectionQuery&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;=If(GetSelectedCount(&lt;STRONG&gt;&lt;FONT color="#339966"&gt;$1&lt;/FONT&gt;&lt;/STRONG&gt;)=0,Null(),'&amp;amp;select=' &amp;amp;'$1,' &amp;amp; Concat(Distinct&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;$1&lt;/FONT&gt;&lt;/STRONG&gt;,','))&lt;/P&gt;&lt;P&gt;The Place holder $1 in&amp;nbsp;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;green font&lt;/STRONG&gt;&lt;/FONT&gt; works fine, the one in&amp;nbsp;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;red font&lt;/STRONG&gt;&lt;/FONT&gt; in Concat() function doesn't gets assigned with the placeholder.&lt;/P&gt;&lt;P&gt;TIA,&lt;/P&gt;&lt;P&gt;Shannoy&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2019 12:58:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/getfieldselections-getselectedcount-return-different-fieldcount/m-p/1610684#M517303</guid>
      <dc:creator>shannoypaul</dc:creator>
      <dc:date>2019-08-08T12:58:27Z</dc:date>
    </item>
    <item>
      <title>Re: getfieldselections &amp; getselectedcount return different fieldcount -&gt; IncludeExcluded</title>
      <link>https://community.qlik.com/t5/QlikView/getfieldselections-getselectedcount-return-different-fieldcount/m-p/1703276#M517304</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a similar request in Pivot Table. For eg:&lt;/P&gt;&lt;P&gt;Fieldname - Category 1, another field name is country (listed as a,b,c in thsi case)&lt;/P&gt;&lt;TABLE width="211"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="83"&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD width="64"&gt;Month 1&lt;/TD&gt;&lt;TD width="64"&gt;Month 2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Category 1 Total&lt;/TD&gt;&lt;TD&gt;20&lt;/TD&gt;&lt;TD&gt;35&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;a&lt;/TD&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;TD&gt;20&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;b&lt;/TD&gt;&lt;TD&gt;5&lt;/TD&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;d&lt;/TD&gt;&lt;TD&gt;5&lt;/TD&gt;&lt;TD&gt;5&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;On selection of Country b, i want to exclude the&amp;nbsp; total of b from Category 1 Total. so which means row for country b will be there just the selected country value ie 5 for Month 1 should be removed from Category1 Total.&lt;/P&gt;</description>
      <pubDate>Tue, 19 May 2020 02:00:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/getfieldselections-getselectedcount-return-different-fieldcount/m-p/1703276#M517304</guid>
      <dc:creator>tellmalaika17</dc:creator>
      <dc:date>2020-05-19T02:00:49Z</dc:date>
    </item>
  </channel>
</rss>

