<?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 Problem with section access in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-with-section-access/m-p/902309#M999364</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;I used this code to create a QVD for the section access&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;original:&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;USERID, &lt;/P&gt;&lt;P&gt;DIMENSION,&lt;/P&gt;&lt;P&gt;VALOR&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[..\XLSX\SEGURIDAD.xls]&lt;/P&gt;&lt;P&gt;(biff, embedded labels, table is Nuevo$);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Temp1:&lt;/P&gt;&lt;P&gt;Generic load * resident original;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;result:&lt;/P&gt;&lt;P&gt;load distinct USERID resident original; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;drop table original;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FOR i = 0 to NoOfTables()&lt;/P&gt;&lt;P&gt;TableList:&lt;/P&gt;&lt;P&gt;LOAD TableName($(i)) as Tablename AUTOGENERATE 1&lt;/P&gt;&lt;P&gt;WHERE WildMatch(TableName($(i)), 'temp1.*');&lt;/P&gt;&lt;P&gt;NEXT i&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FOR i = 1 to FieldValueCount('Tablename')&lt;/P&gt;&lt;P&gt;LET vTable = FieldValue('Tablename', $(i));&lt;/P&gt;&lt;P&gt;LEFT JOIN (result) LOAD * RESIDENT $(vTable);&lt;/P&gt;&lt;P&gt;DROP TABLE $(vTable);&lt;/P&gt;&lt;P&gt;NEXT i&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;drop table TableList;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LEFT JOIN &lt;/P&gt;&lt;P&gt;LOAD ACCESS, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; USERID, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PASSWORD,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TABLERO&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[..\XLSX\SEGURIDAD.xls]&lt;/P&gt;&lt;P&gt;(biff, embedded labels, table is Nuevo$);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;Seguridad:&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp; USERID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; if( IsNull (NEGOCIO), '*', NEGOCIO) AS NEGOCIO,&lt;/P&gt;&lt;P&gt;&amp;nbsp; if( IsNull (MERCADO), '*', MERCADO) AS MERCADO,&lt;/P&gt;&lt;P&gt;&amp;nbsp; PASSWORD,&lt;/P&gt;&lt;P&gt;&amp;nbsp; ACCESS,&lt;/P&gt;&lt;P&gt;&amp;nbsp; TABLERO&lt;/P&gt;&lt;P&gt;resident result;&lt;/P&gt;&lt;P&gt;DROP TABLE result;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the result, for example, is&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="351"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="49"&gt;ACCESS&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="55"&gt;USERID&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="71"&gt;PASSWORD&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="62"&gt;MARKET&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="58"&gt;BUSINESS&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="56"&gt;TABLERO&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;ADMIN&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;ADMIN&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;A&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;*&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;*&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;T&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;USER&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;EDUARDO&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;A&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;*&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;T&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;USER&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;JEREMIAS&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;A&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;2&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;*&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;T&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;MARKET and BUSINESS are the fields that i wanna hide (or don't hide) to the users.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Now. The problem is that i don't know why, this isn't working. &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;For example, with the admin user, i can't see all the market and business. I only see Business = 1, and MARKET = 2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;And with the other users i can only see MARKET = 2, and BUSINESS = 1.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Do you now why?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Thank you, Greetings.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Jun 2015 13:50:26 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-06-25T13:50:26Z</dc:date>
    <item>
      <title>Problem with section access</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-section-access/m-p/902309#M999364</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;I used this code to create a QVD for the section access&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;original:&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;USERID, &lt;/P&gt;&lt;P&gt;DIMENSION,&lt;/P&gt;&lt;P&gt;VALOR&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[..\XLSX\SEGURIDAD.xls]&lt;/P&gt;&lt;P&gt;(biff, embedded labels, table is Nuevo$);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Temp1:&lt;/P&gt;&lt;P&gt;Generic load * resident original;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;result:&lt;/P&gt;&lt;P&gt;load distinct USERID resident original; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;drop table original;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FOR i = 0 to NoOfTables()&lt;/P&gt;&lt;P&gt;TableList:&lt;/P&gt;&lt;P&gt;LOAD TableName($(i)) as Tablename AUTOGENERATE 1&lt;/P&gt;&lt;P&gt;WHERE WildMatch(TableName($(i)), 'temp1.*');&lt;/P&gt;&lt;P&gt;NEXT i&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FOR i = 1 to FieldValueCount('Tablename')&lt;/P&gt;&lt;P&gt;LET vTable = FieldValue('Tablename', $(i));&lt;/P&gt;&lt;P&gt;LEFT JOIN (result) LOAD * RESIDENT $(vTable);&lt;/P&gt;&lt;P&gt;DROP TABLE $(vTable);&lt;/P&gt;&lt;P&gt;NEXT i&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;drop table TableList;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LEFT JOIN &lt;/P&gt;&lt;P&gt;LOAD ACCESS, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; USERID, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PASSWORD,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TABLERO&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[..\XLSX\SEGURIDAD.xls]&lt;/P&gt;&lt;P&gt;(biff, embedded labels, table is Nuevo$);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;Seguridad:&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp; USERID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; if( IsNull (NEGOCIO), '*', NEGOCIO) AS NEGOCIO,&lt;/P&gt;&lt;P&gt;&amp;nbsp; if( IsNull (MERCADO), '*', MERCADO) AS MERCADO,&lt;/P&gt;&lt;P&gt;&amp;nbsp; PASSWORD,&lt;/P&gt;&lt;P&gt;&amp;nbsp; ACCESS,&lt;/P&gt;&lt;P&gt;&amp;nbsp; TABLERO&lt;/P&gt;&lt;P&gt;resident result;&lt;/P&gt;&lt;P&gt;DROP TABLE result;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the result, for example, is&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="351"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="49"&gt;ACCESS&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="55"&gt;USERID&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="71"&gt;PASSWORD&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="62"&gt;MARKET&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="58"&gt;BUSINESS&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="56"&gt;TABLERO&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;ADMIN&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;ADMIN&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;A&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;*&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;*&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;T&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;USER&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;EDUARDO&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;A&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;*&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;T&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;USER&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;JEREMIAS&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;A&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;2&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;*&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;T&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;MARKET and BUSINESS are the fields that i wanna hide (or don't hide) to the users.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Now. The problem is that i don't know why, this isn't working. &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;For example, with the admin user, i can't see all the market and business. I only see Business = 1, and MARKET = 2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;And with the other users i can only see MARKET = 2, and BUSINESS = 1.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Do you now why?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Thank you, Greetings.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jun 2015 13:50:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-section-access/m-p/902309#M999364</guid>
      <dc:creator />
      <dc:date>2015-06-25T13:50:26Z</dc:date>
    </item>
  </channel>
</rss>

