<?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 script joining several QVDs. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Section-access-script-joining-several-QVDs/m-p/939266#M1255436</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tried it. Did not help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Oct 2015 15:56:48 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-10-08T15:56:48Z</dc:date>
    <item>
      <title>Section access script joining several QVDs.</title>
      <link>https://community.qlik.com/t5/QlikView/Section-access-script-joining-several-QVDs/m-p/939260#M1255420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The first script fails on the first Load says SamAccountName is not found.&lt;/P&gt;&lt;P&gt;If I load the AD_ROLE QVD before section acces like in script 2 it succeeds and security works.&amp;nbsp; I am not able to understand why.&lt;/P&gt;&lt;P&gt;Is there a logical explanation for this&lt;/P&gt;&lt;P&gt;?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Script 1&amp;gt; Failing Script&lt;/STRONG&gt;&lt;BR /&gt;Section Access;&lt;/P&gt;&lt;P&gt;AD_ROLE:&lt;/P&gt;&lt;P&gt;LOAD&amp;nbsp;&amp;nbsp; DISTINCT 'WT001\' &amp;amp; UPPER(SamAccountName) AS NTNAME, &lt;/P&gt;&lt;P&gt;UPPER(CountryC) AS AD_COUNTRY_ID&lt;/P&gt;&lt;P&gt;FROM Employee_Information.QVD (qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INNER JOIN(AD_ROLE)&lt;/P&gt;&lt;P&gt;LOAD UPPER(AD_COUNTRY_ID) AS AD_COUNTRY_ID,&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;UPPER(SECURITY_ROLE) AS SECROLE&lt;/P&gt;&lt;P&gt;FROM COUNTRY_ROLE_MAPPING.QVD (qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SECURITYUSER:&lt;/P&gt;&lt;P&gt;LOAD DISTINCT 'USER' AS ACCESS,&lt;/P&gt;&lt;P&gt;&amp;nbsp; 'WT001\' &amp;amp; UPPER(NT_USER_NAME) AS NTNAME,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'POWER' AS SECROLE&lt;/P&gt;&lt;P&gt;FROM POWERUSER.QVD (qvd)&amp;nbsp; ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concatenate(SECURITYUSER)&lt;/P&gt;&lt;P&gt;LOAD 'USER' AS ACCESS,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NTNAME,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SECROLE RESIDENT AD_ROLE;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INNER JOIN(SECURITYUSER) LOAD CMPNY_CODE_ID AS&amp;nbsp; %CMPNY_CODE_ID , &lt;/P&gt;&lt;P&gt;&amp;nbsp; UPPER(SECURITY_ROLE) AS&lt;/P&gt;&lt;P&gt;FROM COMPANY_CODE_ROLE_MAPPING.QVD (qvd);&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;&lt;STRONG&gt;Script 2&amp;gt;The script that works by just moving some code out of section access.:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;AD_ROLE:&lt;/P&gt;&lt;P&gt; LOAD&amp;nbsp;&amp;nbsp; DISTINCT 'WT001\' &amp;amp; UPPER(SamAccountName) AS NTNAME, &lt;/P&gt;&lt;P&gt;UPPER(CountryC) AS AD_COUNTRY_ID&lt;/P&gt;&lt;P&gt;FROM Employee_Information.QVD (qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INNER JOIN(AD_ROLE)&lt;/P&gt;&lt;P&gt;LOAD UPPER(AD_COUNTRY_ID) AS AD_COUNTRY_ID,&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;UPPER(SECURITY_ROLE) AS SECROLE&lt;/P&gt;&lt;P&gt;FROM COUNTRY_ROLE_MAPPING.QVD (qvd);&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Section Access;&lt;/P&gt;&lt;P&gt;SECURITYUSER:&lt;/P&gt;&lt;P&gt;LOAD DISTINCT 'USER' AS ACCESS,&lt;/P&gt;&lt;P&gt;&amp;nbsp; 'WT001\' &amp;amp; UPPER(NT_USER_NAME) AS NTNAME,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'POWER' AS SECROLE&lt;/P&gt;&lt;P&gt;FROM POWERUSER.QVD (qvd)&amp;nbsp; ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concatenate(SECURITYUSER)&lt;/P&gt;&lt;P&gt;LOAD 'USER' AS ACCESS,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NTNAME,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SECROLE&lt;/P&gt;&lt;P&gt;RESIDENT AD_ROLE;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INNER JOIN(SECURITYUSER)&lt;/P&gt;&lt;P&gt;LOAD CMPNY_CODE_ID AS&amp;nbsp; %CMPNY_CODE_ID , &lt;/P&gt;&lt;P&gt;&amp;nbsp; UPPER(SECURITY_ROLE) AS&lt;/P&gt;&lt;P&gt;FROM COMPANY_CODE_ROLE_MAPPING.QVD (qvd);&lt;/P&gt;&lt;P&gt;Section Application;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Section-access-script-joining-several-QVDs/m-p/939260#M1255420</guid>
      <dc:creator />
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: Section access script joining several QVDs.</title>
      <link>https://community.qlik.com/t5/QlikView/Section-access-script-joining-several-QVDs/m-p/939261#M1255424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi shilpa,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;s&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;ection access is for giving access and reducing data on user profile.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;its not for creating data model(like extracting data from QVDs.)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2015 14:48:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Section-access-script-joining-several-QVDs/m-p/939261#M1255424</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-08T14:48:38Z</dc:date>
    </item>
    <item>
      <title>Re: Section access script joining several QVDs.</title>
      <link>https://community.qlik.com/t5/QlikView/Section-access-script-joining-several-QVDs/m-p/939262#M1255426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you explain in detail how you implemented security?&lt;/P&gt;&lt;P&gt;In general we implement on the qvw files.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2015 14:57:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Section-access-script-joining-several-QVDs/m-p/939262#M1255426</guid>
      <dc:creator>qlikviewwizard</dc:creator>
      <dc:date>2015-10-08T14:57:17Z</dc:date>
    </item>
    <item>
      <title>Re: Section access script joining several QVDs.</title>
      <link>https://community.qlik.com/t5/QlikView/Section-access-script-joining-several-QVDs/m-p/939263#M1255428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe is trying to do an optimized reload, wich can fail in section access, try adding "Where 1=1":&lt;/P&gt;&lt;P&gt;Section Access;&lt;/P&gt;&lt;P&gt;AD_ROLE:&lt;/P&gt;&lt;P&gt;LOAD&amp;nbsp;&amp;nbsp; DISTINCT 'WT001\' &amp;amp; UPPER(SamAccountName) AS NTNAME, &lt;/P&gt;&lt;P&gt;UPPER(CountryC) AS AD_COUNTRY_ID&lt;/P&gt;&lt;P&gt;FROM Employee_Information.QVD (qvd) &lt;STRONG&gt;Where 1=1&lt;/STRONG&gt;;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2015 15:15:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Section-access-script-joining-several-QVDs/m-p/939263#M1255428</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2015-10-08T15:15:49Z</dc:date>
    </item>
    <item>
      <title>Re: Section access script joining several QVDs.</title>
      <link>https://community.qlik.com/t5/QlikView/Section-access-script-joining-several-QVDs/m-p/939264#M1255431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes I agree. I am just trying to built the User list by joining different QVDs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2015 15:29:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Section-access-script-joining-several-QVDs/m-p/939264#M1255431</guid>
      <dc:creator />
      <dc:date>2015-10-08T15:29:19Z</dc:date>
    </item>
    <item>
      <title>Re: Section access script joining several QVDs.</title>
      <link>https://community.qlik.com/t5/QlikView/Section-access-script-joining-several-QVDs/m-p/939265#M1255434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes this code is in qvw file.&lt;/P&gt;&lt;P&gt;The code is just creating the User list with NTName and what Company Code they have access to.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2015 15:31:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Section-access-script-joining-several-QVDs/m-p/939265#M1255434</guid>
      <dc:creator />
      <dc:date>2015-10-08T15:31:29Z</dc:date>
    </item>
    <item>
      <title>Re: Section access script joining several QVDs.</title>
      <link>https://community.qlik.com/t5/QlikView/Section-access-script-joining-several-QVDs/m-p/939266#M1255436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tried it. Did not help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2015 15:56:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Section-access-script-joining-several-QVDs/m-p/939266#M1255436</guid>
      <dc:creator />
      <dc:date>2015-10-08T15:56:48Z</dc:date>
    </item>
  </channel>
</rss>

