<?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 Section Access - View all data in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Section-Access-View-all-data/m-p/208081#M715462</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to implement section access so that some users can see all data (user SEINTHAN) and others have restriced access (user SEINAXTI). I have tried the code below. I am using this on an QVS 9.&lt;/P&gt;&lt;P&gt;User SEINTHAN can logon and sees all data. SEINAXTI cannot logon. Can someone help me what I am doing wrong?&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;&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;&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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&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;&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;BR /&gt;&lt;BR /&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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Section Access;&lt;/P&gt;&lt;P&gt;SecTab:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt; NTNAME, KA1, ACCESS, NTDOMAINSID&lt;BR /&gt; SEINTHAN, XX, USER, S-1-5-21-3856358470-4250892236-3704298111&lt;BR /&gt; SEINAXTI,V1, USER, S-1-5-21-3856358470-4250892236-3704298111&lt;BR /&gt;];&lt;BR /&gt;Section Application;&lt;/P&gt;&lt;P&gt;TabA:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt; A1, A2, A3&lt;BR /&gt; V1, V2, V3&lt;BR /&gt; X1, X2, X3&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;AccessA:&lt;BR /&gt;LOAD&lt;BR /&gt; A1 as KA1,&lt;BR /&gt; A1&lt;BR /&gt;RESIDENT TabA;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;AccessA:&lt;BR /&gt;LOAD&lt;BR /&gt; 'XX' as KA1,&lt;BR /&gt; A1&lt;BR /&gt;RESIDENT TabA;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 18 Sep 2010 08:51:13 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-09-18T08:51:13Z</dc:date>
    <item>
      <title>Section Access - View all data</title>
      <link>https://community.qlik.com/t5/QlikView/Section-Access-View-all-data/m-p/208081#M715462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to implement section access so that some users can see all data (user SEINTHAN) and others have restriced access (user SEINAXTI). I have tried the code below. I am using this on an QVS 9.&lt;/P&gt;&lt;P&gt;User SEINTHAN can logon and sees all data. SEINAXTI cannot logon. Can someone help me what I am doing wrong?&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;&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;&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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&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;&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;BR /&gt;&lt;BR /&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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Section Access;&lt;/P&gt;&lt;P&gt;SecTab:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt; NTNAME, KA1, ACCESS, NTDOMAINSID&lt;BR /&gt; SEINTHAN, XX, USER, S-1-5-21-3856358470-4250892236-3704298111&lt;BR /&gt; SEINAXTI,V1, USER, S-1-5-21-3856358470-4250892236-3704298111&lt;BR /&gt;];&lt;BR /&gt;Section Application;&lt;/P&gt;&lt;P&gt;TabA:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt; A1, A2, A3&lt;BR /&gt; V1, V2, V3&lt;BR /&gt; X1, X2, X3&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;AccessA:&lt;BR /&gt;LOAD&lt;BR /&gt; A1 as KA1,&lt;BR /&gt; A1&lt;BR /&gt;RESIDENT TabA;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;AccessA:&lt;BR /&gt;LOAD&lt;BR /&gt; 'XX' as KA1,&lt;BR /&gt; A1&lt;BR /&gt;RESIDENT TabA;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Sep 2010 08:51:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Section-Access-View-all-data/m-p/208081#M715462</guid>
      <dc:creator />
      <dc:date>2010-09-18T08:51:13Z</dc:date>
    </item>
    <item>
      <title>Section Access - View all data</title>
      <link>https://community.qlik.com/t5/QlikView/Section-Access-View-all-data/m-p/208082#M715463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Helo,&lt;/P&gt;&lt;P&gt;It seems that user SEINAXTI doesn't have a valid value for KA1 field, which seems to be the reduction field. Reduction field must have any existing value in the data model so the user can log in and see info. See the following example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;SECTION ACCESS; LOAD * INLINE [ ACCESS, USERID, PASSWORD, SALESREP USER, USER1, USER1, A USER, USER2, USER2, B ]; SECTION APPLICATION;// Now all your script...Clients:LOAD CODE,NAME,SALESREP,ADDRESSFROM FILE.QVD (QVD);... // Rest of the script&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;When is checked "Reduce data based on Section Access" and "Strict Exclusion" in your document properties, Settings menu, On Open tab, you have to make sure that there are records in table "Clients" for that SALESREP value is "B", otherwise USER2, although typing user and password right, will not have access to see info, actually, he cannot login to the document, as there are no possible values for his reduction field SALESREP.&lt;/P&gt;&lt;P&gt;I don't get why you are loading in your sample script "TabA" three times, but I hope this example i useful for what you are looking for.&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Sep 2010 11:15:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Section-Access-View-all-data/m-p/208082#M715463</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2010-09-18T11:15:09Z</dc:date>
    </item>
    <item>
      <title>Section Access - View all data</title>
      <link>https://community.qlik.com/t5/QlikView/Section-Access-View-all-data/m-p/208083#M715464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your answer, but it doesn't solve my problem. Let me give more info. The script is only a simplification of a much more complicated and therefore soome things seems unnessesary.&lt;/P&gt;&lt;P&gt;I have some users that only should have access to limitied information in this case SEINAXTI and some users that shall have access to all information SEINTHAN.&lt;/P&gt;&lt;P&gt;The security table in section access looks like this&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ACCESS NTNAME NTDOMAINSID KA1&lt;/STRONG&gt;&lt;BR /&gt;USER SEINAXTI xxxxxx V1&lt;BR /&gt;USER SEINTHAN xxxxxx XX&lt;/P&gt;&lt;P&gt;KA1 is the key to the access table in the section application:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;KA1 A1&lt;/STRONG&gt;&lt;BR /&gt;V1 V1&lt;BR /&gt;X1 X1&lt;BR /&gt;XX V1&lt;BR /&gt;XX X1&lt;/P&gt;&lt;P&gt;The data table contains&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;A1 A2 A3&lt;/STRONG&gt;&lt;BR /&gt;V1 V2 V3&lt;BR /&gt;X1 X2 X3&lt;/P&gt;&lt;P&gt;According to this SEINAXTI have access to KA1=V1 which should give access to A2=V2 and A3=V3. That is also how it works if you test without section access. But when adding section access the SEINAXTI user doesn't get access to the application.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Sep 2010 11:35:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Section-Access-View-all-data/m-p/208083#M715464</guid>
      <dc:creator />
      <dc:date>2010-09-18T11:35:10Z</dc:date>
    </item>
    <item>
      <title>Section Access - View all data</title>
      <link>https://community.qlik.com/t5/QlikView/Section-Access-View-all-data/m-p/208084#M715465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;What happens when, without section access you select V1 value for KA1 field? Are V2 and V3 selected?&lt;/P&gt;&lt;P&gt;You can set three lines for the same user, should you want this user to access to three different field values, which seems to me to be the case, one line for each V1, V2 and V3.&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Sep 2010 12:06:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Section-Access-View-all-data/m-p/208084#M715465</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2010-09-18T12:06:23Z</dc:date>
    </item>
    <item>
      <title>Section Access - View all data</title>
      <link>https://community.qlik.com/t5/QlikView/Section-Access-View-all-data/m-p/208085#M715466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For testing, try "initial selection" instead of "initial data reduction". It might show you what exactly is going on.&lt;BR /&gt;Another recommendation - try &lt;STRONG&gt;upper&lt;/STRONG&gt;(A1) as KA1. It may help even if the actual values are in upper case already.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Sep 2010 19:39:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Section-Access-View-all-data/m-p/208085#M715466</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-09-18T19:39:14Z</dc:date>
    </item>
  </channel>
</rss>

