<?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: Qlik Sense Section Access - Missing Field Values in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-Section-Access-Missing-Field-Values/m-p/2134903#M92229</link>
    <description>&lt;P&gt;What happens if your revers the load-order and loading at first from the Excel and then adding the inline-admin-stuff?&lt;/P&gt;</description>
    <pubDate>Mon, 06 Nov 2023 10:22:39 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2023-11-06T10:22:39Z</dc:date>
    <item>
      <title>Qlik Sense Section Access - Missing Field Values</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-Section-Access-Missing-Field-Values/m-p/2134884#M92227</link>
      <description>&lt;P&gt;Basically I'm trying to implement section access via the QlikSense Load Script.&lt;/P&gt;
&lt;P&gt;This is my current code (I changed the names and some field names):&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Star is *;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Section Access;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;// Allgemeiner Zugang zur Applikation&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Berechtigungen:&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Load * Inline [&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;ACCESS, USERID, REDUCTION, OMIT&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;ADMIN, INTERNAL\SA_SCHEDULER, * ,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;ADMIN, AD\USER1, *, &lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;ADMIN, AD\USER2, *,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;ADMIN, AD\USER3, TEST,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Concatenate (Berechtigungen)&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Load&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;'USER' As ACCESS,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;User As USERID,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;If("MVZ Kürzel" = 'MUKM2', 'MUKM', "MVZ Kürzel") As REDUCTION,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;'' As OMIT&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;From [lib://X-Berechtigungen/Berechtigungen.xlsx]&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;(ooxml, embedded labels, table is MVZ)&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Where Aktiv = 'ja';&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Section Application;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;// Verbindung der MVZ-Felder für den Zugriff.&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;MVZ_Security:&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Load Distinct &lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Upper([MVZ-Kürzel]) As REDUCTION,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;[MVZ-Kürzel]&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;From [lib://MVZ-Sense/DVMvz.xlsx]&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;(ooxml, embedded labels, table is [Access]);&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, I am USER1 and (from my understanding) should be allowed to see all values of the REDUCTION field which are present in the access table - which should be TEST and the values I loaded from the Excel file.&lt;/P&gt;
&lt;P&gt;If I switch the REDUCTION field for USER3 to *, this works. But if I run this like you see above, I am also limited to just the TEST value for the reduction field, although I loaded the remaining possible values from the Excel file and concatenating them afterwards - what am I missing here?&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Nov 2023 09:49:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-Section-Access-Missing-Field-Values/m-p/2134884#M92227</guid>
      <dc:creator>alliedarmour</dc:creator>
      <dc:date>2023-11-06T09:49:58Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense Section Access - Missing Field Values</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-Section-Access-Missing-Field-Values/m-p/2134903#M92229</link>
      <description>&lt;P&gt;What happens if your revers the load-order and loading at first from the Excel and then adding the inline-admin-stuff?&lt;/P&gt;</description>
      <pubDate>Mon, 06 Nov 2023 10:22:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-Section-Access-Missing-Field-Values/m-p/2134903#M92229</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2023-11-06T10:22:39Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense Section Access - Missing Field Values</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-Section-Access-Missing-Field-Values/m-p/2134905#M92230</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/237020"&gt;@alliedarmour&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Could you create a sample qvw document with mock data with the actual vs expected result regarding data reduction per user?&lt;BR /&gt;Of course you would need to use only custom users as below:&lt;/P&gt;
&lt;P&gt;Section Access;&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;ACCESS, USERID, PASSWORD, NTNAME&lt;BR /&gt;USER, USER1, PWD1, *&lt;BR /&gt;USER, USER2, PWD2, *&lt;BR /&gt;ADMIN, ADMIN, ADM, *&lt;BR /&gt;];&lt;/P&gt;</description>
      <pubDate>Mon, 06 Nov 2023 10:51:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-Section-Access-Missing-Field-Values/m-p/2134905#M92230</guid>
      <dc:creator>agigliotti</dc:creator>
      <dc:date>2023-11-06T10:51:27Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense Section Access - Missing Field Values</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-Section-Access-Missing-Field-Values/m-p/2134909#M92231</link>
      <description>&lt;P&gt;Maybe could you do test removing the section access keyword in order to check what is really loaded in [Berechtigungen]?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Nov 2023 10:32:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-Section-Access-Missing-Field-Values/m-p/2134909#M92231</guid>
      <dc:creator>vincent_ardiet_</dc:creator>
      <dc:date>2023-11-06T10:32:36Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense Section Access - Missing Field Values</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-Section-Access-Missing-Field-Values/m-p/2134929#M92236</link>
      <description>&lt;P&gt;Okay,&amp;nbsp; I just found out myself&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grinning_face_with_sweat:"&gt;😅&lt;/span&gt;.&lt;/P&gt;
&lt;P&gt;So, just in case anyone else finds himself in this situation:&lt;/P&gt;
&lt;P&gt;The problem is the Where clause when loading the Excel-file. QS converts every field to uppercase when used in the section access, so instead of&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Where Aktiv = 'ja';&lt;/LI-CODE&gt;
&lt;P&gt;You'd have to use (just added the UPPER for clarification reasons):&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Where Upper(Aktiv) = 'JA';&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;This way, my script is working just as it should.&lt;/P&gt;
&lt;P&gt;Nevertheless thanks for your input!&lt;/P&gt;</description>
      <pubDate>Mon, 06 Nov 2023 11:00:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-Section-Access-Missing-Field-Values/m-p/2134929#M92236</guid>
      <dc:creator>alliedarmour</dc:creator>
      <dc:date>2023-11-06T11:00:43Z</dc:date>
    </item>
  </channel>
</rss>

