<?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>article How To Validate And Troubleshoot Section Access Reduction in Official Support Articles</title>
    <link>https://community.qlik.com/t5/Official-Support-Articles/How-To-Validate-And-Troubleshoot-Section-Access-Reduction/ta-p/1713023</link>
    <description>&lt;P&gt;QlikView's Section Access can be used to reduce data based on the current user.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;Environment:&lt;/H4&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;LI-PRODUCT title="QlikView" id="qlikView"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;BR /&gt;&lt;LI-PRODUCT title="Qlik Sense Enterprise on Windows" id="qlikSenseEnterpriseWindows"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;BR /&gt;&lt;LI-PRODUCT title="Qlik Sense Enterprise SaaS" id="qlikSenseEnterpriseSaaS"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;BR /&gt;&lt;LI-PRODUCT title="Qlik Sense Business" id="qlikSenseBusiness"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the data reduction appears incorrect, the section access table content and logic need to be validated.&lt;BR /&gt;&lt;BR /&gt;This validation can be done in two steps:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Validate the Section Access table&amp;nbsp;content, see article&amp;nbsp;&lt;A href="https://support.qlik.com/articles/Basic/How-To-Validate-Section-Access-Table-Content-In-QlikView" target="_blank" rel="noopener"&gt;How To Validate Section Access Table Content&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;Validate the reduction field, see below.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Load Section Access as a normal table&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Comment the Section Access keyword:&lt;BR /&gt;&lt;LI-CODE lang="markup"&gt;//Section Access;​&lt;/LI-CODE&gt;&lt;/LI&gt;
