<?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 Need to limit rows in Dimension table through section access but running into circular loops in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Need-to-limit-rows-in-Dimension-table-through-section-access-but/m-p/66030#M606089</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;We are trying to implement section access in our existing apps to open up the dashboard to our customers. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See attached qvw for sample data model we are having. The username/password is a/123.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As seen in the data model, we have bridge table which contains two keys CA_ID and CO_ID. In the example, we are trying to limit the countries through section access. Reduction field is CO_ID, which connects to country table and CA_ID which connects Fact table. &lt;/P&gt;&lt;P&gt;The solution works well and rows in Dim1 are also reduced to three rows for country login a (USA ) to values 1,9,10 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now comes the twist, we only discovered later on that there is another relationship between country and dim1 i.e. commented out table dim1_bridge. For USA there are only be 2 possible values for Dim1 i.e. Phone &amp;amp; Laptop (DK1, 1 &amp;amp; 9). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i include the commented table (&lt;SPAN style="font-size: 13.3333px;"&gt;dim1_bridge&lt;/SPAN&gt;), then I run into circular loop. &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Can anybody suggest a data modelling solution for above problem, I need to reduce the Dim 1 table, according to &lt;SPAN style="font-size: 13.3333px;"&gt;dim1_bridge table such that user a does not see headphone in dim1 listbox, even though fact table may still contains the row linking CA_ID 1 to DK1 10 after reduction. &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Jun 2018 15:19:48 GMT</pubDate>
    <dc:creator>abe786</dc:creator>
    <dc:date>2018-06-06T15:19:48Z</dc:date>
    <item>
      <title>Need to limit rows in Dimension table through section access but running into circular loops</title>
      <link>https://community.qlik.com/t5/QlikView/Need-to-limit-rows-in-Dimension-table-through-section-access-but/m-p/66030#M606089</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;We are trying to implement section access in our existing apps to open up the dashboard to our customers. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See attached qvw for sample data model we are having. The username/password is a/123.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As seen in the data model, we have bridge table which contains two keys CA_ID and CO_ID. In the example, we are trying to limit the countries through section access. Reduction field is CO_ID, which connects to country table and CA_ID which connects Fact table. &lt;/P&gt;&lt;P&gt;The solution works well and rows in Dim1 are also reduced to three rows for country login a (USA ) to values 1,9,10 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now comes the twist, we only discovered later on that there is another relationship between country and dim1 i.e. commented out table dim1_bridge. For USA there are only be 2 possible values for Dim1 i.e. Phone &amp;amp; Laptop (DK1, 1 &amp;amp; 9). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i include the commented table (&lt;SPAN style="font-size: 13.3333px;"&gt;dim1_bridge&lt;/SPAN&gt;), then I run into circular loop. &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Can anybody suggest a data modelling solution for above problem, I need to reduce the Dim 1 table, according to &lt;SPAN style="font-size: 13.3333px;"&gt;dim1_bridge table such that user a does not see headphone in dim1 listbox, even though fact table may still contains the row linking CA_ID 1 to DK1 10 after reduction. &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2018 15:19:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-to-limit-rows-in-Dimension-table-through-section-access-but/m-p/66030#M606089</guid>
      <dc:creator>abe786</dc:creator>
      <dc:date>2018-06-06T15:19:48Z</dc:date>
    </item>
  </channel>
</rss>

