<?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 getCurrentSelections in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/getCurrentSelections/m-p/1012276#M343352</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I know that the function getCurrentSelections gives the names of the fields with the selected values&lt;/P&gt;&lt;P&gt;and if Clear is clicked this function will return null&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there a way to check that there is selection on all fields except for some specific fields&lt;/P&gt;&lt;P&gt;I want to check if the user at least selected any value of any column in the schema but ignore selections made on some specific fields&lt;/P&gt;&lt;P&gt;is this possible ?&lt;/P&gt;&lt;P&gt;Please advise&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Sep 2015 10:18:49 GMT</pubDate>
    <dc:creator>ali_hijazi</dc:creator>
    <dc:date>2015-09-10T10:18:49Z</dc:date>
    <item>
      <title>getCurrentSelections</title>
      <link>https://community.qlik.com/t5/QlikView/getCurrentSelections/m-p/1012276#M343352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I know that the function getCurrentSelections gives the names of the fields with the selected values&lt;/P&gt;&lt;P&gt;and if Clear is clicked this function will return null&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there a way to check that there is selection on all fields except for some specific fields&lt;/P&gt;&lt;P&gt;I want to check if the user at least selected any value of any column in the schema but ignore selections made on some specific fields&lt;/P&gt;&lt;P&gt;is this possible ?&lt;/P&gt;&lt;P&gt;Please advise&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Sep 2015 10:18:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/getCurrentSelections/m-p/1012276#M343352</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2015-09-10T10:18:49Z</dc:date>
    </item>
    <item>
      <title>Re: getCurrentSelections</title>
      <link>https://community.qlik.com/t5/QlikView/getCurrentSelections/m-p/1012277#M343353</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could use various string-functions like subfield(), index(), (wild)match() to search within the getcurrentselections-result but I think to use multiple getfieldselections() or getselectedcount() queries will be easier.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another possibility might be to use a count-function with some conditions over alle your needed fields and values maybe like: count({&amp;lt; Field1 = {'Value1'}, Field2 = {'Value2', 'Value3'} &amp;gt;} Field1&amp;amp;Field2) which returned a value &amp;gt;=1 = true or 0 = false.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Sep 2015 11:59:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/getCurrentSelections/m-p/1012277#M343353</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-09-10T11:59:55Z</dc:date>
    </item>
    <item>
      <title>Re: getCurrentSelections</title>
      <link>https://community.qlik.com/t5/QlikView/getCurrentSelections/m-p/1012278#M343354</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, it is definately possible.&lt;/P&gt;&lt;P&gt;This formula should do the trick:&lt;/P&gt;&lt;P&gt;=$(='RangeSum(' &amp;amp; Concat ({&amp;lt;[$Field] =- {'My exclude field 1', 'My exclude field 2'}&amp;gt;} 'GetSelectedCount([' &amp;amp; [$Field] &amp;amp; '])', ', ') &amp;amp; ')')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to show the formula in text you can paste this into a text box:&lt;/P&gt;&lt;P&gt;='RangeSum(' &amp;amp; Concat ({&amp;lt;[$Field] =- {'My exclude field 1', 'My exclude field 2'}&amp;gt;} 'GetSelectedCount([' &amp;amp; [$Field] &amp;amp; '])', ', ') &amp;amp; ')'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It creates a dynamic expression using the hidden field for all fields, $Field and uses Set Expression to exclude certain fields. Example&lt;/P&gt;&lt;P&gt;=RangeSum(GetSelectedCount([History]), GetSelectedCount([Issues]), GetSelectedCount([ToDo]))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Sep 2015 12:20:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/getCurrentSelections/m-p/1012278#M343354</guid>
      <dc:creator>johanlindell</dc:creator>
      <dc:date>2015-09-10T12:20:37Z</dc:date>
    </item>
    <item>
      <title>Re: getCurrentSelections</title>
      <link>https://community.qlik.com/t5/QlikView/getCurrentSelections/m-p/1012279#M343355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Sep 2015 14:28:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/getCurrentSelections/m-p/1012279#M343355</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2015-09-10T14:28:14Z</dc:date>
    </item>
  </channel>
</rss>

