<?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 Issue in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Data-Reduction-Issue/m-p/457346#M170724</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should not use several reducing fields. Or - my experience is that several reducing fields will lead to a reduction that sometimes is unexpected (however correct when you start to analyze it). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since I do not know what your authorization table looks like, I cannot speculate about what causes the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See more on &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;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Feb 2013 09:43:33 GMT</pubDate>
    <dc:creator>hic</dc:creator>
    <dc:date>2013-02-21T09:43:33Z</dc:date>
    <item>
      <title>Data Reduction Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Reduction-Issue/m-p/457344#M170722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've been struggeling with this issue for a full day now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm applying section access and data reducion in my model. Secion access works and data reduction gets applied, but incorrectly. It looks like QlikView reduce the data based on all the users in the control file and not only the logged in user. For instance, if user A can see all regions and user B can only see Cape Town, it doesn't matter which user logs in, the model always get reduced to Cape Town. Using the QVUser() function brings back the right logged in user. Can anyone help with this please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QV Code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;section access;&lt;/P&gt;&lt;P&gt;star is ALL;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QVAUTHORISATION:&lt;/P&gt;&lt;P&gt;LOAD UserName as USERID,&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Password as PASSWORD,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Access as ACCESS,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; InsCode as INSCode,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CompanyName,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SourceCompany&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[$(vSourceDataFoler)\MasterData\UserControl.xlsx]&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;section application;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Herman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 08:34:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Reduction-Issue/m-p/457344#M170722</guid>
      <dc:creator />
      <dc:date>2013-02-21T08:34:14Z</dc:date>
    </item>
    <item>
      <title>Re: Data Reduction Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Reduction-Issue/m-p/457345#M170723</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;try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;section access;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;star is ALL;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; UserName as USERID,&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Password as PASSWORD,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Access as ACCESS,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; InsCode as INSCODE,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CompanyName as COMPANYNAME,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SourceCompany as SOURCECOMPANY&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[$(vSourceDataFoler)\MasterData\UserControl.xlsx]&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;section application;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and at the end of all your script add this:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;TMP1:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;upper(InsCode) as INSCODE,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;﻿InsCode&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;﻿&lt;/SPAN&gt;RESIDENT&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;﻿&lt;/SPAN&gt;// The table where you get the field InsCode from&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;﻿&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;﻿&lt;SPAN id="mce_marker"&gt;&lt;/SPAN&gt;TMP2:&lt;/SPAN&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;LOAD&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;﻿CompanyName,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;﻿&lt;/SPAN&gt;upper(CompanyName) as COMPANYNAME&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;﻿&lt;/SPAN&gt;RESIDENT&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;﻿&lt;/SPAN&gt;// The table where you get the field CompanyName from&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;﻿&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;﻿&lt;SPAN id="mce_marker"&gt;&lt;/SPAN&gt;TMP3:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;LOAD&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN id="mce_marker"&gt;SourceCompany,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN&gt;﻿&lt;/SPAN&gt;&lt;/SPAN&gt;upper(SourceCompany) as SOURCECOMPANY&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;﻿&lt;/SPAN&gt;RESIDENT&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;﻿&lt;/SPAN&gt;// The table where you get &lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN id="mce_marker"&gt;SourceCompany&lt;/SPAN&gt;&lt;/SPAN&gt; from&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;﻿&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;﻿Remember that when you use STAR (*) it will only show all the datas which are given to at least one user.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;﻿&lt;/SPAN&gt;For exemple if one user can only see France and one other can only see Germany but you have also data for Spain, then the user with * will be able to see FRANCE AND GERMANY only as there is no user with the data from SPAIN.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;﻿&lt;/SPAN&gt;If you want * to show all datas from a field then you must have at least one user for each data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 09:39:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Reduction-Issue/m-p/457345#M170723</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-02-21T09:39:23Z</dc:date>
    </item>
    <item>
      <title>Re: Data Reduction Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Reduction-Issue/m-p/457346#M170724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should not use several reducing fields. Or - my experience is that several reducing fields will lead to a reduction that sometimes is unexpected (however correct when you start to analyze it). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since I do not know what your authorization table looks like, I cannot speculate about what causes the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See more on &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;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 09:43:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Reduction-Issue/m-p/457346#M170724</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2013-02-21T09:43:33Z</dc:date>
    </item>
  </channel>
</rss>

