<?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 Data Restriction Problem in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Data-Restriction-Problem/m-p/153316#M30398</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I am trying to use section access / section application to limit users accessing an application &amp;amp; to apply a sales organization structure on the data so that people can only see data reporting to their teams below them in the structure. I have tried many variations of the following but I am struggling to get the * to be a wildcard.&lt;/P&gt;&lt;P&gt;My Section Access/Application looks something like the following. &lt;B&gt;&lt;/B&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;Binary&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;B&gt;&lt;/B&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"qvd generator.qvw";&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;Section Access;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Access;&lt;/P&gt;&lt;P&gt;&lt;B&gt;star&lt;/B&gt; &lt;B&gt;is&lt;/B&gt; *;&lt;B&gt;&lt;/B&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;LOAD&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;* &lt;B&gt;INLINE&lt;/B&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;[ACCESS, NTNAME,PROFILE&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;ADMIN,NT1,RH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;USER,NT2,OR&lt;/P&gt;&lt;P&gt;USER,NT3,EP]&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;Section&lt;/P&gt;&lt;P&gt;&lt;/P&gt;Application; &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;I&gt;&lt;/I&gt;&lt;P style="font-style: italic"&gt;Application:&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;load&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;* &lt;B&gt;inline&lt;/B&gt;&lt;/P&gt;&lt;P&gt;[PROFILE,ACCESSLEVEL1","ACCESSLEVEL2","ACCESSLEVEL3"&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RH,"Topseller",*,*&lt;/P&gt;&lt;P&gt;OR,*,"Midseller",*&lt;/P&gt;&lt;P&gt;EP,*,*,"Lowseller"];&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;my data section then contains something like&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;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P style="font-style: italic"&gt;&lt;/P&gt;&lt;P style="font-style: italic"&gt;data:&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;unqualify&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;*;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;LOAD&lt;/P&gt;* &lt;B&gt;INLINE&lt;/B&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;[&lt;/P&gt;&lt;P&gt;"Sales Manager",ACCESSLEVEL1,ACCESSLEVEL2,ACCESSLEVEL3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"Direct","Topseller","NONE","NONE"&lt;/P&gt;&lt;P&gt;"InDirect","Topseller","Middleseller","NONE"&lt;/P&gt;&lt;P&gt;"Other","Topseller","Middleseller","Lowseller"]&lt;/P&gt;&lt;P&gt;What I am trying to achieve is that when NT1 logs in they see everything where accesslevel1 is Topseller - e.g. in this example everything. NT2 can only everything in their part of the organization e.g. Indirect &amp;amp; Other. NT3 can only see "Other"&lt;/P&gt;&lt;P&gt;Any help much appreciated[;)]&lt;/P&gt;&lt;P&gt;&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>Mon, 16 Nov 2009 22:27:57 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-11-16T22:27:57Z</dc:date>
    <item>
      <title>Data Restriction Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Restriction-Problem/m-p/153316#M30398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I am trying to use section access / section application to limit users accessing an application &amp;amp; to apply a sales organization structure on the data so that people can only see data reporting to their teams below them in the structure. I have tried many variations of the following but I am struggling to get the * to be a wildcard.&lt;/P&gt;&lt;P&gt;My Section Access/Application looks something like the following. &lt;B&gt;&lt;/B&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;Binary&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;B&gt;&lt;/B&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"qvd generator.qvw";&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;Section Access;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Access;&lt;/P&gt;&lt;P&gt;&lt;B&gt;star&lt;/B&gt; &lt;B&gt;is&lt;/B&gt; *;&lt;B&gt;&lt;/B&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;LOAD&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;* &lt;B&gt;INLINE&lt;/B&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;[ACCESS, NTNAME,PROFILE&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;ADMIN,NT1,RH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;USER,NT2,OR&lt;/P&gt;&lt;P&gt;USER,NT3,EP]&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;Section&lt;/P&gt;&lt;P&gt;&lt;/P&gt;Application; &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;I&gt;&lt;/I&gt;&lt;P style="font-style: italic"&gt;Application:&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;load&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;* &lt;B&gt;inline&lt;/B&gt;&lt;/P&gt;&lt;P&gt;[PROFILE,ACCESSLEVEL1","ACCESSLEVEL2","ACCESSLEVEL3"&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RH,"Topseller",*,*&lt;/P&gt;&lt;P&gt;OR,*,"Midseller",*&lt;/P&gt;&lt;P&gt;EP,*,*,"Lowseller"];&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;my data section then contains something like&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;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P style="font-style: italic"&gt;&lt;/P&gt;&lt;P style="font-style: italic"&gt;data:&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;unqualify&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;*;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;LOAD&lt;/P&gt;* &lt;B&gt;INLINE&lt;/B&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;[&lt;/P&gt;&lt;P&gt;"Sales Manager",ACCESSLEVEL1,ACCESSLEVEL2,ACCESSLEVEL3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"Direct","Topseller","NONE","NONE"&lt;/P&gt;&lt;P&gt;"InDirect","Topseller","Middleseller","NONE"&lt;/P&gt;&lt;P&gt;"Other","Topseller","Middleseller","Lowseller"]&lt;/P&gt;&lt;P&gt;What I am trying to achieve is that when NT1 logs in they see everything where accesslevel1 is Topseller - e.g. in this example everything. NT2 can only everything in their part of the organization e.g. Indirect &amp;amp; Other. NT3 can only see "Other"&lt;/P&gt;&lt;P&gt;Any help much appreciated[;)]&lt;/P&gt;&lt;P&gt;&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>Mon, 16 Nov 2009 22:27:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Restriction-Problem/m-p/153316#M30398</guid>
      <dc:creator />
      <dc:date>2009-11-16T22:27:57Z</dc:date>
    </item>
    <item>
      <title>Data Restriction Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Restriction-Problem/m-p/153317#M30399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not sure about this but you could try removing the binary load, see if that works.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Nov 2009 14:26:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Restriction-Problem/m-p/153317#M30399</guid>
      <dc:creator />
      <dc:date>2009-11-17T14:26:00Z</dc:date>
    </item>
    <item>
      <title>Data Restriction Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Restriction-Problem/m-p/153318#M30400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think the * wil work as you want in your table.&lt;/P&gt;&lt;P&gt;The start should work in the section access table not in your application table.&lt;/P&gt;&lt;P&gt;You should run a LEFT JOIN on your first application data table in order to add all possible values which are setup with a star. Something like that...&lt;/P&gt;&lt;P&gt;LEFT JOIN (TABLE)&lt;/P&gt;&lt;P&gt;LOAD PROFILE, '*' as PROFILE_NAME resident table2;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Sébastien&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Nov 2009 17:29:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Restriction-Problem/m-p/153318#M30400</guid>
      <dc:creator />
      <dc:date>2009-11-17T17:29:31Z</dc:date>
    </item>
    <item>
      <title>Data Restriction Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Restriction-Problem/m-p/153319#M30401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for the suggestions. I think I need to build in some knd of conversion of * as suggested by spastor. However in the end I have decided to change the report structure &amp;amp; not use *.&lt;/P&gt;&lt;P&gt;my section access is the same. My application secion now just says "Profile" EP, OR, etc. I have changed the data section into an extended hierarchy table where EP &amp;amp; OR etc have many entries to pick up all of their teams.&lt;/P&gt;&lt;P&gt;This solution works for me because there are only 10 managers - if there were more It would be difficult.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Nov 2009 17:24:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Restriction-Problem/m-p/153319#M30401</guid>
      <dc:creator />
      <dc:date>2009-11-18T17:24:05Z</dc:date>
    </item>
  </channel>
</rss>

