<?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 to omit fields based on management structure in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Section-Access-to-omit-fields-based-on-management-structure/m-p/47100#M3218</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for sharing the link Marcus.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've had a look and seems to match in principal what I need - but otherwise I think I'll need to re-evaluate the application design.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Edit: &lt;/STRONG&gt;Using the link I managed to achieve exactly what I needed. Thanks for sharing!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Mar 2018 17:12:46 GMT</pubDate>
    <dc:creator>LReeve</dc:creator>
    <dc:date>2018-03-21T17:12:46Z</dc:date>
    <item>
      <title>Section Access to omit fields based on management structure</title>
      <link>https://community.qlik.com/t5/App-Development/Section-Access-to-omit-fields-based-on-management-structure/m-p/47095#M3213</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;Am struggling to get my head round a Section Access problem I have.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want the app to show every field for everyone except from 2 fields (FieldA and FieldB). What I want to achieve is if USERA does not manage USERB then Omit both fields. That way the user can only see those comments for someone who is directly in their team. I have a document which says USERAID managers USERBID but I have no idea how to get this in Qlik?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I currently have a basic Section Access configured which excludes those fields from certain IDs but it does not cover the example above.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would appreciate any help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2018 08:35:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Section-Access-to-omit-fields-based-on-management-structure/m-p/47095#M3213</guid>
      <dc:creator>LReeve</dc:creator>
      <dc:date>2018-03-19T08:35:35Z</dc:date>
    </item>
    <item>
      <title>Re: Section Access to omit fields based on management structure</title>
      <link>https://community.qlik.com/t5/App-Development/Section-Access-to-omit-fields-based-on-management-structure/m-p/47096#M3214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;On reflection I'm aware a little bit more info is needed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An example table structure would be:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="256"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" width="64"&gt;Leader&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="64"&gt;Staff&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="64"&gt;FTE&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="64"&gt;Salary&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;"&gt;USERA&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;USER1&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;15000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;"&gt;USERA&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;USER2&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;18000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;"&gt;USERA&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;USER3&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;0.5&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;12000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;"&gt;USERB&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;USER4&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;26000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;"&gt;USERB&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;USER5&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;0.8&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;23000&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both USERA and USERB need to see all FTE information but should only be able to see the Salary info where they are listed as the Leader. Their Qlik login matches the Leader field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2018 08:06:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Section-Access-to-omit-fields-based-on-management-structure/m-p/47096#M3214</guid>
      <dc:creator>LReeve</dc:creator>
      <dc:date>2018-03-20T08:06:06Z</dc:date>
    </item>
    <item>
      <title>Re: Section Access to omit fields based on management structure</title>
      <link>https://community.qlik.com/t5/App-Development/Section-Access-to-omit-fields-based-on-management-structure/m-p/47097#M3215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To get this you will need 2 salary fields like SaleryA and SaleryB and then you could with OMIT control their visiblity to the users.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2018 12:18:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Section-Access-to-omit-fields-based-on-management-structure/m-p/47097#M3215</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2018-03-21T12:18:11Z</dc:date>
    </item>
    <item>
      <title>Re: Section Access to omit fields based on management structure</title>
      <link>https://community.qlik.com/t5/App-Development/Section-Access-to-omit-fields-based-on-management-structure/m-p/47098#M3216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have around 50 Leaders to apply this to so creating it using this method does not seem feasible - unless there is a way to loop through and create and populate the column for every leader?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2018 15:39:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Section-Access-to-omit-fields-based-on-management-structure/m-p/47098#M3216</guid>
      <dc:creator>LReeve</dc:creator>
      <dc:date>2018-03-21T15:39:59Z</dc:date>
    </item>
    <item>
      <title>Re: Section Access to omit fields based on management structure</title>
      <link>https://community.qlik.com/t5/App-Development/Section-Access-to-omit-fields-based-on-management-structure/m-p/47099#M3217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem is that you want to display all data from some fields and at the same time reducing the records from other fields and this is conflicting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some years ago we had had a similar case and we developed a very complex solution with huge loops to create the section access tables, which was also loaded twice and needed some variables and triggers and also the requirement that a user couldn't change objects or create own ones - it worked but it was a maintenance nightmare ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Therefore we replaced it after some time with two specialized applications which both fulfill their requirements much better as our first matching of too different applications. This might be the easiest way ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this is not possible or preferable you should give this a try: &lt;A href="https://community.qlik.com/docs/DOC-18235"&gt;Mask or de-identify data for certain users using Section Access&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2018 16:54:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Section-Access-to-omit-fields-based-on-management-structure/m-p/47099#M3217</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2018-03-21T16:54:16Z</dc:date>
    </item>
    <item>
      <title>Re: Section Access to omit fields based on management structure</title>
      <link>https://community.qlik.com/t5/App-Development/Section-Access-to-omit-fields-based-on-management-structure/m-p/47100#M3218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for sharing the link Marcus.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've had a look and seems to match in principal what I need - but otherwise I think I'll need to re-evaluate the application design.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Edit: &lt;/STRONG&gt;Using the link I managed to achieve exactly what I needed. Thanks for sharing!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2018 17:12:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Section-Access-to-omit-fields-based-on-management-structure/m-p/47100#M3218</guid>
      <dc:creator>LReeve</dc:creator>
      <dc:date>2018-03-21T17:12:46Z</dc:date>
    </item>
    <item>
      <title>Re: Section Access to omit fields based on management structure</title>
      <link>https://community.qlik.com/t5/App-Development/Section-Access-to-omit-fields-based-on-management-structure/m-p/47101#M3219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think I have a solution for you, where you declare a field in Section Access, then use that field in Section Application to limit access.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The setup might be something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #008000;"&gt;Section Access;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000;"&gt;&lt;STRONG&gt;tblAccess:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000;"&gt;&lt;STRONG&gt;Load ACCESS, USERID, UPPER(USERID) as LEADER, OMIT&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000;"&gt;&lt;STRONG&gt;From [your user list];&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000;"&gt;&lt;STRONG&gt;Section Application;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000;"&gt;&lt;STRONG&gt;tblReduction:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000;"&gt;&lt;STRONG&gt;LOAD LEADER, STAFF_ANYONE, &lt;SPAN style="font-size: 13.3333px;"&gt;STAFF_LEADERONLY;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000;"&gt;&lt;STRONG&gt;SQL SELECT u.USERID &lt;SPAN style="font-size: 13.3333px;"&gt;AS LEADER&lt;/SPAN&gt;, d.Staff as STAFF_ANYONE, case when u.USERID = d.Leader then d.Staff else NULL END as STAFF_LEADERONLY&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000;"&gt;&lt;STRONG&gt;from [your user list] u&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000;"&gt;&lt;STRONG&gt;cross join (select distinct Leader, Staff from [your leader-staff table]) d;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000;"&gt;&lt;STRONG&gt;tblSalaryData:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000;"&gt;&lt;STRONG&gt;Load Staff as STAFF_LEADERONLY, Salary&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000;"&gt;&lt;STRONG&gt;From [your salary data];&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000;"&gt;&lt;STRONG&gt;tblFTEdata:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000;"&gt;&lt;STRONG&gt;Load Staff as STAFF_ANYONE, FTE&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #008000;"&gt;From [your salary data];&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The result of all this is that each LEADER can see anyone's FTE data, but only his/her employees' Salary data. It's all in the way the tables link together, starting with the LEADER field in the hidden table in section access. That links to LEADER in tblReduction, and then the two STAFF fields link from there to the two data tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My underlying data reside in SQL Server, so I use CROSS JOIN to get the cartesian product of the two tables (so that every Leader can see every employee's FTE data). In Qlik, you can achieve the same with OUTER JOIN. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2018 18:55:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Section-Access-to-omit-fields-based-on-management-structure/m-p/47101#M3219</guid>
      <dc:creator>Lauri</dc:creator>
      <dc:date>2018-03-21T18:55:44Z</dc:date>
    </item>
    <item>
      <title>Re: Section Access to omit fields based on management structure</title>
      <link>https://community.qlik.com/t5/App-Development/Section-Access-to-omit-fields-based-on-management-structure/m-p/47102#M3220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I understand your suggestion right does it mean to develop two independent datamodels within the application because you will for example need different fields for the EmployeeID and also to link these data to further dimension-tables like a calendar. If you connect them in any way you will apply the section access data-reduction again and/or creating some synthetic key or circular loops.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In some cases two datamodels might be a practically way but for many scenarios it will be rather not suitable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2018 06:35:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Section-Access-to-omit-fields-based-on-management-structure/m-p/47102#M3220</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2018-03-22T06:35:06Z</dc:date>
    </item>
    <item>
      <title>Re: Section Access to omit fields based on management structure</title>
      <link>https://community.qlik.com/t5/App-Development/Section-Access-to-omit-fields-based-on-management-structure/m-p/47103#M3221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't know if this counts as one or two data models... but I haven't had any circular loops with this setup. You are correct, there are two fields for the Employee -- the one that links every employee to every leader, and the one that links only team members to the leader. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2018 12:03:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Section-Access-to-omit-fields-based-on-management-structure/m-p/47103#M3221</guid>
      <dc:creator>Lauri</dc:creator>
      <dc:date>2018-03-22T12:03:40Z</dc:date>
    </item>
    <item>
      <title>Re: Section Access to omit fields based on management structure</title>
      <link>https://community.qlik.com/t5/App-Development/Section-Access-to-omit-fields-based-on-management-structure/m-p/47104#M3222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Lauri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will look at this in my next app.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2018 16:07:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Section-Access-to-omit-fields-based-on-management-structure/m-p/47104#M3222</guid>
      <dc:creator>LReeve</dc:creator>
      <dc:date>2018-03-22T16:07:27Z</dc:date>
    </item>
  </channel>
</rss>

