<?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: Section Access: What is the issue? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Section-Access-What-is-the-issue/m-p/1273896#M852063</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Massimo, Aehman and Miguel for your replies.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;They are very much appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I didn't have the &lt;STRONG&gt;Initial Data Reduction ... &lt;/STRONG&gt;checkbox checked, and now the reduction by depot works.&lt;/P&gt;&lt;P&gt;Thanks for the screen shot Aehman.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for confirming that Expressions cant be included in Section Access OMIT,Miguel. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In that case, I will set a variable as OSUSER() and another as a HIDE variable that will be TRUE if certain OSUSERs are viewing the data and make the Expression conditional on the HIDE variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All the best, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stefan &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Feb 2017 16:33:53 GMT</pubDate>
    <dc:creator />
    <dc:date>2017-02-28T16:33:53Z</dc:date>
    <item>
      <title>Section Access: What is the issue?</title>
      <link>https://community.qlik.com/t5/QlikView/Section-Access-What-is-the-issue/m-p/1273892#M852059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to reduce the content available by NT user - one user can see all the information but is only allowd see depot 6, and another user is allowed see all the depots, but not profit information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have viewed the questions on Section access and am trying to use OMIT in the Section Access script to remove the Profit information &lt;STRONG&gt;% &lt;/STRONG&gt;and &lt;STRONG&gt;Profit&lt;/STRONG&gt; from TESTUSER and have specified &lt;STRONG&gt;DEPOT &lt;/STRONG&gt;as the field to reduce to Depot &lt;STRONG&gt;6 &lt;/STRONG&gt;for TESTUSER1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="section_access.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/154599_section_access.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'&lt;STRONG&gt;depot&lt;/STRONG&gt;' is an entity attribute in the source db, and so I am loading it &lt;STRONG&gt;AS DEPOT &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;% &lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;and &lt;/SPAN&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;Profit&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; &lt;/SPAN&gt;&lt;/STRONG&gt; are expressions used in tables in the document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Neither are working&amp;nbsp; - TESTUSER1 can see all depots and TESTUSER can see all the profit information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Much appreciated if anyone can point out where I'm going wrong.&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/Section-Access-What-is-the-issue/m-p/1273892#M852059</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Section Access: What is the issue?</title>
      <link>https://community.qlik.com/t5/QlikView/Section-Access-What-is-the-issue/m-p/1273893#M852060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the attachment an example;&lt;/P&gt;&lt;P&gt;below you can find the script with username and password (replace with NTNAME) to open the .qvw&lt;/P&gt;&lt;P&gt;look at Settings --&amp;gt; Document Properties --&amp;gt; Opening&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-9039"&gt;Section Access&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SECTION Application;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;x:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;load * inline [&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ID, DEPOT, Profit&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;1, 1, 100&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;2, 2, 100&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;3, 3, 100&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;4, 4, 100&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;5, 5, 100&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;6, 6, 100&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;]; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SECTION Access;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD * inline [&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ACCESS, USERID, PASSWORD, OMIT, DEPOT&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;USER, U1, 1, , 6&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;USER, U2, 2, Profit, *&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ADMIN, MG, MG, , *&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;USER, U3, 3, , 1&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;USER, U3, 3, , 2&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;];&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; 'USER' as ACCESS,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; 'DUMMY' as USERID,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; 'DUMMY' as PASSWORD,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; null() as OMIT,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; DEPOT&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Resident x;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SECTION Application;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Feb 2017 18:26:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Section-Access-What-is-the-issue/m-p/1273893#M852060</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2017-02-27T18:26:47Z</dc:date>
    </item>
    <item>
      <title>Re: Section Access: What is the issue?</title>
      <link>https://community.qlik.com/t5/QlikView/Section-Access-What-is-the-issue/m-p/1273894#M852061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please find the attachment&lt;/P&gt;&lt;P&gt;USERID (just hit enter) and Password ADMIN&lt;/P&gt;&lt;P&gt;USERID- ALEX, Password- ABCD&lt;/P&gt;&lt;P&gt;USERID- JOHN, Password- BCDE&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;STAR is *;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;SECTION Access;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;LOAD * INLINE [&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ACCESS, USERID, PASSWORD, DEPOT, OMIT&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ADMIN, , ADMIN, *&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; USER, ALEX, ABCD, 6&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; USER, JOHN, BCDE, *, PROFIT&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; USER, JOHN, , 1&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; USER, JOHN, , 2&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; USER, JOHN, , 3&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; USER, JOHN, , 4&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; USER, JOHN, , 5&lt;/P&gt;
&lt;P&gt;];&lt;/P&gt;
&lt;P&gt;SECTION Application;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;LOAD * INLINE [&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DEPOT, PROFIT, USERNAME&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1, 345, ALEX&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2, 6765, JOHN&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3, 7689, ALEX&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4, 898, JOHN&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5, 21421, JOHN&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6, 6776, ALEX&lt;/P&gt;
&lt;P&gt;];&lt;/P&gt;

&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your script is correct &lt;STRONG&gt;I believe you did not check 'Initial Data Reduction Based on Section Access'&lt;/STRONG&gt; in Document Settings hence your application is not applying any security rules.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="154612" alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/154612_Capture.PNG" style="height: 530px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Feb 2017 18:47:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Section-Access-What-is-the-issue/m-p/1273894#M852061</guid>
      <dc:creator>MK9885</dc:creator>
      <dc:date>2017-02-27T18:47:49Z</dc:date>
    </item>
    <item>
      <title>Re: Section Access: What is the issue?</title>
      <link>https://community.qlik.com/t5/QlikView/Section-Access-What-is-the-issue/m-p/1273895#M852062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Section access works on fields, not expressions, so if "%" and "Profit" are expression labels, then yes, all of them will show up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DEPOT must be the field name in lowercase in both the section access table and the data model table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Feb 2017 19:33:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Section-Access-What-is-the-issue/m-p/1273895#M852062</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2017-02-27T19:33:11Z</dc:date>
    </item>
    <item>
      <title>Re: Section Access: What is the issue?</title>
      <link>https://community.qlik.com/t5/QlikView/Section-Access-What-is-the-issue/m-p/1273896#M852063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Massimo, Aehman and Miguel for your replies.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;They are very much appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I didn't have the &lt;STRONG&gt;Initial Data Reduction ... &lt;/STRONG&gt;checkbox checked, and now the reduction by depot works.&lt;/P&gt;&lt;P&gt;Thanks for the screen shot Aehman.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for confirming that Expressions cant be included in Section Access OMIT,Miguel. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In that case, I will set a variable as OSUSER() and another as a HIDE variable that will be TRUE if certain OSUSERs are viewing the data and make the Expression conditional on the HIDE variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All the best, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stefan &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2017 16:33:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Section-Access-What-is-the-issue/m-p/1273896#M852063</guid>
      <dc:creator />
      <dc:date>2017-02-28T16:33:53Z</dc:date>
    </item>
  </channel>
</rss>

