<?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: how does section access work? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/how-does-section-access-work/m-p/272318#M707302</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I had a similar problem this week..... here's what I've found out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Section access works like a wild fire, print out your table diagram and set fire to one corner and you'll see what I mean. It starts from the table where the initial connection is and spread through all your tables where there is a connection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have a single fact table then you need a column to link to a new table to hold the combinations. If you are using more than one field it will need to be designed in a similar way to a link table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example: North, South and National&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2 people, one working in the North and One in the South the new table would look like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PersonID, Reduction&lt;/P&gt;&lt;P&gt;1,North&lt;/P&gt;&lt;P&gt;2,South&lt;/P&gt;&lt;P&gt;1,National&lt;/P&gt;&lt;P&gt;2,National&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So if you reduce on North, South or National the right people are left behind. Problem is by only linking on a standard field it won't link to all your rows and this is what you're experiencing. Now you could expand the example above like you would a link table to bring in all the different combinations of the various keys and your Reduction field would be more generic; Levels or Job Titles for example. Like a link table you'd end up with something quite big but narrow enough to not cause too many problems.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So as an example:&lt;/P&gt;&lt;P&gt;OneFactTable:&lt;/P&gt;&lt;P&gt;Reduction , SalesID, ProductID, SalesAmount, ProductDesc&lt;/P&gt;&lt;P&gt;1X , 1 ,X, 100 ,&lt;/P&gt;&lt;P&gt;2X , 2 ,X, 200 ,&lt;/P&gt;&lt;P&gt;XA , X, A , , ProductA&lt;/P&gt;&lt;P&gt;XB , X, B , , ProductB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ReductionTable:&lt;/P&gt;&lt;P&gt;Level, Reduction&lt;/P&gt;&lt;P&gt;1,1X &lt;/P&gt;&lt;P&gt;1,2X &lt;/P&gt;&lt;P&gt;1,XA&lt;/P&gt;&lt;P&gt;1,XB&lt;/P&gt;&lt;P&gt;2,1X &lt;/P&gt;&lt;P&gt;2,XA&lt;/P&gt;&lt;P&gt;2,XB&lt;/P&gt;&lt;P&gt;3,2X &lt;/P&gt;&lt;P&gt;3,XA&lt;/P&gt;&lt;P&gt;3,XB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So in this example Level 1 would have access to everything, Level 2 would have access to all products but only SalesID 1 and Level 3 would have access to all products but only SalesID 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem was a bit different but here it is........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have more than one fact table (like I have) then you have to put in links to stop the reduction. For example I reduce on location (like the example above) but as the reduction spreads through each table via the links it comes to a reference table (A) which has a hierarchy. Issue I had is that the parents didn't have links into the previous table (B) where reduction was spreading from and were removed. This caused an issue with a treeview selection box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I did was place lines of "Dummy" link data (only two fields) in the table (B) before the problem with reference to the affected Parent ID's (From table A) and also a Key I knew was already present in table B. This meant that as the reduction moved from table B to table A it found a link to the Parent ID's in table A and the data remained.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of course you have to be careful and really think about how your data model works&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Mar 2012 14:10:03 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-03-02T14:10:03Z</dc:date>
    <item>
      <title>how does section access work?</title>
      <link>https://community.qlik.com/t5/QlikView/how-does-section-access-work/m-p/272317#M707300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a document where I am doing data reduction based on section access and no strict exclusion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a mixed bag of users who have access to all data or manager level access of sales rep access.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The sales data reduces and shows perfectly for all users, however, I also have non-sales data that everyone should be able to see but for some reason it is getting filtered out of the app sicne it is in a table that is connected with invoice lines. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any thoughts on how I could stop this from happening?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Dec 2011 15:07:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-does-section-access-work/m-p/272317#M707300</guid>
      <dc:creator>avastani</dc:creator>
      <dc:date>2011-12-01T15:07:40Z</dc:date>
    </item>
    <item>
      <title>Re: how does section access work?</title>
      <link>https://community.qlik.com/t5/QlikView/how-does-section-access-work/m-p/272318#M707302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I had a similar problem this week..... here's what I've found out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Section access works like a wild fire, print out your table diagram and set fire to one corner and you'll see what I mean. It starts from the table where the initial connection is and spread through all your tables where there is a connection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have a single fact table then you need a column to link to a new table to hold the combinations. If you are using more than one field it will need to be designed in a similar way to a link table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example: North, South and National&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2 people, one working in the North and One in the South the new table would look like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PersonID, Reduction&lt;/P&gt;&lt;P&gt;1,North&lt;/P&gt;&lt;P&gt;2,South&lt;/P&gt;&lt;P&gt;1,National&lt;/P&gt;&lt;P&gt;2,National&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So if you reduce on North, South or National the right people are left behind. Problem is by only linking on a standard field it won't link to all your rows and this is what you're experiencing. Now you could expand the example above like you would a link table to bring in all the different combinations of the various keys and your Reduction field would be more generic; Levels or Job Titles for example. Like a link table you'd end up with something quite big but narrow enough to not cause too many problems.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So as an example:&lt;/P&gt;&lt;P&gt;OneFactTable:&lt;/P&gt;&lt;P&gt;Reduction , SalesID, ProductID, SalesAmount, ProductDesc&lt;/P&gt;&lt;P&gt;1X , 1 ,X, 100 ,&lt;/P&gt;&lt;P&gt;2X , 2 ,X, 200 ,&lt;/P&gt;&lt;P&gt;XA , X, A , , ProductA&lt;/P&gt;&lt;P&gt;XB , X, B , , ProductB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ReductionTable:&lt;/P&gt;&lt;P&gt;Level, Reduction&lt;/P&gt;&lt;P&gt;1,1X &lt;/P&gt;&lt;P&gt;1,2X &lt;/P&gt;&lt;P&gt;1,XA&lt;/P&gt;&lt;P&gt;1,XB&lt;/P&gt;&lt;P&gt;2,1X &lt;/P&gt;&lt;P&gt;2,XA&lt;/P&gt;&lt;P&gt;2,XB&lt;/P&gt;&lt;P&gt;3,2X &lt;/P&gt;&lt;P&gt;3,XA&lt;/P&gt;&lt;P&gt;3,XB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So in this example Level 1 would have access to everything, Level 2 would have access to all products but only SalesID 1 and Level 3 would have access to all products but only SalesID 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem was a bit different but here it is........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have more than one fact table (like I have) then you have to put in links to stop the reduction. For example I reduce on location (like the example above) but as the reduction spreads through each table via the links it comes to a reference table (A) which has a hierarchy. Issue I had is that the parents didn't have links into the previous table (B) where reduction was spreading from and were removed. This caused an issue with a treeview selection box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I did was place lines of "Dummy" link data (only two fields) in the table (B) before the problem with reference to the affected Parent ID's (From table A) and also a Key I knew was already present in table B. This meant that as the reduction moved from table B to table A it found a link to the Parent ID's in table A and the data remained.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of course you have to be careful and really think about how your data model works&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Mar 2012 14:10:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-does-section-access-work/m-p/272318#M707302</guid>
      <dc:creator />
      <dc:date>2012-03-02T14:10:03Z</dc:date>
    </item>
  </channel>
</rss>

