<?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 Right function returns incorrect results. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Right-function-returns-incorrect-results/m-p/1047076#M351904</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to filter results in a chart to count the number of items that DO NOT end with the character 'S'. &lt;/P&gt;&lt;P&gt;The expression I am using is: &lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;IF&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;right&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;LineItemNumber&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,1) &amp;lt;&amp;gt;'S',&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;TextCount&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;distinct&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;LineItemNumber&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;The results count all items.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;What is wrong with the syntax?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thank you.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Feb 2016 18:37:02 GMT</pubDate>
    <dc:creator>nancymarmat</dc:creator>
    <dc:date>2016-02-16T18:37:02Z</dc:date>
    <item>
      <title>Right function returns incorrect results.</title>
      <link>https://community.qlik.com/t5/QlikView/Right-function-returns-incorrect-results/m-p/1047076#M351904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to filter results in a chart to count the number of items that DO NOT end with the character 'S'. &lt;/P&gt;&lt;P&gt;The expression I am using is: &lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;IF&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;right&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;LineItemNumber&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,1) &amp;lt;&amp;gt;'S',&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;TextCount&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;distinct&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;LineItemNumber&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;The results count all items.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;What is wrong with the syntax?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thank you.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Feb 2016 18:37:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Right-function-returns-incorrect-results/m-p/1047076#M351904</guid>
      <dc:creator>nancymarmat</dc:creator>
      <dc:date>2016-02-16T18:37:02Z</dc:date>
    </item>
    <item>
      <title>Re: Right function returns incorrect results.</title>
      <link>https://community.qlik.com/t5/QlikView/Right-function-returns-incorrect-results/m-p/1047077#M351905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;TextCount(DISTINCT {&amp;lt;LineItemNumber -= {'*S'}&amp;gt;} LineItemNumber)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;TextCount(DISTINCT If(WildMatch(LineItemNumber,'*S'), LineItemNumber))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Feb 2016 19:06:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Right-function-returns-incorrect-results/m-p/1047077#M351905</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-02-16T19:06:18Z</dc:date>
    </item>
    <item>
      <title>Re: Right function returns incorrect results.</title>
      <link>https://community.qlik.com/t5/QlikView/Right-function-returns-incorrect-results/m-p/1047078#M351906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you.&amp;nbsp; That worked!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Feb 2016 19:13:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Right-function-returns-incorrect-results/m-p/1047078#M351906</guid>
      <dc:creator>nancymarmat</dc:creator>
      <dc:date>2016-02-16T19:13:56Z</dc:date>
    </item>
  </channel>
</rss>

