<?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: help with script... in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/help-with-script/m-p/349885#M129597</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;That piece of script seems to be all right, but do you have before or after that any "Section" statement? That may cause to only show some of the values. Did you uncheck the "Initial reduction based on section access" and "Strict Exclusion" in Settings menu, Document Properties, Opening tab when testing the document to see whether or not the table was working fine? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And apart from that, note that all fields al values, not only NTNAME and ACCESS must be uppercase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that QlikView concatenates automatically when two tables have the same number of fields and these fields have the same names, so this is likely to work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13395138950169696" jivemacro_uid="_13395138950169696"&gt;&lt;P&gt;&lt;CODE&gt;security:&lt;BR /&gt;NOCONCATENATE LOAD *&lt;BR /&gt;Resident securitytmp;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP TABLE securitytmp;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will need to DROP the table "securitytmp" if you don't want to create a huge synthetic key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Jun 2012 15:12:02 GMT</pubDate>
    <dc:creator>Miguel_Angel_Baeyens</dc:creator>
    <dc:date>2012-06-12T15:12:02Z</dc:date>
    <item>
      <title>help with script...</title>
      <link>https://community.qlik.com/t5/QlikView/help-with-script/m-p/349884#M129596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone tell me whats wrong with the following script please?&lt;/P&gt;&lt;P&gt;It seems to load sucessfully, but does not show me the 2nd table in the table viewer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13395137091421177" jivemacro_uid="_13395137091421177"&gt;&lt;P&gt;securitytmp:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ACCESS, USERID, PASSWORD, NTNAME&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ADMIN, ADMIN, PMSRQVADMIN,*&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ADMIN, PMSR, PMSRQVADMIN,*&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ADMIN, KLU00, PMSRQVADMIN,*&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ADMIN, CHRIS, 1,*&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concatenate (securitytmp)&lt;BR /&gt;LOAD upper(NTNAME) as NTNAME, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; upper(ACCESS) as ACCESS, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; USERID, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PASSWORD, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; COUNTRY,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PROJECTCODE&lt;BR /&gt;FROM&lt;BR /&gt;C:\Subsea7\QVDev\PMSRUserRights\UserRights.xlsx&lt;BR /&gt;(ooxml, embedded labels, table is USER)&lt;BR /&gt;Where COUNTRY &amp;gt; 0;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;security:&lt;BR /&gt;LOAD *&lt;BR /&gt;Resident securitytmp;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It all looks ok to me, thanks for helping &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2012 15:05:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-with-script/m-p/349884#M129596</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2012-06-12T15:05:16Z</dc:date>
    </item>
    <item>
      <title>Re: help with script...</title>
      <link>https://community.qlik.com/t5/QlikView/help-with-script/m-p/349885#M129597</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;That piece of script seems to be all right, but do you have before or after that any "Section" statement? That may cause to only show some of the values. Did you uncheck the "Initial reduction based on section access" and "Strict Exclusion" in Settings menu, Document Properties, Opening tab when testing the document to see whether or not the table was working fine? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And apart from that, note that all fields al values, not only NTNAME and ACCESS must be uppercase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that QlikView concatenates automatically when two tables have the same number of fields and these fields have the same names, so this is likely to work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13395138950169696" jivemacro_uid="_13395138950169696"&gt;&lt;P&gt;&lt;CODE&gt;security:&lt;BR /&gt;NOCONCATENATE LOAD *&lt;BR /&gt;Resident securitytmp;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP TABLE securitytmp;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will need to DROP the table "securitytmp" if you don't want to create a huge synthetic key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2012 15:12:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-with-script/m-p/349885#M129597</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2012-06-12T15:12:02Z</dc:date>
    </item>
    <item>
      <title>Re: help with script...</title>
      <link>https://community.qlik.com/t5/QlikView/help-with-script/m-p/349886#M129598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi miguel, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry, i'm not thinking straight today! I completely forgot that Qlikview automatically concatenates, which is the reason i am missing a table. &lt;/P&gt;&lt;P&gt;Sorry.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While your hear though... if i had an excel document full of different user names, passwords, countries and project codes, how would i let a particular user see all project codes without having to list them all against his/her user name. ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thought i could use * in the excel document, but it doesn't seem to work for me. instead it lists * as a possible value..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2012 15:48:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-with-script/m-p/349886#M129598</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2012-06-12T15:48:40Z</dc:date>
    </item>
    <item>
      <title>Re: help with script...</title>
      <link>https://community.qlik.com/t5/QlikView/help-with-script/m-p/349887#M129599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In order to make the "*" equal to all possible values, you need that at least one of your users have all possible values listed, otherwise, that will not work. Note that QlikView only allows one value per line so, if there are 100 project codes, at least one user (any admin, likely) must have 100 rows with his account information and each of the 100 possible values for project code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This way, you may use the * to mean "all values".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2012 16:09:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-with-script/m-p/349887#M129599</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2012-06-12T16:09:03Z</dc:date>
    </item>
    <item>
      <title>Re: help with script...</title>
      <link>https://community.qlik.com/t5/QlikView/help-with-script/m-p/349888#M129600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok great, thanks for your help&amp;nbsp; Miguel. I'll try that out..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2012 16:12:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-with-script/m-p/349888#M129600</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2012-06-12T16:12:02Z</dc:date>
    </item>
  </channel>
</rss>

