<?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 in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/section-access/m-p/747123#M1044424</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok!!!&lt;/P&gt;&lt;P&gt;tnx now i understood&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tnx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 Dec 2014 11:14:35 GMT</pubDate>
    <dc:creator>adiarnon</dc:creator>
    <dc:date>2014-12-01T11:14:35Z</dc:date>
    <item>
      <title>section access</title>
      <link>https://community.qlik.com/t5/QlikView/section-access/m-p/747119#M1044420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want to manage my authorization by two fields.&lt;/P&gt;&lt;P&gt;i will try to explain-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have the field &lt;STRONG&gt;'initiator' &lt;/STRONG&gt;and i have the field &lt;STRONG&gt;'key user'.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;i want that a user will see all the calls that he is the initiator of the call&lt;/P&gt;&lt;P&gt;and he should also see the calls that he is tha key user of them. (if he is the key user he is not the initiator and the opposite)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how should i do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;because i think that my way he will see anly calls the he is the initiator and &lt;STRONG&gt;also&lt;/STRONG&gt; the key user...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;adi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Dec 2014 07:41:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/section-access/m-p/747119#M1044420</guid>
      <dc:creator>adiarnon</dc:creator>
      <dc:date>2014-12-01T07:41:03Z</dc:date>
    </item>
    <item>
      <title>Re: section access</title>
      <link>https://community.qlik.com/t5/QlikView/section-access/m-p/747120#M1044421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Add a new field to your datamodel. Throw the two fields Initiator &amp;amp; key user together as a new key field (by concatenating initiator &amp;amp; '-' &amp;amp; [key user] for example).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now create a link table that has a field with the username and all possible key combinations from your new key field. Link the SA table in &lt;SPAN style="font-family: 'courier new', courier;"&gt;Section Access;&lt;/SPAN&gt; with the link table in&lt;SPAN style="font-family: 'courier new', courier;"&gt; Section Application;&lt;/SPAN&gt; through the username field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Imagine the following SA table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Section Access;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LOAD * INLINE [&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;ACCESS, NTNAME, USERNAME&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;USER, ACCOUNTA, USERA&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;USER, ACCOUNTB, USERB&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;USER, ACCOUNTC, USERC&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and the following Call details table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Section Application;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;CallDetails:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LOAD *, Initiator &amp;amp; '-' &amp;amp; KeyUser AS IKU_Key INLINE [&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;CallID, Initiator, KeyUser&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;1, USERA, USERB&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;2, USERB, USERC&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;3, USERC, USERA&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;4, USERA, USERC&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;5, USERB, USERA&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;6, USERC, USERB&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Section Application; the Link table is created like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LinkTable:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LOAD DISTINCT Initiator AS USERNAME, IKU_Key&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;RESIDENT CallDetails;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;CONCATENATE (LinkTable)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LOAD DISTINCT KeyUser AS USERNAME, IKU_Key&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;RESIDENT CallDetails;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Dec 2014 09:42:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/section-access/m-p/747120#M1044421</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2014-12-01T09:42:53Z</dc:date>
    </item>
    <item>
      <title>Re: section access</title>
      <link>https://community.qlik.com/t5/QlikView/section-access/m-p/747121#M1044422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi peter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;first tnx. &lt;span class="lia-unicode-emoji" title=":grinning_face_with_big_eyes:"&gt;😃&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but i have alot of key users and alot of initiators&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so the step of the load inline for the calldetails is not realy possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there any othet way?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do you know somthing about &amp;lt;ANY&amp;gt;?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tnx again,&lt;/P&gt;&lt;P&gt;adi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Dec 2014 10:03:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/section-access/m-p/747121#M1044422</guid>
      <dc:creator>adiarnon</dc:creator>
      <dc:date>2014-12-01T10:03:44Z</dc:date>
    </item>
    <item>
      <title>Re: section access</title>
      <link>https://community.qlik.com/t5/QlikView/section-access/m-p/747122#M1044423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The LOAD * INLINE is only present as an example. If you do not post your document in this forum, I can only guess what your data model and fields look like. I'll try to shorten the steps, but it's still a guess:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Add a column to your CallDetails table that concatenates the initiator and key user fields. Use code like &lt;SPAN style="color: #3d3d3d; font-family: 'courier new', courier;"&gt;Initiator &amp;amp; '-' &amp;amp; KeyUser AS IKU_Key&lt;/SPAN&gt; to be able to use the rest of the explanation&lt;/LI&gt;&lt;LI&gt;Make sure you have a link field in your Section Access table. I called mine USERNAME, but you can call it whetever you like. Make sure that there is something in it that can be linked to the values of initiator and/or key user.&lt;/LI&gt;&lt;LI&gt;Copy the two link table LOAD statements in your script. Change the USERNAME field into the same name as the link field in your SA table.&lt;/LI&gt;&lt;LI&gt;Reload.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make sure that you change the names of all fields in the example code into whatever you are currently using in your script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Dec 2014 10:16:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/section-access/m-p/747122#M1044423</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2014-12-01T10:16:59Z</dc:date>
    </item>
    <item>
      <title>Re: section access</title>
      <link>https://community.qlik.com/t5/QlikView/section-access/m-p/747123#M1044424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok!!!&lt;/P&gt;&lt;P&gt;tnx now i understood&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tnx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Dec 2014 11:14:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/section-access/m-p/747123#M1044424</guid>
      <dc:creator>adiarnon</dc:creator>
      <dc:date>2014-12-01T11:14:35Z</dc:date>
    </item>
  </channel>
</rss>

