<?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: date reduction on more than one field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/section-access-date-reduction-on-more-than-one-field/m-p/358480#M133047</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bharat - your question seems to be unrelated to this thread.&amp;nbsp; Can you post it in a separate question?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Arif,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This certainly was a bit of a challenge but I think I've cracked it.&amp;nbsp; If you don't know what a Cartesian Product is then Google it before looking at my solution! I've added comments in the script so hopefully you can follow my logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jason&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Apr 2012 10:37:39 GMT</pubDate>
    <dc:creator>Jason_Michaelides</dc:creator>
    <dc:date>2012-04-19T10:37:39Z</dc:date>
    <item>
      <title>section access: date reduction on more than one field</title>
      <link>https://community.qlik.com/t5/QlikView/section-access-date-reduction-on-more-than-one-field/m-p/358477#M133044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am new to section access. I have the following code in section access&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Section Access;&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;ACCESS,NTNAME&lt;/P&gt;&lt;P&gt;Admin, domain\Consultants&lt;/P&gt;&lt;P&gt;User, domain\Team Leaders&lt;/P&gt;&lt;P&gt;User, domain\Regional Managers&lt;/P&gt;&lt;P&gt;User, domain\Senior Managers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;];&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;Instead of user names, I want to check if the user belongs to the specific NT Role&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I want to implement a section access which behaves like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I have three columns&lt;/P&gt;&lt;P&gt;Region, Office and Desk&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One Region can have many Offices and One Office can have many desks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Consultants – Need to be able to access this report but only be able to view&lt;/P&gt;&lt;P&gt;information for their desk&lt;/P&gt;&lt;P&gt;Team Leaders &amp;amp; Branch Managers – Need to be able to access this report for&lt;/P&gt;&lt;P&gt;their office&lt;/P&gt;&lt;P&gt;Regional Managers – Need to be able to view this report for any branches&lt;/P&gt;&lt;P&gt;placed within their region&lt;/P&gt;&lt;P&gt;Senior Managers – Need to be able to access this report for the entire company&lt;/P&gt;&lt;P&gt;and for any office or desk&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, There some sheets(tabs) that I want to hide for Consutlants.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do know the basic section access and data reduction based on one field, but I need a little help in this scenario as I am not able to do this. Can someone please help. This is my first time implementing section access&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Arif&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Apr 2012 18:57:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/section-access-date-reduction-on-more-than-one-field/m-p/358477#M133044</guid>
      <dc:creator />
      <dc:date>2012-04-18T18:57:19Z</dc:date>
    </item>
    <item>
      <title>section access: date reduction on more than one field</title>
      <link>https://community.qlik.com/t5/QlikView/section-access-date-reduction-on-more-than-one-field/m-p/358478#M133045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you have a mismatch between your Section Access level of grnaularity and your restriction requirements.&amp;nbsp; You want (e.g.) consultants to only be able to see their own desk, but you are not loading individual consultants in the Section Access code, just the group name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to load every consultant's name in the Section Access script and then relate this to the desk numbers in the main script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jason&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Apr 2012 23:17:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/section-access-date-reduction-on-more-than-one-field/m-p/358478#M133045</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2012-04-18T23:17:56Z</dc:date>
    </item>
    <item>
      <title>section access: date reduction on more than one field</title>
      <link>https://community.qlik.com/t5/QlikView/section-access-date-reduction-on-more-than-one-field/m-p/358479#M133046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jason,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply. Yes, That is one correction that I need to make. However, the problem that I am stuck in here is how to use three fields in data reduction. The reduction should be so that Senior managers see all regions, offices and desks, regional managers see all the offices in their own region and so on. For example, in the below scenrio, How Can I put the values of Region, Office and Desk so that Senior manager1 see everything, Regional Manager see All Offices and desks in his own region, Team lead see all desks in his own office and consultants only see their own desks data. I know one way is to list all possible combinations, but I dont want it to be hard coded. I want some dynamic way to do this job. For example, Regional manager1 is restricted to his own region (lets say region1), but If more offices are added to his region, then it should show it to him dynamically. However, Teamlead1 should not be able to see that region, since he is restricted to his own office. But since the added offices are inside the region of regional manager1, he should automatically be able to see it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Section Access;&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;ACCESS,NTNAME,Region,Office,Desk&lt;/P&gt;&lt;P&gt;Admin, domain\Consultant1&lt;/P&gt;&lt;P&gt;User, domain\Team Leader1&lt;/P&gt;&lt;P&gt;User, domain\Regional Manager1&lt;/P&gt;&lt;P&gt;User, domain\Senior Manager1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Apr 2012 23:35:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/section-access-date-reduction-on-more-than-one-field/m-p/358479#M133046</guid>
      <dc:creator />
      <dc:date>2012-04-18T23:35:10Z</dc:date>
    </item>
    <item>
      <title>Re: section access: date reduction on more than one field</title>
      <link>https://community.qlik.com/t5/QlikView/section-access-date-reduction-on-more-than-one-field/m-p/358480#M133047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bharat - your question seems to be unrelated to this thread.&amp;nbsp; Can you post it in a separate question?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Arif,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This certainly was a bit of a challenge but I think I've cracked it.&amp;nbsp; If you don't know what a Cartesian Product is then Google it before looking at my solution! I've added comments in the script so hopefully you can follow my logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jason&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Apr 2012 10:37:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/section-access-date-reduction-on-more-than-one-field/m-p/358480#M133047</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2012-04-19T10:37:39Z</dc:date>
    </item>
    <item>
      <title>section access: date reduction on more than one field</title>
      <link>https://community.qlik.com/t5/QlikView/section-access-date-reduction-on-more-than-one-field/m-p/358481#M133048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jason,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is very close to what I need&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Br&lt;/P&gt;&lt;P&gt;Arif&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Apr 2012 20:27:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/section-access-date-reduction-on-more-than-one-field/m-p/358481#M133048</guid>
      <dc:creator />
      <dc:date>2012-04-19T20:27:55Z</dc:date>
    </item>
  </channel>
</rss>

