<?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 Conditional Show Sheet Not Equal Syntax in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Conditional-Show-Sheet-Not-Equal-Syntax/m-p/411480#M487986</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;In the sheet properties, I am trying to set the Show Sheet/Conditional feature to prevent select users from viewing the sheet based on an expression.&amp;nbsp; But my syntax is incorrect.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;I know how to &lt;SPAN style="text-decoration: underline;"&gt;&lt;SPAN style="text-decoration: underline;"&gt;enable&lt;/SPAN&gt;&lt;/SPAN&gt; select users to view a sheet through sheet properties, using syntax such as this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;OSUser()= 'usernamehere'.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;However, I'm trying to do the inverse - &lt;SPAN style="text-decoration: underline;"&gt;&lt;SPAN style="text-decoration: underline;"&gt;disable&lt;/SPAN&gt;&lt;/SPAN&gt; select users from viewing the sheet.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;I've tried using the following the syntax combinations:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;OSUser() &amp;lt;&amp;gt; 'usernamehere'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;OSUser() -=&amp;nbsp; 'usernamehere'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;Neither of my not-equal expressions works.&amp;nbsp; Would anyone know of a solution?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;Other notes:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;Under Settings/Document Properties/Security, I have the 'Show All Sheets and Objects' box not checked.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;Under Settings/Document Properties/Sheets, the sheet I'm trying to hide has a status of Conditional: Normal.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Feb 2013 19:00:51 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-02-06T19:00:51Z</dc:date>
    <item>
      <title>Conditional Show Sheet Not Equal Syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Show-Sheet-Not-Equal-Syntax/m-p/411480#M487986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;In the sheet properties, I am trying to set the Show Sheet/Conditional feature to prevent select users from viewing the sheet based on an expression.&amp;nbsp; But my syntax is incorrect.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;I know how to &lt;SPAN style="text-decoration: underline;"&gt;&lt;SPAN style="text-decoration: underline;"&gt;enable&lt;/SPAN&gt;&lt;/SPAN&gt; select users to view a sheet through sheet properties, using syntax such as this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;OSUser()= 'usernamehere'.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;However, I'm trying to do the inverse - &lt;SPAN style="text-decoration: underline;"&gt;&lt;SPAN style="text-decoration: underline;"&gt;disable&lt;/SPAN&gt;&lt;/SPAN&gt; select users from viewing the sheet.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;I've tried using the following the syntax combinations:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;OSUser() &amp;lt;&amp;gt; 'usernamehere'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;OSUser() -=&amp;nbsp; 'usernamehere'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;Neither of my not-equal expressions works.&amp;nbsp; Would anyone know of a solution?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;Other notes:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;Under Settings/Document Properties/Security, I have the 'Show All Sheets and Objects' box not checked.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;Under Settings/Document Properties/Sheets, the sheet I'm trying to hide has a status of Conditional: Normal.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2013 19:00:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Show-Sheet-Not-Equal-Syntax/m-p/411480#M487986</guid>
      <dc:creator />
      <dc:date>2013-02-06T19:00:51Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Show Sheet Not Equal Syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Show-Sheet-Not-Equal-Syntax/m-p/411481#M487987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What about:&lt;/P&gt;&lt;P&gt;if(&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;OSUser()= 'usernamehere', 0, 1)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2013 19:02:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Show-Sheet-Not-Equal-Syntax/m-p/411481#M487987</guid>
      <dc:creator>Nicole-Smith</dc:creator>
      <dc:date>2013-02-06T19:02:54Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Show Sheet Not Equal Syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Show-Sheet-Not-Equal-Syntax/m-p/411482#M487988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, Nichole.&amp;nbsp; I tried that approach, but my test user can still view the tab even with the following restriction.&lt;/P&gt;&lt;P&gt;if(&lt;SPAN style="font-family: 'Arial', 'sans-serif'; color: #333333; font-size: 10pt;"&gt;OSUser()= 'usernamehere', 0, 1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial', 'sans-serif'; color: #333333; font-size: 10pt;"&gt;I keep wondering if there is a conflict with the Document Property Settings, but I don't see anything obvious.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2013 20:06:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Show-Sheet-Not-Equal-Syntax/m-p/411482#M487988</guid>
      <dc:creator />
      <dc:date>2013-02-06T20:06:39Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Show Sheet Not Equal Syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Show-Sheet-Not-Equal-Syntax/m-p/411483#M487989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, Nichole.&amp;nbsp; I tried that approach, but my test user can still view the tab even with the following restriction.&lt;/P&gt;&lt;P&gt;if(&lt;SPAN style="font-family: 'Arial', 'sans-serif'; color: #333333; font-size: 10pt;"&gt;OSUser()= 'usernamehere', 0, 1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial', 'sans-serif'; color: #333333; font-size: 10pt;"&gt;I keep wondering if there is a conflict with the Document Property Settings, but I don't see anything obvious.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2013 20:06:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Show-Sheet-Not-Equal-Syntax/m-p/411483#M487989</guid>
      <dc:creator />
      <dc:date>2013-02-06T20:06:58Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Show Sheet Not Equal Syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Show-Sheet-Not-Equal-Syntax/m-p/411484#M487990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;Not(osuser()='username')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2013 20:34:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Show-Sheet-Not-Equal-Syntax/m-p/411484#M487990</guid>
      <dc:creator />
      <dc:date>2013-02-06T20:34:40Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Show Sheet Not Equal Syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Show-Sheet-Not-Equal-Syntax/m-p/411485#M487991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nigel, your proposal worked when I was trying to exclude a single user.&amp;nbsp; But I have multiple users to exclude.&amp;nbsp; Would you know the correct syntax when I'm excluding multiple users? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WORKS FOR SINGLE USER:&lt;/P&gt;&lt;P&gt;Not(OSUser()= 'username1'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FAILS FOR MULTIPLE USERS:&lt;/P&gt;&lt;P&gt;Not(OSUser()= 'username1' OR&lt;/P&gt;&lt;P&gt;Not(OSUser()= 'username2'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ALSO FAILED with this syntax:&lt;/P&gt;&lt;P&gt;Not(OSUser()= 'username1', 'username2')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2013 20:55:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Show-Sheet-Not-Equal-Syntax/m-p/411485#M487991</guid>
      <dc:creator />
      <dc:date>2013-02-06T20:55:25Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Show Sheet Not Equal Syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Show-Sheet-Not-Equal-Syntax/m-p/411486#M487992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&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;=Not(Match(OSUser(), 'username1', 'username2'))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2013 21:18:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Show-Sheet-Not-Equal-Syntax/m-p/411486#M487992</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2013-02-06T21:18:51Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Show Sheet Not Equal Syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Show-Sheet-Not-Equal-Syntax/m-p/411487#M487993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This solution works.&amp;nbsp; I'm testing it under some other circumstances.&amp;nbsp; Thanks for everyone's input.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2013 21:40:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Show-Sheet-Not-Equal-Syntax/m-p/411487#M487993</guid>
      <dc:creator />
      <dc:date>2013-02-06T21:40:28Z</dc:date>
    </item>
  </channel>
</rss>

