<?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 OSUser - Set Analysis in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/OSUser-Set-Analysis/m-p/1201498#M22781</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to use Set Analysis to show sales for the user who is logged in, using the following code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;PAIDREPUser="{=SubField(OSUser(),'UserId=',2)}"&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The &lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;SubField(OSUser(),'UserId=',2) &lt;/STRONG&gt;returns the user correctly and the PAIDREPUser field also returns the right name in the right format. However, when I put them together in the Analysis set I can't seem to get any result.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Any ideas what I'm doing wrong?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 31 Oct 2016 10:55:08 GMT</pubDate>
    <dc:creator>seniorps</dc:creator>
    <dc:date>2016-10-31T10:55:08Z</dc:date>
    <item>
      <title>OSUser - Set Analysis</title>
      <link>https://community.qlik.com/t5/App-Development/OSUser-Set-Analysis/m-p/1201498#M22781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to use Set Analysis to show sales for the user who is logged in, using the following code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;PAIDREPUser="{=SubField(OSUser(),'UserId=',2)}"&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The &lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;SubField(OSUser(),'UserId=',2) &lt;/STRONG&gt;returns the user correctly and the PAIDREPUser field also returns the right name in the right format. However, when I put them together in the Analysis set I can't seem to get any result.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Any ideas what I'm doing wrong?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Oct 2016 10:55:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/OSUser-Set-Analysis/m-p/1201498#M22781</guid>
      <dc:creator>seniorps</dc:creator>
      <dc:date>2016-10-31T10:55:08Z</dc:date>
    </item>
    <item>
      <title>Re: OSUser - Set Analysis</title>
      <link>https://community.qlik.com/t5/App-Development/OSUser-Set-Analysis/m-p/1201499#M22782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Paul&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looks like your set analysis syntax is wrong&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; font-size: 13px;"&gt;sum({$&amp;lt;PAIDREPUser={&lt;STRONG&gt;"&lt;/STRONG&gt;=SubField(OSUser(),'UserId=',2)&lt;STRONG&gt;"&lt;/STRONG&gt;}&amp;gt;}Sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;your double quotes outside brackets.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&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; font-size: 13px;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Marco&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Nov 2016 07:41:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/OSUser-Set-Analysis/m-p/1201499#M22782</guid>
      <dc:creator>marcohadiyanto</dc:creator>
      <dc:date>2016-11-02T07:41:51Z</dc:date>
    </item>
    <item>
      <title>Re: OSUser - Set Analysis</title>
      <link>https://community.qlik.com/t5/App-Development/OSUser-Set-Analysis/m-p/1201500#M22783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sum({$&amp;lt;PAIDREPUser={"$(=SubField(OSUser(), '&lt;SPAN style="font-size: 13.3333px;"&gt;UserId=2&lt;/SPAN&gt;', 2))"}&amp;gt;} Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Nov 2016 08:02:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/OSUser-Set-Analysis/m-p/1201500#M22783</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2016-11-02T08:02:54Z</dc:date>
    </item>
    <item>
      <title>Re: OSUser - Set Analysis</title>
      <link>https://community.qlik.com/t5/App-Development/OSUser-Set-Analysis/m-p/1201501#M22784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({$&amp;lt;PAIDREPUser = {&lt;SPAN style="color: #ff0000; font-size: 12pt;"&gt;"$(=&lt;/SPAN&gt;SubField(OSUser(), 'UserId=', 2)&lt;SPAN style="color: #ff0000; font-size: 12pt;"&gt;)"&lt;/SPAN&gt;}&amp;gt;}Sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Nov 2016 08:45:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/OSUser-Set-Analysis/m-p/1201501#M22784</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-11-02T08:45:26Z</dc:date>
    </item>
  </channel>
</rss>

