<?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: Cannot output all data when using left &amp; index in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Cannot-output-all-data-when-using-left-index/m-p/300528#M1193463</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Krishnamoorthy, also works great.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For some reason, I couldn't mark yours as correct as well.&amp;nbsp; Maybe as I'd already marked Ronald's as correct.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Jul 2011 13:48:31 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-07-25T13:48:31Z</dc:date>
    <item>
      <title>Cannot output all data when using left &amp; index</title>
      <link>https://community.qlik.com/t5/QlikView/Cannot-output-all-data-when-using-left-index/m-p/300523#M1193458</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 a list of names of which some contain (&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the code below to take the values prior to the ( which works great.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;left(a.name, index(a.name,'(') -1) as [Name]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, the values without any ( aren't returned.&amp;nbsp; What's the best way to add them in?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gwyn&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jul 2011 15:25:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cannot-output-all-data-when-using-left-index/m-p/300523#M1193458</guid>
      <dc:creator />
      <dc:date>2011-07-22T15:25:14Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot output all data when using left &amp; index</title>
      <link>https://community.qlik.com/t5/QlikView/Cannot-output-all-data-when-using-left-index/m-p/300524#M1193459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Gwyn,&lt;/P&gt;&lt;P&gt;you should use an if()-statement similar to this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load . . .&lt;/P&gt;&lt;P&gt;If( index(a.name,'(')) &amp;gt; 0, left(a.name, index(a.name,'(') -1), a.name) AS Name,&lt;/P&gt;&lt;P&gt;. . .&lt;/P&gt;&lt;P&gt;Regards, Roland&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jul 2011 12:57:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cannot-output-all-data-when-using-left-index/m-p/300524#M1193459</guid>
      <dc:creator />
      <dc:date>2011-07-25T12:57:57Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot output all data when using left &amp; index</title>
      <link>https://community.qlik.com/t5/QlikView/Cannot-output-all-data-when-using-left-index/m-p/300525#M1193460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please upload ur file &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jul 2011 13:11:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cannot-output-all-data-when-using-left-index/m-p/300525#M1193460</guid>
      <dc:creator>perumal_41</dc:creator>
      <dc:date>2011-07-25T13:11:31Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot output all data when using left &amp; index</title>
      <link>https://community.qlik.com/t5/QlikView/Cannot-output-all-data-when-using-left-index/m-p/300526#M1193461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try the following script, it works for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;SubField(a.Name,'(',1) as Name&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jul 2011 13:23:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cannot-output-all-data-when-using-left-index/m-p/300526#M1193461</guid>
      <dc:creator>nagaiank</dc:creator>
      <dc:date>2011-07-25T13:23:59Z</dc:date>
    </item>
    <item>
      <title>Cannot output all data when using left &amp; index</title>
      <link>https://community.qlik.com/t5/QlikView/Cannot-output-all-data-when-using-left-index/m-p/300527#M1193462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Cheers Ronald, works great&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jul 2011 13:47:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cannot-output-all-data-when-using-left-index/m-p/300527#M1193462</guid>
      <dc:creator />
      <dc:date>2011-07-25T13:47:46Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot output all data when using left &amp; index</title>
      <link>https://community.qlik.com/t5/QlikView/Cannot-output-all-data-when-using-left-index/m-p/300528#M1193463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Krishnamoorthy, also works great.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For some reason, I couldn't mark yours as correct as well.&amp;nbsp; Maybe as I'd already marked Ronald's as correct.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jul 2011 13:48:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cannot-output-all-data-when-using-left-index/m-p/300528#M1193463</guid>
      <dc:creator />
      <dc:date>2011-07-25T13:48:31Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot output all data when using left &amp; index</title>
      <link>https://community.qlik.com/t5/QlikView/Cannot-output-all-data-when-using-left-index/m-p/300529#M1193464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can try to use subfield instead of your expression: &lt;/P&gt;&lt;P&gt;=SubField(a.name, '(', 1)&lt;/P&gt;&lt;P&gt;It will return everything if it doesn't find the bracket&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jul 2011 14:10:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cannot-output-all-data-when-using-left-index/m-p/300529#M1193464</guid>
      <dc:creator>erichshiino</dc:creator>
      <dc:date>2011-07-25T14:10:30Z</dc:date>
    </item>
  </channel>
</rss>

