<?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 Get &amp;quot;impossible&amp;quot; selected values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Get-quot-impossible-quot-selected-values/m-p/377843#M703214</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using a macro to get a full list of the selected values for all the fields in the current selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To do this, I loop through the array returned by GetSelectedValues like this:&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_1344969688159506" jivemacro_uid="_1344969688159506"&gt;&lt;P&gt;set oSelectedValues = ActiveDocument.GetField("Field").GetSelectedValues()&lt;/P&gt;&lt;P&gt;for j = 0 to oSelectedValues.Count - 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sValueList = sValueList &amp;amp; ", " &amp;amp; oSelectedValues.Item(j).Text&lt;/P&gt;&lt;P&gt;next&lt;/P&gt;&lt;P&gt;sCurrentSelection = "Field = " &amp;amp; sValueList &lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, the resulting list does not include the values which appear in the Current Selection box but which are excluded (not possible) through the selection of other fields.&lt;/P&gt;&lt;P&gt;I cannot use ActiveDocument.GetCurrentSelections to resolve this, because it only returns something like "20 of 5000" instead of the actual values if more than a few values are selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions on how to get those impossible values into the selection?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Aug 2012 18:47:57 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-08-14T18:47:57Z</dc:date>
    <item>
      <title>Get "impossible" selected values</title>
      <link>https://community.qlik.com/t5/QlikView/Get-quot-impossible-quot-selected-values/m-p/377843#M703214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using a macro to get a full list of the selected values for all the fields in the current selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To do this, I loop through the array returned by GetSelectedValues like this:&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_1344969688159506" jivemacro_uid="_1344969688159506"&gt;&lt;P&gt;set oSelectedValues = ActiveDocument.GetField("Field").GetSelectedValues()&lt;/P&gt;&lt;P&gt;for j = 0 to oSelectedValues.Count - 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sValueList = sValueList &amp;amp; ", " &amp;amp; oSelectedValues.Item(j).Text&lt;/P&gt;&lt;P&gt;next&lt;/P&gt;&lt;P&gt;sCurrentSelection = "Field = " &amp;amp; sValueList &lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, the resulting list does not include the values which appear in the Current Selection box but which are excluded (not possible) through the selection of other fields.&lt;/P&gt;&lt;P&gt;I cannot use ActiveDocument.GetCurrentSelections to resolve this, because it only returns something like "20 of 5000" instead of the actual values if more than a few values are selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions on how to get those impossible values into the selection?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2012 18:47:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-quot-impossible-quot-selected-values/m-p/377843#M703214</guid>
      <dc:creator />
      <dc:date>2012-08-14T18:47:57Z</dc:date>
    </item>
  </channel>
</rss>