&lt;LI&gt;Comment the Section Application keyword&lt;BR /&gt;&lt;LI-CODE lang="markup"&gt;//Section Application;​&lt;/LI-CODE&gt;&lt;/LI&gt;
&lt;LI&gt;Reload the application&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;Open table viewer (Ctrl+T)&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;The data model now has a table consisting of the section access table, and this is linked to the data model.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="INFED 1 INFED.png" style="width: 252px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/55725iD9F23E91ACDCF791/image-dimensions/252x84?v=v2" width="252" height="84" role="button" title="INFED 1 INFED.png" alt="INFED 1 INFED.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;NOTE: If the section access table links to the synthetic table, this approach will most likely not work.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Validate reduction field format&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;The reduction field must be in upper case to comply with section access requirements, see QlikView Reference Manual for details.&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Add a list box showing the reduction field&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="COUNTRY 1.png" style="width: 123px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/55726iB9D682E1418FBB91/image-dimensions/123x71?v=v2" width="123" height="71" role="button" title="COUNTRY 1.png" alt="COUNTRY 1.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;LI&gt;Add an expression to the list box to indicate values not in upper case, for example as&amp;nbsp;&lt;BR /&gt;&lt;LI-CODE lang="markup"&gt;Upper(FIELDNAME)&amp;lt;&amp;gt;FIELDNAME​&lt;/LI-CODE&gt;&lt;/LI&gt;
&lt;LI&gt;The incorrect&amp;nbsp;format&amp;nbsp;values will be indicated with -1 (TRUE), based on the logical comparison&lt;FONT face="arial, helvetica, sans-serif"&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="COUNTRY 2.png" style="width: 123px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/55727iB5C4A49BC2F431EC/image-dimensions/123x74?v=v2" width="123" height="74" role="button" title="COUNTRY 2.png" alt="COUNTRY 2.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Correct the incorrect format in reduction field&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;The incorrect formats must be changed to match the section access tables Upper case formatting. There are two possible paths to address the format.&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;The reduction field is used in the presentation, and the format can not be changed due to presentation requirements
&lt;OL class="lia-list-style-type-lower-alpha"&gt;
&lt;LI&gt;During load create a duplicate of the reduction field. Keep the original field name, but add a prefix to indicate it is a key field.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MYREDUCTIONFIELD.png" style="width: 157px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/55728i3A33E0BE61060982/image-dimensions/157x72?v=v2" width="157" height="72" role="button" title="MYREDUCTIONFIELD.png" alt="MYREDUCTIONFIELD.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;LI&gt;Force upper case on the new reduction field by using Upper() function&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;Rename the reduction field in the Section Access table, to it matches the new reduction field name&lt;/LI&gt;
&lt;LI&gt;Reload the application&lt;/LI&gt;
&lt;LI&gt;The data model should now indicate a section access link over the new reduction field&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MY DATA INFED.png" style="width: 282px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/55729iB3BF184932C2CE6A/image-dimensions/282x62?v=v2" width="282" height="62" role="button" title="MY DATA INFED.png" alt="MY DATA INFED.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;LI&gt;There is no need to change front end application, since the old reduction field still is the same&lt;/LI&gt;
&lt;/OL&gt;
&lt;/LI&gt;
&lt;LI&gt;The format of the upper field does not affect presentation or application expressions
&lt;OL class="lia-list-style-type-lower-alpha"&gt;
&lt;LI&gt;Force upper case on the new reduction field by using Upper() function&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;Reload the application&lt;/LI&gt;
&lt;/OL&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;BR /&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Select the user to evaluate&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Add a list box showing the user names, either from USERID field or NTNAME field&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="USERID.png" style="width: 131px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/55730iAB39386716880C01/image-dimensions/131x72?v=v2" width="131" height="72" role="button" title="USERID.png" alt="USERID.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;LI&gt;Add a list box showing the reduction field.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="COUNTRY.png" style="width: 130px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/55731i80920C422290EC9E/image-dimensions/130x74?v=v2" width="130" height="74" role="button" title="COUNTRY.png" alt="COUNTRY.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;LI&gt;Select the user that has unexpected results&lt;/LI&gt;
&lt;LI&gt;The available values in the reduction field will be the reduction linked to the user&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="USERID COUNTRY.png" style="width: 242px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/55732iFE314AB996750FA0/image-dimensions/242x74?v=v2" width="242" height="74" role="button" title="USERID COUNTRY.png" alt="USERID COUNTRY.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;LI&gt;The current data set is no identical to the user's reduction value.&amp;nbsp;Validate that the same issue exists as when the user logs in through section access.&amp;nbsp;&lt;/LI&gt;
&lt;/OL&gt;
&lt;UL style="margin-left: 80px;"&gt;
&lt;LI&gt;The reduction value is incorrect. Investigate further if the section access definition is incorrect.&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;Sheet object calculation is incorrect. Evaluate if the expression is incorrect compared to the desired calculation.&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;Sheet object calculation is&amp;nbsp;correct. Consider if an alternate state or set expression is involved in the calculation. Notice that the current document has the full data&amp;nbsp;set in memory, compared to a reduced data&amp;nbsp;set through&amp;nbsp;section access.&amp;nbsp;&lt;/LI&gt;
&lt;/UL&gt;</description>
    <pubDate>Tue, 10 May 2022 19:23:50 GMT</pubDate>
    <dc:creator>ToniKautto</dc:creator>
    <dc:date>2022-05-10T19:23:50Z</dc:date>
    <item>
      <title>How To Validate And Troubleshoot Section Access Reduction</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/How-To-Validate-And-Troubleshoot-Section-Access-Reduction/ta-p/1713023</link>
      <description>&lt;P&gt;QlikView's Section Access can be used to reduce data based on the current user.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;Environment:&lt;/H4&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;LI-PRODUCT title="QlikView" id="qlikView"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;BR /&gt;&lt;LI-PRODUCT title="Qlik Sense Enterprise on Windows" id="qlikSenseEnterpriseWindows"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;BR /&gt;&lt;LI-PRODUCT title="Qlik Sense Enterprise SaaS" id="qlikSenseEnterpriseSaaS"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;BR /&gt;&lt;LI-PRODUCT title="Qlik Sense Business" id="qlikSenseBusiness"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the data reduction appears incorrect, the section access table content and logic need to be validated.&lt;BR /&gt;&lt;BR /&gt;This validation can be done in two steps:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Validate the Section Access table&amp;nbsp;content, see article&amp;nbsp;&lt;A href="https://support.qlik.com/articles/Basic/How-To-Validate-Section-Access-Table-Content-In-QlikView" target="_blank" rel="noopener"&gt;How To Validate Section Access Table Content&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;Validate the reduction field, see below.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Load Section Access as a normal table&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Comment the Section Access keyword:&lt;BR /&gt;&lt;LI-CODE lang="markup"&gt;//Section Access;​&lt;/LI-CODE&gt;&lt;/LI&gt;
