<?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: what is this expression do? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/what-is-this-expression-do/m-p/109731#M762974</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks its very nice explanation .&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Aug 2018 06:22:14 GMT</pubDate>
    <dc:creator>soniasweety</dc:creator>
    <dc:date>2018-08-07T06:22:14Z</dc:date>
    <item>
      <title>what is this expression do?</title>
      <link>https://community.qlik.com/t5/QlikView/what-is-this-expression-do/m-p/109728#M762971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SubStringCount(&lt;/P&gt;&lt;P&gt;if( isnull(GetFieldSelections(Dim)),' ' , GetFieldSelections((Dim),'|',20))&lt;/P&gt;&lt;P&gt;, 'Quarter')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what is 20 here ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can anyone explain this exp?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Sony&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/what-is-this-expression-do/m-p/109728#M762971</guid>
      <dc:creator>soniasweety</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: what is this expression do?</title>
      <link>https://community.qlik.com/t5/QlikView/what-is-this-expression-do/m-p/109729#M762972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;20 represents max number of field values you can select from the field Dim. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Read more here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/ChartFunctions/FieldFunctions/getfieldselections.htm" title="https://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/ChartFunctions/FieldFunctions/getfieldselections.htm"&gt;https://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/ChartFunctions/FieldFunctions/getfieldselect…&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Aug 2018 18:27:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/what-is-this-expression-do/m-p/109729#M762972</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2018-08-06T18:27:00Z</dc:date>
    </item>
    <item>
      <title>Re: what is this expression do?</title>
      <link>https://community.qlik.com/t5/QlikView/what-is-this-expression-do/m-p/109730#M762973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Usually, when you use GetFieldSelections... depending on your user preferences (for instance mine are set at 6).. I will see a comma seperated list of selections up until 6 selections...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My user preference settings&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="210025" alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/210025_Capture.PNG" style="height: 325px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;6 selections&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="210035" alt="Capture.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/210035_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But as soon as I select 7... you will see what happens&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="210036" alt="Capture.PNG" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/210036_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now in a lot of cases, this is not a problem, but when you have an adhoc report, you need to see the exact selection values so that you can equate them to a condition and conditionally hide show a dimension or expression....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In order to over-ride the user preferences... you can use the third parameter of the GetFieldSelections function...&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="210037" alt="Capture.PNG" class="image-4 jive-image" src="https://community.qlik.com/legacyfs/online/210037_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But remember, this will only be good up until 20 selections... as soon as you make the 21st selection... you will see the same behavior like before&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="210041" alt="Capture.PNG" class="image-5 jive-image" src="https://community.qlik.com/legacyfs/online/210041_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, setting a highest possible number based on the number of unique value in your dimension might make sense here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does this help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Aug 2018 20:56:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/what-is-this-expression-do/m-p/109730#M762973</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-08-06T20:56:23Z</dc:date>
    </item>
    <item>
      <title>Re: what is this expression do?</title>
      <link>https://community.qlik.com/t5/QlikView/what-is-this-expression-do/m-p/109731#M762974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks its very nice explanation .&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2018 06:22:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/what-is-this-expression-do/m-p/109731#M762974</guid>
      <dc:creator>soniasweety</dc:creator>
      <dc:date>2018-08-07T06:22:14Z</dc:date>
    </item>
  </channel>
</rss>

