<?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: Data reduction based on more than one field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Data-reduction-based-on-more-than-one-field/m-p/450086#M698544</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can anybody tell me the concept of resident table in qlikview i had browsed but i cant understand if u r having any tutorials means please share them&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Jan 2013 08:54:45 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-01-28T08:54:45Z</dc:date>
    <item>
      <title>Data reduction based on more than one field</title>
      <link>https://community.qlik.com/t5/QlikView/Data-reduction-based-on-more-than-one-field/m-p/450082#M698540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am facing a problem regarding to the data reduction in QV documents.&lt;/P&gt;&lt;P&gt;Until now, we have made the reduction based on the value of the "SalesPerson" field. We have a hidden script like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Section Access;&lt;/P&gt;&lt;P&gt;Directory;&lt;/P&gt;&lt;P&gt;LOAD [ACCESS], NTNAME,&amp;nbsp; [GROUP]&lt;/P&gt;&lt;P&gt;FROM UserList.xls (biff, embedded labels, table is Sheet1$);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; GROUP, OMIT&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; WORK, NAME&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Section Application;&lt;/P&gt;&lt;P&gt;STAR IS *;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And we have a Data reduction like this:&lt;/P&gt;&lt;P&gt;Reductions:&lt;/P&gt;&lt;P&gt;LOAD NTNAME, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SalesPerson&lt;/P&gt;&lt;P&gt;FROM Reductions.xls (biff, embedded labels, table is Sheet1$);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So depending on the values of the SalesPerson filed in the Excel file, a NTNAME user can read the data of one or more SalesPerson depending on the values. In this example, the J.SMITH NT user can read John Smith's salesperson's records in the database. The same for M.GREENE (only Maurice Greene's records). And Usain Bolt can read his own records as well as the records for the two other salespeople. The same goes for ADMIN with the '*':&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 252px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl66" height="20" width="80"&gt;NTNAME &lt;/TD&gt;&lt;TD class="xl66" width="172"&gt;SalesPerson&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20" width="80"&gt;J.SMITH&lt;/TD&gt;&lt;TD class="xl66" width="172"&gt;John Smith&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20" width="80"&gt;M.GREENE&lt;/TD&gt;&lt;TD class="xl66" width="172"&gt;Maurice Greene&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20" width="80"&gt;U.BOLT&lt;/TD&gt;&lt;TD class="xl66" width="172"&gt;John Smith&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20" width="80"&gt;U.BOLT&lt;/TD&gt;&lt;TD class="xl66" width="172"&gt;Maurice Greene&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20" width="80"&gt;U.BOLT&lt;/TD&gt;&lt;TD class="xl66" width="172"&gt;Usain Bolt&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20" width="80"&gt;ADMIN&lt;/TD&gt;&lt;TD class="xl66" width="172"&gt;*&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are facing a limitation in this model, and we would like to add another reduction type: the COUNTRY. Let's say that C.LEWIS should be able to read all the records for all the salespeople, but only the records with the value ITALY for the Country. Our salespeople sell items all over the world!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first thing I thought was to ad a new column to the Reductions table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 293px;" width="332"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl66" height="20" width="80"&gt;NTNAME &lt;/TD&gt;&lt;TD class="xl66" width="172"&gt;SalesPerson&lt;/TD&gt;&lt;TD width="80"&gt;Country&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20" width="80"&gt;J.SMITH&lt;/TD&gt;&lt;TD class="xl66" width="172"&gt;John Smith&lt;/TD&gt;&lt;TD&gt;*&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20" width="80"&gt;M.GREENE&lt;/TD&gt;&lt;TD class="xl66" width="172"&gt;Maurice Greene&lt;/TD&gt;&lt;TD&gt;*&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20" width="80"&gt;U.BOLT&lt;/TD&gt;&lt;TD class="xl66" width="172"&gt;John Smith&lt;/TD&gt;&lt;TD&gt;*&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20" width="80"&gt;U.BOLT&lt;/TD&gt;&lt;TD class="xl66" width="172"&gt;Maurice Greene&lt;/TD&gt;&lt;TD&gt;*&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20" width="80"&gt;U.BOLT&lt;/TD&gt;&lt;TD class="xl66" width="172"&gt;Usain Bolt&lt;/TD&gt;&lt;TD&gt;*&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20" width="80"&gt;ADMIN&lt;/TD&gt;&lt;TD class="xl66" width="172"&gt;*&lt;/TD&gt;&lt;TD&gt;*&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20" width="80"&gt;C.LEWIS&lt;/TD&gt;&lt;TD class="xl66" width="172"&gt;*&lt;/TD&gt;&lt;TD&gt;Italy&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And add a second line to the Reductions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reductions:&lt;/P&gt;&lt;P&gt;LOAD NTNAME, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SalesPerson,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Country&lt;/P&gt;&lt;P&gt;FROM Reductions.xls (biff, embedded labels, table is Sheet1$);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But after logging with C.LEWIS, this only shows me an empty set of values (it does not show any record!)&lt;/P&gt;&lt;P&gt;Is it possible to do this in QV? If so, how can this be achieved?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2013 17:44:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-reduction-based-on-more-than-one-field/m-p/450082#M698540</guid>
      <dc:creator>salto</dc:creator>
      <dc:date>2013-01-23T17:44:54Z</dc:date>
    </item>
    <item>
      <title>Re: Data reduction based on more than one field</title>
      <link>https://community.qlik.com/t5/QlikView/Data-reduction-based-on-more-than-one-field/m-p/450083#M698541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See &lt;A _jive_internal="true" class="loading" href="https://community.qlik.com/blogs/qlikviewdesignblog/2012/10/02/complex-authorization" title="http://community.qlik.com/blogs/qlikviewdesignblog/2012/10/02/complex-authorization"&gt;http://community.qlik.com/blogs/qlikviewdesignblog/2012/10/02/complex-authorization&lt;/A&gt; &lt;/P&gt;&lt;P&gt;and &lt;A _jive_internal="true" class="loading" href="https://community.qlik.com/docs/DOC-3451" title="http://community.qlik.com/docs/DOC-3451"&gt;http://community.qlik.com/docs/DOC-3451 &lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2013 16:56:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-reduction-based-on-more-than-one-field/m-p/450083#M698541</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2013-01-24T16:56:54Z</dc:date>
    </item>
    <item>
      <title>Re: Data reduction based on more than one field</title>
      <link>https://community.qlik.com/t5/QlikView/Data-reduction-based-on-more-than-one-field/m-p/450084#M698542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi think for the second reduction use this table and find out&amp;nbsp;&amp;nbsp; if it works&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Section Access;&lt;/P&gt;&lt;P&gt;Directory;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;[ACCESS], &lt;/P&gt;&lt;P&gt;NTNAME,&amp;nbsp; &lt;/P&gt;&lt;P&gt;[GROUP]&lt;/P&gt;&lt;P&gt;FROM UserList.xls (biff, embedded labels, table is Sheet1$);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; GROUP, OMIT&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; WORK, NAME&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Section Application;&lt;/P&gt;&lt;P&gt;STAR IS *;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And we have a Data reduction like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reductions1:&lt;/P&gt;&lt;P&gt;LOAD NTNAME, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SalesPerson&lt;/P&gt;&lt;P&gt;FROM Reductions.xls (biff, embedded labels, table is Sheet1$);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reductions2:&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SalesPerson,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Country&lt;/P&gt;&lt;P&gt;FROM Reductions.xls (biff, embedded labels, table is Sheet1$)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2013 17:02:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-reduction-based-on-more-than-one-field/m-p/450084#M698542</guid>
      <dc:creator>shree909</dc:creator>
      <dc:date>2013-01-24T17:02:46Z</dc:date>
    </item>
    <item>
      <title>Re: Data reduction based on more than one field</title>
      <link>https://community.qlik.com/t5/QlikView/Data-reduction-based-on-more-than-one-field/m-p/450085#M698543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you! It works like you proposed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jan 2013 08:50:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-reduction-based-on-more-than-one-field/m-p/450085#M698543</guid>
      <dc:creator>salto</dc:creator>
      <dc:date>2013-01-28T08:50:54Z</dc:date>
    </item>
    <item>
      <title>Re: Data reduction based on more than one field</title>
      <link>https://community.qlik.com/t5/QlikView/Data-reduction-based-on-more-than-one-field/m-p/450086#M698544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can anybody tell me the concept of resident table in qlikview i had browsed but i cant understand if u r having any tutorials means please share them&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jan 2013 08:54:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-reduction-based-on-more-than-one-field/m-p/450086#M698544</guid>
      <dc:creator />
      <dc:date>2013-01-28T08:54:45Z</dc:date>
    </item>
    <item>
      <title>Re: Data reduction based on more than one field</title>
      <link>https://community.qlik.com/t5/QlikView/Data-reduction-based-on-more-than-one-field/m-p/450087#M698545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There really isn't very much to understand. A resident table is a table that has been loaded previously in the script by a Load or SELECT statement. So, you can load data from a resident table using&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Load .... Resident &amp;lt;TableName&amp;gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jan 2013 14:30:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-reduction-based-on-more-than-one-field/m-p/450087#M698545</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2013-01-29T14:30:50Z</dc:date>
    </item>
  </channel>
</rss>