&lt;LI&gt;Comment the Section Application keyword&lt;BR /&gt;&lt;LI-CODE lang="markup"&gt;//Section Application;​&lt;/LI-CODE&gt;&lt;/LI&gt;
&lt;LI&gt;Reload the application&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;Open table viewer (Ctrl+T)&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;The data model now has a table consisting of the section access table, and this is linked to the data model.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="INFED 1 INFED.png" style="width: 252px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/55725iD9F23E91ACDCF791/image-dimensions/252x84?v=v2" width="252" height="84" role="button" title="INFED 1 INFED.png" alt="INFED 1 INFED.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;NOTE: If the section access table links to the synthetic table, this approach will most likely not work.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Validate reduction field format&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;The reduction field must be in upper case to comply with section access requirements, see QlikView Reference Manual for details.&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Add a list box showing the reduction field&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="COUNTRY 1.png" style="width: 123px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/55726iB9D682E1418FBB91/image-dimensions/123x71?v=v2" width="123" height="71" role="button" title="COUNTRY 1.png" alt="COUNTRY 1.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;LI&gt;Add an expression to the list box to indicate values not in upper case, for example as&amp;nbsp;&lt;BR /&gt;&lt;LI-CODE lang="markup"&gt;Upper(FIELDNAME)&amp;lt;&amp;gt;FIELDNAME​&lt;/LI-CODE&gt;&lt;/LI&gt;
&lt;LI&gt;The incorrect&amp;nbsp;format&amp;nbsp;values will be indicated with -1 (TRUE), based on the logical comparison&lt;FONT face="arial, helvetica, sans-serif"&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="COUNTRY 2.png" style="width: 123px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/55727iB5C4A49BC2F431EC/image-dimensions/123x74?v=v2" width="123" height="74" role="button" title="COUNTRY 2.png" alt="COUNTRY 2.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Correct the incorrect format in reduction field&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;The incorrect formats must be changed to match the section access tables Upper case formatting. There are two possible paths to address the format.&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;The reduction field is used in the presentation, and the format can not be changed due to presentation requirements
&lt;OL class="lia-list-style-type-lower-alpha"&gt;
&lt;LI&gt;During load create a duplicate of the reduction field. Keep the original field name, but add a prefix to indicate it is a key field.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MYREDUCTIONFIELD.png" style="width: 157px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/55728i3A33E0BE61060982/image-dimensions/157x72?v=v2" width="157" height="72" role="button" title="MYREDUCTIONFIELD.png" alt="MYREDUCTIONFIELD.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;LI&gt;Force upper case on the new reduction field by using Upper() function&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;Rename the reduction field in the Section Access table, to it matches the new reduction field name&lt;/LI&gt;
&lt;LI&gt;Reload the application&lt;/LI&gt;
&lt;LI&gt;The data model should now indicate a section access link over the new reduction field&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MY DATA INFED.png" style="width: 282px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/55729iB3BF184932C2CE6A/image-dimensions/282x62?v=v2" width="282" height="62" role="button" title="MY DATA INFED.png" alt="MY DATA INFED.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;LI&gt;There is no need to change front end application, since the old reduction field still is the same&lt;/LI&gt;
&lt;/OL&gt;
&lt;/LI&gt;
&lt;LI&gt;The format of the upper field does not affect presentation or application expressions
&lt;OL class="lia-list-style-type-lower-alpha"&gt;
&lt;LI&gt;Force upper case on the new reduction field by using Upper() function&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;Reload the application&lt;/LI&gt;
&lt;/OL&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;BR /&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Select the user to evaluate&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Add a list box showing the user names, either from USERID field or NTNAME field&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="USERID.png" style="width: 131px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/55730iAB39386716880C01/image-dimensions/131x72?v=v2" width="131" height="72" role="button" title="USERID.png" alt="USERID.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;LI&gt;Add a list box showing the reduction field.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="COUNTRY.png" style="width: 130px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/55731i80920C422290EC9E/image-dimensions/130x74?v=v2" width="130" height="74" role="button" title="COUNTRY.png" alt="COUNTRY.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;LI&gt;Select the user that has unexpected results&lt;/LI&gt;
&lt;LI&gt;The available values in the reduction field will be the reduction linked to the user&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="USERID COUNTRY.png" style="width: 242px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/55732iFE314AB996750FA0/image-dimensions/242x74?v=v2" width="242" height="74" role="button" title="USERID COUNTRY.png" alt="USERID COUNTRY.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;LI&gt;The current data set is no identical to the user's reduction value.&amp;nbsp;Validate that the same issue exists as when the user logs in through section access.&amp;nbsp;&lt;/LI&gt;
&lt;/OL&gt;
&lt;UL style="margin-left: 80px;"&gt;
&lt;LI&gt;The reduction value is incorrect. Investigate further if the section access definition is incorrect.&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;Sheet object calculation is incorrect. Evaluate if the expression is incorrect compared to the desired calculation.&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;Sheet object calculation is&amp;nbsp;correct. Consider if an alternate state or set expression is involved in the calculation. Notice that the current document has the full data&amp;nbsp;set in memory, compared to a reduced data&amp;nbsp;set through&amp;nbsp;section access.&amp;nbsp;&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Tue, 10 May 2022 19:23:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/How-To-Validate-And-Troubleshoot-Section-Access-Reduction/ta-p/1713023</guid>
      <dc:creator>ToniKautto</dc:creator>
      <dc:date>2022-05-10T19:23:50Z</dc:date>
    </item>
  </channel>
</rss>

