<?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 Can I use Section Access in Button-&amp;gt;Show Conditional? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Can-I-use-Section-Access-in-Button-gt-Show-Conditional/m-p/1243841#M394670</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have made a dashboard which monitors budgets in my organisation. I have successfully implemented Section Access, to shield off budgets for those who shouldn't see them and vice versa.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the same dashboard, there is also a section, especially for directors and managers, which shows the KPI's. Now what I wanted to do, is put a button on the first sheet, which shows or hides through Section Access. To do this I added a second reduction field in SA, which I called 'SPECIAL', which only has one value, 'KPI'. For users who shouldn't see the button, I left the value blank. In my script, I added an Inline table called 'Kpi_access', in which there is 1 field (SPECIAL) and one value (KPI).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The button has a show condition Fieldindex('SPECIAL', 'KPI'). My thought was that users that hadn't the value KPI in their row in the excel file, should have 0 in this Fieldindex() function, thus hiding the button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A nice thought, but alas, it did not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thought anyone on how I should tackle this? Thanks in advance!! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; Please don't ask for the qvw, which is &amp;gt;500Mb...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Jan 2017 11:01:29 GMT</pubDate>
    <dc:creator>hansdevr</dc:creator>
    <dc:date>2017-01-13T11:01:29Z</dc:date>
    <item>
      <title>Can I use Section Access in Button-&gt;Show Conditional?</title>
      <link>https://community.qlik.com/t5/QlikView/Can-I-use-Section-Access-in-Button-gt-Show-Conditional/m-p/1243841#M394670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have made a dashboard which monitors budgets in my organisation. I have successfully implemented Section Access, to shield off budgets for those who shouldn't see them and vice versa.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the same dashboard, there is also a section, especially for directors and managers, which shows the KPI's. Now what I wanted to do, is put a button on the first sheet, which shows or hides through Section Access. To do this I added a second reduction field in SA, which I called 'SPECIAL', which only has one value, 'KPI'. For users who shouldn't see the button, I left the value blank. In my script, I added an Inline table called 'Kpi_access', in which there is 1 field (SPECIAL) and one value (KPI).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The button has a show condition Fieldindex('SPECIAL', 'KPI'). My thought was that users that hadn't the value KPI in their row in the excel file, should have 0 in this Fieldindex() function, thus hiding the button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A nice thought, but alas, it did not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thought anyone on how I should tackle this? Thanks in advance!! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; Please don't ask for the qvw, which is &amp;gt;500Mb...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jan 2017 11:01:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-I-use-Section-Access-in-Button-gt-Show-Conditional/m-p/1243841#M394670</guid>
      <dc:creator>hansdevr</dc:creator>
      <dc:date>2017-01-13T11:01:29Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use Section Access in Button-&gt;Show Conditional?</title>
      <link>https://community.qlik.com/t5/QlikView/Can-I-use-Section-Access-in-Button-gt-Show-Conditional/m-p/1243842#M394671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have never done this myself but there are ways to control the visibility of sheets and objects with section access, see:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" data-containerid="2049" data-containertype="14" data-objectid="5175" data-objecttype="102" href="https://community.qlik.com/docs/DOC-5175"&gt;&lt;SPAN lang="EN-GB" style="font-family: 'Arial',sans-serif;"&gt;Sheets Security with Section Access&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" data-containerid="2049" data-containertype="14" data-objectid="6078" data-objecttype="102" href="https://community.qlik.com/docs/DOC-6078"&gt;&lt;SPAN lang="EN-GB" style="font-family: 'Arial',sans-serif;"&gt;Sheets Security with Section Access File&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" data-containerid="2049" data-containertype="14" data-objectid="4962" data-objecttype="102" href="https://community.qlik.com/docs/DOC-4962"&gt;&lt;SPAN lang="EN-GB" style="font-family: 'Arial',sans-serif;"&gt;Section Access - Hide Sheet Level&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" data-containerid="2049" data-containertype="14" data-objectid="6331" data-objecttype="102" href="https://community.qlik.com/docs/DOC-6331"&gt;&lt;SPAN lang="EN-GB" style="font-family: 'Arial',sans-serif;"&gt;Chart Level Access by user&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" data-containerid="2049" data-containertype="14" data-objectid="4435" data-objecttype="102" href="https://community.qlik.com/docs/DOC-4435"&gt;&lt;SPAN lang="EN-GB" style="font-family: 'Arial',sans-serif;"&gt;Sheet level access&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A maybe simpler way could be just to use osuser() within the visibility of your sheets/objects, like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(match(osuser(), 'Director1', 'Manager1', ...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jan 2017 11:34:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-I-use-Section-Access-in-Button-gt-Show-Conditional/m-p/1243842#M394671</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2017-01-13T11:34:05Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use Section Access in Button-&gt;Show Conditional?</title>
      <link>https://community.qlik.com/t5/QlikView/Can-I-use-Section-Access-in-Button-gt-Show-Conditional/m-p/1243843#M394672</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;You can try to do something like this:&lt;/P&gt;&lt;P&gt;SECTION Access;&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; USERID, PASSWORD, ACCESS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ADMIN, ADMIN, ADMIN&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; USER1, USER1, USER&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; USER2, USER2, USER&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; USER3, USER3, USER&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;ViewAccessMatrix:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;USERID, SeeObject&lt;/P&gt;&lt;P&gt;ADMIN,1&lt;/P&gt;&lt;P&gt;USER1,0&lt;/P&gt;&lt;P&gt;USER2,0&lt;/P&gt;&lt;P&gt;USER3,1&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And finally in the object that you wanted to be displayed or not, you must put in the conditional of the object the next statement:&lt;/P&gt;&lt;P&gt;SeeObject=1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jan 2017 11:35:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-I-use-Section-Access-in-Button-gt-Show-Conditional/m-p/1243843#M394672</guid>
      <dc:creator>enriquem</dc:creator>
      <dc:date>2017-01-13T11:35:04Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use Section Access in Button-&gt;Show Conditional?</title>
      <link>https://community.qlik.com/t5/QlikView/Can-I-use-Section-Access-in-Button-gt-Show-Conditional/m-p/1243844#M394673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not quite sure how this would work, but I'll definitely check it out as well! Thnx, Enrique! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jan 2017 11:47:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-I-use-Section-Access-in-Button-gt-Show-Conditional/m-p/1243844#M394673</guid>
      <dc:creator>hansdevr</dc:creator>
      <dc:date>2017-01-13T11:47:06Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use Section Access in Button-&gt;Show Conditional?</title>
      <link>https://community.qlik.com/t5/QlikView/Can-I-use-Section-Access-in-Button-gt-Show-Conditional/m-p/1243845#M394674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Somehow my earlier reaction got lost, but here goes:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Marcus!! I'll check those links out!! However, your last suggestion seems more simple and straightfoward, so I'll try that first! Thanks again! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jan 2017 11:48:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-I-use-Section-Access-in-Button-gt-Show-Conditional/m-p/1243845#M394674</guid>
      <dc:creator>hansdevr</dc:creator>
      <dc:date>2017-01-13T11:48:51Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use Section Access in Button-&gt;Show Conditional?</title>
      <link>https://community.qlik.com/t5/QlikView/Can-I-use-Section-Access-in-Button-gt-Show-Conditional/m-p/1243846#M394675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you!! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jan 2017 12:40:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-I-use-Section-Access-in-Button-gt-Show-Conditional/m-p/1243846#M394675</guid>
      <dc:creator>enriquem</dc:creator>
      <dc:date>2017-01-13T12:40:29Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use Section Access in Button-&gt;Show Conditional?</title>
      <link>https://community.qlik.com/t5/QlikView/Can-I-use-Section-Access-in-Button-gt-Show-Conditional/m-p/1243847#M394676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It worked! Thanks. It's a simple but effective solution! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jan 2017 12:44:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-I-use-Section-Access-in-Button-gt-Show-Conditional/m-p/1243847#M394676</guid>
      <dc:creator>hansdevr</dc:creator>
      <dc:date>2017-01-13T12:44:37Z</dc:date>
    </item>
  </channel>
</rss>

