<?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: explination? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/explination/m-p/713943#M1053225</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;subfield([star excel],'\',substringcount(([star excel],'\')+1),2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;substringcount([star excel],'\')+1 ---&amp;gt; it will count how many '\' are there&amp;nbsp; suppose if we have 5 then it will add +1 then finally it is 6.&lt;/P&gt;&lt;P&gt;now it is subfield([star excel],'\',6,2)&lt;/P&gt;&lt;P&gt;here we have left(subfield([star excel],'\',6,2)&amp;nbsp; ----&amp;gt; here one more ')' is missed before 2.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Oct 2014 15:24:43 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-10-28T15:24:43Z</dc:date>
    <item>
      <title>explination?</title>
      <link>https://community.qlik.com/t5/QlikView/explination/m-p/713939#M1053221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;count(distinct(if(left(subfield([star excel],'\',substringcount(([star excel],'\')+1),2) &amp;lt;&amp;gt;'~$' and [x1flg]='n',[star excel]))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how it works pls explain me step by step?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 15:02:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/explination/m-p/713939#M1053221</guid>
      <dc:creator />
      <dc:date>2014-10-28T15:02:21Z</dc:date>
    </item>
    <item>
      <title>Re: explination?</title>
      <link>https://community.qlik.com/t5/QlikView/explination/m-p/713940#M1053222</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;Finally here if(subfield([star excel]&amp;lt;&amp;gt;'~$' and [x1flg]='n' then count(distinct[star excel])&lt;/P&gt;&lt;P&gt;here in the [star excel] we have data starts with '~$' so they used left and using of substringcount().&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 15:13:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/explination/m-p/713940#M1053222</guid>
      <dc:creator />
      <dc:date>2014-10-28T15:13:07Z</dc:date>
    </item>
    <item>
      <title>Re: explination?</title>
      <link>https://community.qlik.com/t5/QlikView/explination/m-p/713941#M1053223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Seems it counts the distinct [start excel] where the value after the last '\' doesn't begins with '~$'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In other words I think is to count the excel files wich are not temporary (filaname begins with ~$).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 15:15:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/explination/m-p/713941#M1053223</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2014-10-28T15:15:38Z</dc:date>
    </item>
    <item>
      <title>Re: explination?</title>
      <link>https://community.qlik.com/t5/QlikView/explination/m-p/713942#M1053224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how about &lt;BR /&gt;substringcount(([star excel],'\')+1),2)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 15:17:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/explination/m-p/713942#M1053224</guid>
      <dc:creator />
      <dc:date>2014-10-28T15:17:42Z</dc:date>
    </item>
    <item>
      <title>Re: explination?</title>
      <link>https://community.qlik.com/t5/QlikView/explination/m-p/713943#M1053225</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;subfield([star excel],'\',substringcount(([star excel],'\')+1),2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;substringcount([star excel],'\')+1 ---&amp;gt; it will count how many '\' are there&amp;nbsp; suppose if we have 5 then it will add +1 then finally it is 6.&lt;/P&gt;&lt;P&gt;now it is subfield([star excel],'\',6,2)&lt;/P&gt;&lt;P&gt;here we have left(subfield([star excel],'\',6,2)&amp;nbsp; ----&amp;gt; here one more ')' is missed before 2.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 15:24:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/explination/m-p/713943#M1053225</guid>
      <dc:creator />
      <dc:date>2014-10-28T15:24:43Z</dc:date>
    </item>
    <item>
      <title>Re: explination?</title>
      <link>https://community.qlik.com/t5/QlikView/explination/m-p/713944#M1053226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;substringcount(([star excel],'\')+1) counts the '\' values&lt;/P&gt;&lt;P&gt;it adds +1 for the subfield function to return the text after the last '\' it founds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The last ',2)' it's for the left expression, to return the first 2 characters of the string returned by the subfield function,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think there is and extra '(' after substringcount, also after the 'distinct' so it should be:&lt;/P&gt;&lt;P&gt;count(distinct if(left(subfield([star excel],'\',substringcount([star excel],'\')+1),2) &amp;lt;&amp;gt;'~$' and [x1flg]='n',[star excel]))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 15:36:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/explination/m-p/713944#M1053226</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2014-10-28T15:36:02Z</dc:date>
    </item>
  </channel>
</rss>

