<?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 for Multiple Tables in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Section-Access-for-Multiple-Tables/m-p/1614660#M45783</link>
    <description>&lt;P&gt;You could use OMIT Country* in your section access, I think. If memory serves, Omit accepts wildcards.&lt;/P&gt;</description>
    <pubDate>Wed, 21 Aug 2019 08:48:29 GMT</pubDate>
    <dc:creator>Or</dc:creator>
    <dc:date>2019-08-21T08:48:29Z</dc:date>
    <item>
      <title>Section Access for Multiple Tables</title>
      <link>https://community.qlik.com/t5/App-Development/Section-Access-for-Multiple-Tables/m-p/1614424#M45767</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have multiple tables that I need to filtered based on the country from the section access. All of the tables contain a Country field, but I would like to hide them at the end.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the following script right now:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;Section Access;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;"ACCESS",&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;"USERID",&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;UPPER("COUNTRY CODE") AS "COUNTRY"&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;FROM [lib://...\SECTION_ACCESS.qvd]&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;(qvd);&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;Section Application;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;TABLE1:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;"Table 1 ID",&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;"COUNTRY"&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;FROM [lib://.../M_TABLE1.qvd](qvd);&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;TABLE2:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;"Table 2 ID",&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;"COUNTRY 2"&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;FROM [lib://.../M_TABLE2.qvd](qvd)&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;where exists ("COUNTRY","COUNTRY 2");&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The issue is that this works for TABLE1 since they have the same field name but then the "where exists"&amp;nbsp; is not working in the other table to get only the ones that users are allowed to see.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I could rename every country field in every table so it would match with the one in the section access, but then I would be doing unwanted connections. And also, if possible, I would like to not have the Country fields in the data model.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2019 16:21:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Section-Access-for-Multiple-Tables/m-p/1614424#M45767</guid>
      <dc:creator>acrodrigues03</dc:creator>
      <dc:date>2019-08-20T16:21:57Z</dc:date>
    </item>
    <item>
      <title>Re: Section Access for Multiple Tables</title>
      <link>https://community.qlik.com/t5/App-Development/Section-Access-for-Multiple-Tables/m-p/1614585#M45776</link>
      <description>Can't you just make another table combining the other tables without the country field and then drop the other tables? &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;</description>
      <pubDate>Wed, 21 Aug 2019 06:35:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Section-Access-for-Multiple-Tables/m-p/1614585#M45776</guid>
      <dc:creator>Sebastiaandb</dc:creator>
      <dc:date>2019-08-21T06:35:07Z</dc:date>
    </item>
    <item>
      <title>Re: Section Access for Multiple Tables</title>
      <link>https://community.qlik.com/t5/App-Development/Section-Access-for-Multiple-Tables/m-p/1614652#M45782</link>
      <description>&lt;P&gt;Hey Sebastian,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately, I can't, cause I have a country field in every table of the data model. And every table should be restricted, so I can't just do a combining table&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Aug 2019 08:30:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Section-Access-for-Multiple-Tables/m-p/1614652#M45782</guid>
      <dc:creator>acrodrigues03</dc:creator>
      <dc:date>2019-08-21T08:30:16Z</dc:date>
    </item>
    <item>
      <title>Re: Section Access for Multiple Tables</title>
      <link>https://community.qlik.com/t5/App-Development/Section-Access-for-Multiple-Tables/m-p/1614660#M45783</link>
      <description>&lt;P&gt;You could use OMIT Country* in your section access, I think. If memory serves, Omit accepts wildcards.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Aug 2019 08:48:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Section-Access-for-Multiple-Tables/m-p/1614660#M45783</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2019-08-21T08:48:29Z</dc:date>
    </item>
    <item>
      <title>Re: Section Access for Multiple Tables</title>
      <link>https://community.qlik.com/t5/App-Development/Section-Access-for-Multiple-Tables/m-p/1614812#M45794</link>
      <description>&lt;P&gt;Thank you! That helps to hide the country fields, but than I still don't know how can I restrict every country field from every table.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I thought about doing something like:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Section Access;&lt;BR /&gt;LOAD&lt;BR /&gt;"ACCESS",&lt;BR /&gt;"USERID",&lt;BR /&gt;UPPER("COUNTRY CODE") as "COUNTRY",&lt;BR /&gt;UPPER("COUNTRY CODE") as "COUNTRY 2",&lt;/P&gt;&lt;P&gt;...&lt;BR /&gt;FROM [lib://...\SECTION_ACCESS.qvd]&lt;BR /&gt;(qvd);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But when I add more than 1 field to restrict, I loose access to the application.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Aug 2019 12:51:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Section-Access-for-Multiple-Tables/m-p/1614812#M45794</guid>
      <dc:creator>acrodrigues03</dc:creator>
      <dc:date>2019-08-21T12:51:15Z</dc:date>
    </item>
    <item>
      <title>Re: Section Access for Multiple Tables</title>
      <link>https://community.qlik.com/t5/App-Development/Section-Access-for-Multiple-Tables/m-p/1615213#M45812</link>
      <description>&lt;P&gt;I have no idea if this can be achieved without some sort of bridge table. Not something I've ever tried to do..&lt;/P&gt;&lt;P&gt;Have a look at this, it may help:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Sense-App-Development/Section-Access-On-Multiple-Tables-with-different-dataset-using/m-p/108783" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Sense-App-Development/Section-Access-On-Multiple-Tables-with-different-dataset-using/m-p/108783&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Aug 2019 08:29:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Section-Access-for-Multiple-Tables/m-p/1615213#M45812</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2019-08-22T08:29:21Z</dc:date>
    </item>
  </channel>
</rss>

