<?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: Help with syntax error in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-with-syntax-error/m-p/656233#M239594</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok. Sorry. I reread the post but i'm unclear on the desired outcome.&amp;nbsp; Can you provide any more description or screenshot of what you want to see ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Based on what i've read , If the data field value equals the OSuser, you want to display the user name (and hide the rest) ? That would be an expression like this. The else clause evaluates to null() and those values would be hidden by default in a chart . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;= if ( UA.NTUserName = Upper(OSUser() )&amp;nbsp; ,UA.NTUserName )&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Aug 2014 12:54:05 GMT</pubDate>
    <dc:creator>JonnyPoole</dc:creator>
    <dc:date>2014-08-27T12:54:05Z</dc:date>
    <item>
      <title>Help with syntax error</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-syntax-error/m-p/656229#M239590</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;I’m trying to match NT user with list from a data file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= if (({$&amp;lt;UA.NTUserName = {'$(=Upper(OSUser()))'}) , [UA.Full Name],UA.NTUserName )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Lax&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Aug 2014 20:28:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-syntax-error/m-p/656229#M239590</guid>
      <dc:creator />
      <dc:date>2014-08-26T20:28:15Z</dc:date>
    </item>
    <item>
      <title>Re: Help with syntax error</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-syntax-error/m-p/656230#M239591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;does this work ? &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;if ( UA.NTUserName =&amp;nbsp; Upper(OSUser()) , [UA.Full Name], UA.NTUserName )&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Aug 2014 20:35:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-syntax-error/m-p/656230#M239591</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-08-26T20:35:26Z</dc:date>
    </item>
    <item>
      <title>Re: Help with syntax error</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-syntax-error/m-p/656231#M239592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonathan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see the correct condition&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= if (({$&amp;lt;UA.NTUserName = {'$(=Upper(OSUser()))'}) , ,UA.NTUserName )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Laxman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Aug 2014 20:39:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-syntax-error/m-p/656231#M239592</guid>
      <dc:creator />
      <dc:date>2014-08-26T20:39:30Z</dc:date>
    </item>
    <item>
      <title>Re: Help with syntax error</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-syntax-error/m-p/656232#M239593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, I'm trying to match OSUSER() with data field values "NTUserName" &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Aug 2014 20:53:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-syntax-error/m-p/656232#M239593</guid>
      <dc:creator />
      <dc:date>2014-08-26T20:53:47Z</dc:date>
    </item>
    <item>
      <title>Re: Help with syntax error</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-syntax-error/m-p/656233#M239594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok. Sorry. I reread the post but i'm unclear on the desired outcome.&amp;nbsp; Can you provide any more description or screenshot of what you want to see ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Based on what i've read , If the data field value equals the OSuser, you want to display the user name (and hide the rest) ? That would be an expression like this. The else clause evaluates to null() and those values would be hidden by default in a chart . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;= if ( UA.NTUserName = Upper(OSUser() )&amp;nbsp; ,UA.NTUserName )&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Aug 2014 12:54:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-syntax-error/m-p/656233#M239594</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-08-27T12:54:05Z</dc:date>
    </item>
    <item>
      <title>Re: Help with syntax error</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-syntax-error/m-p/656234#M239595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonathan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your response , please find the attached QVW file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Laxman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Aug 2014 13:10:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-syntax-error/m-p/656234#M239595</guid>
      <dc:creator />
      <dc:date>2014-08-27T13:10:10Z</dc:date>
    </item>
    <item>
      <title>Re: Help with syntax error</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-syntax-error/m-p/656235#M239596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did the workaround; please find the attached QVW file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Aug 2014 15:53:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-syntax-error/m-p/656235#M239596</guid>
      <dc:creator />
      <dc:date>2014-08-27T15:53:22Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Help with syntax error</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-syntax-error/m-p/656236#M239597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is a sample app&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;text box expression as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= if ( isnull( only(&amp;nbsp; {$&amp;lt;UA.NTUserName={'$(= upper(OSUser()))'}&amp;gt;}&amp;nbsp;&amp;nbsp; [UA.Full Name] ))=-1,'Different User', only(&amp;nbsp; {$&amp;lt;UA.NTUserName={'$(= upper(OSUser()))'}&amp;gt;}&amp;nbsp;&amp;nbsp; [UA.Full Name] ))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Aug 2014 17:40:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-syntax-error/m-p/656236#M239597</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-08-27T17:40:39Z</dc:date>
    </item>
    <item>
      <title>Re: Help with syntax error</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-syntax-error/m-p/656237#M239598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks it works ,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;so to match data value we need to use “ONLY” function &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I’m new to QlikView &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Laxman&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Aug 2014 18:39:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-syntax-error/m-p/656237#M239598</guid>
      <dc:creator />
      <dc:date>2014-08-27T18:39:53Z</dc:date>
    </item>
    <item>
      <title>Re: Help with syntax error</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-syntax-error/m-p/656238#M239599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;MMore specifically, to use set analysis it needs to be in the context of an aggregation function.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SInce you looking for only 1 textual value however, only() is the right aggregation function to use . &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Aug 2014 00:51:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-syntax-error/m-p/656238#M239599</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-08-28T00:51:22Z</dc:date>
    </item>
  </channel>
</rss>

