<?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 with multiple Fields and a range of Values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Section-Access-with-multiple-Fields-and-a-range-of-Values/m-p/518632#M1267709</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Christian&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first thing to note, is that although the Section Access table will be large, most of the records are dropped when a user opens the file (as I have been taught). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not sure if Qlikview supports using more complex Section Access beyond having such a simple (and therefore, large in your case) table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are pieces of code that spring to mind like intervalmatch and possibly an inline table to associate each ID3 to a certain group, but the issue is you have a many-to-many relationship between the ID3 and the bands, i.e.;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ID3 4567 falls into bands 0 -9999 and 4500-5000&amp;nbsp; and of course there are multiple ID3's in each band.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to group partial bands?&amp;nbsp; By this I mean, can you group say 500 ID3's together?&amp;nbsp; So that in the fact table you could create a field called BAND and for a record, e.g. 4567 associate it to BAND value 4500-5000.&amp;nbsp; This could be then used to drive your section access, so in stead of 500 records for multiple users, they would one get one record?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This does mean that users do not have very distinct bands such as 3452-8538 etc.&amp;nbsp; Does this situation occur?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know your thoughts and any further information you may have?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Dec 2013 10:04:07 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-12-05T10:04:07Z</dc:date>
    <item>
      <title>Section Access with multiple Fields and a range of Values</title>
      <link>https://community.qlik.com/t5/QlikView/Section-Access-with-multiple-Fields-and-a-range-of-Values/m-p/518629#M1267697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Com,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i´ve got a small problem using section access. I´ve got a table for section access with the following structure:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="width: 100%; border: #000000 1px solid;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;"&gt;&lt;STRONG&gt;NTNAME&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;"&gt;&lt;STRONG&gt;ID1&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;"&gt;&lt;STRONG&gt;ID2&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;"&gt;&lt;STRONG&gt;ID3 from&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;"&gt;&lt;STRONG&gt;ID3 to&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;User1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;A&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;11&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1000&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;9999&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;User1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;A&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;50&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;9999&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;User1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;B&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;22&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;4500&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;5000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;User2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;A&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;11&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;9999&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any possibility to get the from/to range in section access.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Section-Access-with-multiple-Fields-and-a-range-of-Values/m-p/518629#M1267697</guid>
      <dc:creator>sky</dc:creator>
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: Section Access with multiple Fields and a range of Values</title>
      <link>https://community.qlik.com/t5/QlikView/Section-Access-with-multiple-Fields-and-a-range-of-Values/m-p/518630#M1267701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Christian&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would recommend you break down the 'From' and 'To' to provide a more granular access table.&amp;nbsp; This is a relatively simple task.&amp;nbsp; You will need the following code which firstly loads your source table, then creates a second table which lists out each of the different values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;StartData:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; User, ID from, ID to&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A, 1, 100&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; B, 30, 50&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; C, 50, 60&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; D, 1, 7&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Final:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; *,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [ID from]+Iterno()-1 as ID&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Resident [StartData]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While ([ID from] + IterNo() -1) &amp;lt;= [ID to];&lt;/P&gt;&lt;P&gt;Drop Table StartData;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once you have your final table, load this into Section Access via a resident load and drop the table (Final:) to ensure confidentiality of access rights.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know how you get on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Dec 2013 09:55:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Section-Access-with-multiple-Fields-and-a-range-of-Values/m-p/518630#M1267701</guid>
      <dc:creator />
      <dc:date>2013-12-03T09:55:04Z</dc:date>
    </item>
    <item>
      <title>Re: Section Access with multiple Fields and a range of Values</title>
      <link>https://community.qlik.com/t5/QlikView/Section-Access-with-multiple-Fields-and-a-range-of-Values/m-p/518631#M1267706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stephen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this might be a possible solution, had something simillar in my mind. The problem is the size of the table with the right infomation. There are around &lt;STRONG&gt;4.700 different users&lt;/STRONG&gt; who can have multiple rights in every ID, with almost every combination of ranges in ID 3, so that the source table has got something around &lt;STRONG&gt;2.5 mill. lines&lt;/STRONG&gt;. If I would now use this idea, the tablesize will get enormous and I think it won´t have a good performance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Dec 2013 07:30:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Section-Access-with-multiple-Fields-and-a-range-of-Values/m-p/518631#M1267706</guid>
      <dc:creator>sky</dc:creator>
      <dc:date>2013-12-05T07:30:29Z</dc:date>
    </item>
    <item>
      <title>Re: Section Access with multiple Fields and a range of Values</title>
      <link>https://community.qlik.com/t5/QlikView/Section-Access-with-multiple-Fields-and-a-range-of-Values/m-p/518632#M1267709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Christian&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first thing to note, is that although the Section Access table will be large, most of the records are dropped when a user opens the file (as I have been taught). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not sure if Qlikview supports using more complex Section Access beyond having such a simple (and therefore, large in your case) table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are pieces of code that spring to mind like intervalmatch and possibly an inline table to associate each ID3 to a certain group, but the issue is you have a many-to-many relationship between the ID3 and the bands, i.e.;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ID3 4567 falls into bands 0 -9999 and 4500-5000&amp;nbsp; and of course there are multiple ID3's in each band.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to group partial bands?&amp;nbsp; By this I mean, can you group say 500 ID3's together?&amp;nbsp; So that in the fact table you could create a field called BAND and for a record, e.g. 4567 associate it to BAND value 4500-5000.&amp;nbsp; This could be then used to drive your section access, so in stead of 500 records for multiple users, they would one get one record?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This does mean that users do not have very distinct bands such as 3452-8538 etc.&amp;nbsp; Does this situation occur?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know your thoughts and any further information you may have?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Dec 2013 10:04:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Section-Access-with-multiple-Fields-and-a-range-of-Values/m-p/518632#M1267709</guid>
      <dc:creator />
      <dc:date>2013-12-05T10:04:07Z</dc:date>
    </item>
    <item>
      <title>Re: Section Access with multiple Fields and a range of Values</title>
      <link>https://community.qlik.com/t5/QlikView/Section-Access-with-multiple-Fields-and-a-range-of-Values/m-p/518633#M1267713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Christian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will have to do something like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="section.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/50074_section.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bill&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Dec 2013 21:48:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Section-Access-with-multiple-Fields-and-a-range-of-Values/m-p/518633#M1267713</guid>
      <dc:creator>Bill_Britt</dc:creator>
      <dc:date>2013-12-05T21:48:58Z</dc:date>
    </item>
  </channel>
</rss>

