<?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: Excluding Values from a data set depending on the users. in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Excluding-Values-from-a-data-set-depending-on-the-users/m-p/2465347#M99167</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/136087"&gt;@CharlieWith&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;That sounds like a job for Section Access, &lt;STRONG&gt;OMIT&lt;/STRONG&gt; feature. Have you tried that?&lt;BR /&gt;&lt;A href="https://help.qlik.com/en-US/sense/May2024/Subsystems/Hub/Content/Sense_Hub/Scripting/Security/manage-security-with-section-access.htm" target="_blank"&gt;https://help.qlik.com/en-US/sense/May2024/Subsystems/Hub/Content/Sense_Hub/Scripting/Security/manage-security-with-section-access.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Mark Costa&lt;/P&gt;</description>
    <pubDate>Tue, 25 Jun 2024 13:43:06 GMT</pubDate>
    <dc:creator>marksouzacosta</dc:creator>
    <dc:date>2024-06-25T13:43:06Z</dc:date>
    <item>
      <title>Excluding Values from a data set depending on the users.</title>
      <link>https://community.qlik.com/t5/App-Development/Excluding-Values-from-a-data-set-depending-on-the-users/m-p/2464890#M99129</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;We have a scenario where we are trying to exclude some values from a Dashboard depending on who is opening it. We set the value for who is opening it on open and this is correlated with&amp;nbsp;a list of Excluded Values (EXCLUDED_KEY). I want to take this set of excluded values and use it to exclude a selection in another field (MAIN_KEY) so that these values are available to some users, but not others.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have been trying to do this in a macro by selecting all values in EXCLUDED_KEY and then making this selection in MAIN_KEY and selecting excluded from there. This works when there is only one value to be excluded, but does not work for multiple selections.&lt;/P&gt;
&lt;P&gt;excluded = ActiveDocument.Evaluate("EXCLUDED_KEY")&lt;BR /&gt;ActiveDocument.Fields("MAIN_KEY&amp;nbsp;").Select(excluded )&lt;BR /&gt;ActiveDocument.Fields("MAIN_KEY&amp;nbsp;").SelectExcluded(excluded)&lt;/P&gt;
&lt;P&gt;I have also been looking into doing this with an array, but am struggling to get this to work and am inexperienced in using them.&lt;/P&gt;
&lt;P&gt;If I were to set up an array using the following, could I use this to make selections in&amp;nbsp;MAIN_KEY?&lt;/P&gt;
&lt;P&gt;vArray = Split(EXCLUDED_KEY, ",")&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Charlie&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jun 2024 10:13:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Excluding-Values-from-a-data-set-depending-on-the-users/m-p/2464890#M99129</guid>
      <dc:creator>CharlieWith</dc:creator>
      <dc:date>2024-06-24T10:13:45Z</dc:date>
    </item>
    <item>
      <title>Re: Excluding Values from a data set depending on the users.</title>
      <link>https://community.qlik.com/t5/App-Development/Excluding-Values-from-a-data-set-depending-on-the-users/m-p/2465347#M99167</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/136087"&gt;@CharlieWith&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;That sounds like a job for Section Access, &lt;STRONG&gt;OMIT&lt;/STRONG&gt; feature. Have you tried that?&lt;BR /&gt;&lt;A href="https://help.qlik.com/en-US/sense/May2024/Subsystems/Hub/Content/Sense_Hub/Scripting/Security/manage-security-with-section-access.htm" target="_blank"&gt;https://help.qlik.com/en-US/sense/May2024/Subsystems/Hub/Content/Sense_Hub/Scripting/Security/manage-security-with-section-access.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Mark Costa&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jun 2024 13:43:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Excluding-Values-from-a-data-set-depending-on-the-users/m-p/2465347#M99167</guid>
      <dc:creator>marksouzacosta</dc:creator>
      <dc:date>2024-06-25T13:43:06Z</dc:date>
    </item>
  </channel>
</rss>

