<?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: expression based on filter and osuser in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/expression-based-on-filter-and-osuser/m-p/1178721#M21697</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;sorry I am having issues using this expression with {$&amp;lt;UserID = {'$(=SubField(OSUser(), '=', -1))'}&amp;gt;}, this does not seem to work within use of an IF statement, how can it please be amended?&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;&lt;STRONG&gt;count({$&amp;lt;UserID = {'$(=SubField(OSUser(), '=', -1))'}&amp;gt;}CustID)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;also I have a table on a sheet...this gives me 0 or 1, how can I then limit the count to 1 on the table please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Aug 2016 14:12:27 GMT</pubDate>
    <dc:creator>joeybird</dc:creator>
    <dc:date>2016-08-12T14:12:27Z</dc:date>
    <item>
      <title>expression based on filter and osuser</title>
      <link>https://community.qlik.com/t5/App-Development/expression-based-on-filter-and-osuser/m-p/1178717#M21693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I only wish to sum on person logged in&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a text box that shows show's who's logged in via a windows login using&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;domain = OpenWorld&lt;/P&gt;&lt;P&gt;Username =jo111111&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;on text box expression is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;osuser()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this gives me UserDirectory=OpenWorld;UserId=jo111111&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a filterpane called UserId that contains jo111111&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there is a chart showing sales, my expression is like this, but it does not work I only wish to sum on person logged in&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum ({$&amp;lt;OSUser= {UserID}&amp;gt;}SALES)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can I get this to work please&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jul 2016 14:57:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/expression-based-on-filter-and-osuser/m-p/1178717#M21693</guid>
      <dc:creator>joeybird</dc:creator>
      <dc:date>2016-07-18T14:57:32Z</dc:date>
    </item>
    <item>
      <title>Re: expression based on filter and osuser</title>
      <link>https://community.qlik.com/t5/App-Development/expression-based-on-filter-and-osuser/m-p/1178718#M21694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about this:&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;&lt;STRONG&gt;Sum({$&amp;lt;UserID = {'$(=SubField(OSUser(), '=', -1))'}&amp;gt;}SALES)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jul 2016 15:00:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/expression-based-on-filter-and-osuser/m-p/1178718#M21694</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-07-18T15:00:22Z</dc:date>
    </item>
    <item>
      <title>Re: expression based on filter and osuser</title>
      <link>https://community.qlik.com/t5/App-Development/expression-based-on-filter-and-osuser/m-p/1178719#M21695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;fab , thank you x&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jul 2016 09:22:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/expression-based-on-filter-and-osuser/m-p/1178719#M21695</guid>
      <dc:creator>joeybird</dc:creator>
      <dc:date>2016-07-19T09:22:35Z</dc:date>
    </item>
    <item>
      <title>Re: expression based on filter and osuser</title>
      <link>https://community.qlik.com/t5/App-Development/expression-based-on-filter-and-osuser/m-p/1178720#M21696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No problem at all &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jul 2016 09:45:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/expression-based-on-filter-and-osuser/m-p/1178720#M21696</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-07-19T09:45:45Z</dc:date>
    </item>
    <item>
      <title>Re: expression based on filter and osuser</title>
      <link>https://community.qlik.com/t5/App-Development/expression-based-on-filter-and-osuser/m-p/1178721#M21697</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;sorry I am having issues using this expression with {$&amp;lt;UserID = {'$(=SubField(OSUser(), '=', -1))'}&amp;gt;}, this does not seem to work within use of an IF statement, how can it please be amended?&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;&lt;STRONG&gt;count({$&amp;lt;UserID = {'$(=SubField(OSUser(), '=', -1))'}&amp;gt;}CustID)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;also I have a table on a sheet...this gives me 0 or 1, how can I then limit the count to 1 on the table please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Aug 2016 14:12:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/expression-based-on-filter-and-osuser/m-p/1178721#M21697</guid>
      <dc:creator>joeybird</dc:creator>
      <dc:date>2016-08-12T14:12:27Z</dc:date>
    </item>
    <item>
      <title>Re: expression based on filter and osuser</title>
      <link>https://community.qlik.com/t5/App-Development/expression-based-on-filter-and-osuser/m-p/1178722#M21698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Within the if statement? Can you share the expression you are trying to use?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Aug 2016 14:14:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/expression-based-on-filter-and-osuser/m-p/1178722#M21698</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-08-12T14:14:04Z</dc:date>
    </item>
    <item>
      <title>Re: expression based on filter and osuser</title>
      <link>https://community.qlik.com/t5/App-Development/expression-based-on-filter-and-osuser/m-p/1178723#M21699</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;here is the IF statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(DFlag = 'No', MODE({$&amp;lt;[Country] ={"France"}, Department_Number = {1}, UserID = {'$(=SubField(OSUser(), '=', -1))'}&amp;gt;}Sales), mode({$&amp;lt;[Country] ={"France"}, Department_Number = {2}, UserID = {'$(=SubField(OSUser(), '=', -1))'}&amp;gt;}Sales))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Aug 2016 14:21:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/expression-based-on-filter-and-osuser/m-p/1178723#M21699</guid>
      <dc:creator>joeybird</dc:creator>
      <dc:date>2016-08-12T14:21:28Z</dc:date>
    </item>
    <item>
      <title>Re: expression based on filter and osuser</title>
      <link>https://community.qlik.com/t5/App-Development/expression-based-on-filter-and-osuser/m-p/1178724#M21700</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;please see below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Aug 2016 07:58:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/expression-based-on-filter-and-osuser/m-p/1178724#M21700</guid>
      <dc:creator>joeybird</dc:creator>
      <dc:date>2016-08-15T07:58:29Z</dc:date>
    </item>
    <item>
      <title>Re: expression based on filter and osuser</title>
      <link>https://community.qlik.com/t5/App-Development/expression-based-on-filter-and-osuser/m-p/1178725#M21701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you try this:&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;&lt;STRONG&gt;If(DFlag = 'No',&lt;/STRONG&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;&lt;STRONG&gt;Mode({$&amp;lt;[Country] = {'France'}, Department_Number = {1}, UserID = {&lt;SPAN style="color: #ff0000; font-size: 14pt;"&gt;"&lt;/SPAN&gt;$(=SubField(OSUser(), '=', -1))&lt;STRONG style=": ; color: #ff0000; font-size: 14pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;"&lt;/STRONG&gt;}&amp;gt;}Sales), Mode({$&amp;lt;[Country] = {'France'}, Department_Number = {2}, UserID = {&lt;STRONG style=": ; color: #ff0000; font-size: 14pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;"&lt;/STRONG&gt;$(=SubField(OSUser(), '=', -1))&lt;STRONG style=": ; color: #ff0000; font-size: 14pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;"&lt;/STRONG&gt;}&amp;gt;}Sales))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Aug 2016 09:15:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/expression-based-on-filter-and-osuser/m-p/1178725#M21701</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-08-15T09:15:40Z</dc:date>
    </item>
    <item>
      <title>Re: expression based on filter and osuser</title>
      <link>https://community.qlik.com/t5/App-Development/expression-based-on-filter-and-osuser/m-p/1178726#M21702</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;this worked, issue still with table chart on a sheet. any ideas please?&amp;nbsp; I have tried to use a flag, but no joy. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Aug 2016 13:42:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/expression-based-on-filter-and-osuser/m-p/1178726#M21702</guid>
      <dc:creator>joeybird</dc:creator>
      <dc:date>2016-08-15T13:42:55Z</dc:date>
    </item>
    <item>
      <title>Re: expression based on filter and osuser</title>
      <link>https://community.qlik.com/t5/App-Development/expression-based-on-filter-and-osuser/m-p/1178727#M21703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Issue with "table chart on a sheet"? Not sure what we are talking about here?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Aug 2016 13:44:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/expression-based-on-filter-and-osuser/m-p/1178727#M21703</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-08-15T13:44:34Z</dc:date>
    </item>
    <item>
      <title>Re: expression based on filter and osuser</title>
      <link>https://community.qlik.com/t5/App-Development/expression-based-on-filter-and-osuser/m-p/1178728#M21704</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 have used below&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;&lt;STRONG&gt;count({$&amp;lt;UserID = {'$(=SubField(OSUser(), '=', -1))'}&amp;gt;}CustID)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;on table on a sheet...this gives me 0 or 1, how can I then limit the count to 1 on the table please?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Aug 2016 13:46:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/expression-based-on-filter-and-osuser/m-p/1178728#M21704</guid>
      <dc:creator>joeybird</dc:creator>
      <dc:date>2016-08-15T13:46:15Z</dc:date>
    </item>
  </channel>
</rss>

