<?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 User in Edit Script Where Clause in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Qlik-User-in-Edit-Script-Where-Clause/m-p/1196390#M875897</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are using QV 12 server...&lt;/P&gt;&lt;P&gt;I tried to implement same using direct query like -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Section Access;&lt;/P&gt;&lt;P&gt;DIRECT QUERY&lt;/P&gt;&lt;P&gt;&amp;nbsp; DIMENSION&lt;/P&gt;&lt;P&gt;&amp;nbsp; 'USER' AS ACCESS&lt;/P&gt;&lt;P&gt;&amp;nbsp; MEASURE&lt;/P&gt;&lt;P&gt;&amp;nbsp; Upper(col1) as NTNAME,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Upper(col1) as TEST_NAME&lt;/P&gt;&lt;P&gt;FROM demo;&lt;/P&gt;&lt;P&gt;Section Application;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have also created a same column TEST_NAME and have checked the option of strict exclusion to True.&lt;/P&gt;&lt;P&gt;But its not working.&lt;/P&gt;&lt;P&gt;Any inputs&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Oct 2016 10:02:57 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-10-27T10:02:57Z</dc:date>
    <item>
      <title>Qlik User in Edit Script Where Clause</title>
      <link>https://community.qlik.com/t5/QlikView/Qlik-User-in-Edit-Script-Where-Clause/m-p/1196386#M875893</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;We are using direct discovery for one of our requirement, we found that -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data should be filtered w.r.t. logged in user, and we can not use Section access with Direct discovery.&lt;/P&gt;&lt;P&gt;In the View, we have one have one column which will contain username.&lt;/P&gt;&lt;P&gt;Can I have the filter condition in Direct discovery as -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DIRECT QUERY&lt;/P&gt;&lt;P&gt;DIMENSION&lt;/P&gt;&lt;P&gt;&amp;nbsp; 1 As Flag&lt;/P&gt;&lt;P&gt;MEASURE&lt;/P&gt;&lt;P&gt;&amp;nbsp; col1,&lt;/P&gt;&lt;P&gt;&amp;nbsp; col2,&lt;/P&gt;&lt;P&gt;&amp;nbsp; username&lt;/P&gt;&lt;P&gt;FROM "test_data";&lt;/P&gt;&lt;P&gt;where username = OSUser();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want the workaround something like above.&lt;/P&gt;&lt;P&gt;Could you please assist on same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;MK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlik-User-in-Edit-Script-Where-Clause/m-p/1196386#M875893</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik User in Edit Script Where Clause</title>
      <link>https://community.qlik.com/t5/QlikView/Qlik-User-in-Edit-Script-Where-Clause/m-p/1196387#M875894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I never tried that with direct discovery, but it looks feasible to me. Give a try and let know how it goes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2016 06:10:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlik-User-in-Edit-Script-Where-Clause/m-p/1196387#M875894</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2016-10-27T06:10:39Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik User in Edit Script Where Clause</title>
      <link>https://community.qlik.com/t5/QlikView/Qlik-User-in-Edit-Script-Where-Clause/m-p/1196388#M875895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try Something Like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;Note&lt;/STRONG&gt;: Please provide does it mandatory to show username as MEASURE. I've added this on DIMENSION Instead of MEASURE. Try Luck if this Works&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;DIRECT QUERY&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;DIMENSION&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp; 1 As Flag,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;username &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;MEASURE&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp; col1,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp; col2&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;FROM "test_data" where username = "OSUser()";&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2016 06:18:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlik-User-in-Edit-Script-Where-Clause/m-p/1196388#M875895</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-10-27T06:18:34Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik User in Edit Script Where Clause</title>
      <link>https://community.qlik.com/t5/QlikView/Qlik-User-in-Edit-Script-Where-Clause/m-p/1196389#M875896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you read this page: &lt;A href="http://help.qlik.com/en-US/sense/3.1/Subsystems/Hub/Content/DirectDiscovery/limitations-direct-discovery.htm" title="http://help.qlik.com/en-US/sense/3.1/Subsystems/Hub/Content/DirectDiscovery/limitations-direct-discovery.htm"&gt;Limitations when using Direct Discovery ‒ Qlik Sense &lt;/A&gt;‌&lt;SPAN style="font-size: 10pt;"&gt;you will find that Section Access is available with Direct Query, but only in the Server Mode&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/142199_Capture.PNG" style="height: 234px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2016 09:52:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlik-User-in-Edit-Script-Where-Clause/m-p/1196389#M875896</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-27T09:52:04Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik User in Edit Script Where Clause</title>
      <link>https://community.qlik.com/t5/QlikView/Qlik-User-in-Edit-Script-Where-Clause/m-p/1196390#M875897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are using QV 12 server...&lt;/P&gt;&lt;P&gt;I tried to implement same using direct query like -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Section Access;&lt;/P&gt;&lt;P&gt;DIRECT QUERY&lt;/P&gt;&lt;P&gt;&amp;nbsp; DIMENSION&lt;/P&gt;&lt;P&gt;&amp;nbsp; 'USER' AS ACCESS&lt;/P&gt;&lt;P&gt;&amp;nbsp; MEASURE&lt;/P&gt;&lt;P&gt;&amp;nbsp; Upper(col1) as NTNAME,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Upper(col1) as TEST_NAME&lt;/P&gt;&lt;P&gt;FROM demo;&lt;/P&gt;&lt;P&gt;Section Application;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have also created a same column TEST_NAME and have checked the option of strict exclusion to True.&lt;/P&gt;&lt;P&gt;But its not working.&lt;/P&gt;&lt;P&gt;Any inputs&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2016 10:02:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlik-User-in-Edit-Script-Where-Clause/m-p/1196390#M875897</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-27T10:02:57Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik User in Edit Script Where Clause</title>
      <link>https://community.qlik.com/t5/QlikView/Qlik-User-in-Edit-Script-Where-Clause/m-p/1196391#M875898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not entirely sure how exactly the direct query can be implemented, but I know the section access in direct query happens through QMC instead of doing it in the QlikView file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2016 10:04:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlik-User-in-Edit-Script-Where-Clause/m-p/1196391#M875898</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-27T10:04:45Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik User in Edit Script Where Clause</title>
      <link>https://community.qlik.com/t5/QlikView/Qlik-User-in-Edit-Script-Where-Clause/m-p/1196392#M875899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if that is the case, how we will run Direct query for updated users in QMC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2016 10:11:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlik-User-in-Edit-Script-Where-Clause/m-p/1196392#M875899</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-27T10:11:21Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik User in Edit Script Where Clause</title>
      <link>https://community.qlik.com/t5/QlikView/Qlik-User-in-Edit-Script-Where-Clause/m-p/1196393#M875900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You will need to reload the application. I think the idea for using direct query is to be updated on real time most of the time, but to update the list of users you can quickly reload it on the QMC. A direct query application reloads much faster than a regular application because it only pulls distinct values of DIMENSIONS into memory. So, you can plan to refresh this once a day when you know nobody else will be looking at this application.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2016 10:16:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlik-User-in-Edit-Script-Where-Clause/m-p/1196393#M875900</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-27T10:16:09Z</dc:date>
    </item>
  </channel>
</rss>

