<?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 SubStringCount in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/SubStringCount/m-p/3289#M471</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can anyone please tell me why this SubStringCount command is selecting columns Department and Department Director&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SubStringCount(Concat(Column),"Department Director')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and how to change it, to pull only the Department Director column&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where column is the name of my column in my inline table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Jan 2018 20:45:31 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-01-18T20:45:31Z</dc:date>
    <item>
      <title>SubStringCount</title>
      <link>https://community.qlik.com/t5/QlikView/SubStringCount/m-p/3289#M471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can anyone please tell me why this SubStringCount command is selecting columns Department and Department Director&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SubStringCount(Concat(Column),"Department Director')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and how to change it, to pull only the Department Director column&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where column is the name of my column in my inline table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jan 2018 20:45:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SubStringCount/m-p/3289#M471</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-18T20:45:31Z</dc:date>
    </item>
    <item>
      <title>Re: SubStringCount</title>
      <link>https://community.qlik.com/t5/QlikView/SubStringCount/m-p/3290#M472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wouldn't expect this to count Department column. Are you sure "Department Director" column does not appear twice in your concatenated string? Double check by &lt;SPAN style="font-family: courier new, courier;"&gt;SubStringCount(Concat(distinct Column),'Department Director')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Juraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jan 2018 20:54:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SubStringCount/m-p/3290#M472</guid>
      <dc:creator>juraj_misina</dc:creator>
      <dc:date>2018-01-18T20:54:24Z</dc:date>
    </item>
    <item>
      <title>Re: SubStringCount</title>
      <link>https://community.qlik.com/t5/QlikView/SubStringCount/m-p/3291#M473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Juraj,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;positive, it like since the columns names are so similar it picking up both of them. I have another column that is doing the same thing too, Consult Hours Year 1 and Hours Year 1. But the rest of my 105 columns are working perfectly.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jan 2018 20:58:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SubStringCount/m-p/3291#M473</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-18T20:58:49Z</dc:date>
    </item>
    <item>
      <title>Re: SubStringCount</title>
      <link>https://community.qlik.com/t5/QlikView/SubStringCount/m-p/3292#M474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;in that case I'd try something like this, simply to make sure that my search string is not created by a random concatenation of values:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new, courier;"&gt;SubStringCount(Concat(distinct Column, '|')&amp;amp;'|','Department Director|')&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jan 2018 21:07:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SubStringCount/m-p/3292#M474</guid>
      <dc:creator>juraj_misina</dc:creator>
      <dc:date>2018-01-18T21:07:27Z</dc:date>
    </item>
    <item>
      <title>Re: SubStringCount</title>
      <link>https://community.qlik.com/t5/QlikView/SubStringCount/m-p/3293#M475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Juraj&lt;/P&gt;&lt;P&gt;no change.&amp;nbsp; My inline stream is like this&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;DynamicDimensions:&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;REPLACE&lt;/SPAN&gt; &lt;STRONG style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;&lt;BR /&gt; *&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;Inline&lt;/SPAN&gt; &lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt;"&gt;[&lt;BR /&gt; %DimCategory,Column&lt;BR /&gt; &lt;BR /&gt; R3, Department&lt;BR /&gt; R3, Department Director &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;if this helps. thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jan 2018 21:15:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SubStringCount/m-p/3293#M475</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-18T21:15:26Z</dc:date>
    </item>
    <item>
      <title>Re: SubStringCount</title>
      <link>https://community.qlik.com/t5/QlikView/SubStringCount/m-p/3294#M476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;David, it works perfectly with just these two lines of data, of course. Is this table connected to the rest of your data model? Is it possible that the value is counted twice because of incorrect association or some other reason on data model level?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jan 2018 21:28:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SubStringCount/m-p/3294#M476</guid>
      <dc:creator>juraj_misina</dc:creator>
      <dc:date>2018-01-18T21:28:41Z</dc:date>
    </item>
    <item>
      <title>Re: SubStringCount</title>
      <link>https://community.qlik.com/t5/QlikView/SubStringCount/m-p/3295#M477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SubStringCount(Concat(&lt;SPAN style="color: #ff0000;"&gt;DISTINCT '|' &amp;amp;&lt;/SPAN&gt; Column &lt;SPAN style="color: #ff0000;"&gt;&amp;amp; '|'&lt;/SPAN&gt;),'&lt;SPAN style="color: #ff0000;"&gt;|&lt;/SPAN&gt;Department Director&lt;SPAN style="color: #ff0000;"&gt;|&lt;/SPAN&gt;')&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jan 2018 22:26:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SubStringCount/m-p/3295#M477</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-01-18T22:26:16Z</dc:date>
    </item>
    <item>
      <title>Re: SubStringCount</title>
      <link>https://community.qlik.com/t5/QlikView/SubStringCount/m-p/3296#M478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you everyone, this worked perfectly.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jan 2018 14:34:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SubStringCount/m-p/3296#M478</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-19T14:34:26Z</dc:date>
    </item>
    <item>
      <title>Re: SubStringCount</title>
      <link>https://community.qlik.com/t5/QlikView/SubStringCount/m-p/3297#M479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please close the thread if you got what you wanted by marking the correct and helpful responses.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-14806"&gt;Qlik Community Tip: Marking Replies as Correct or Helpful&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jan 2018 14:37:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SubStringCount/m-p/3297#M479</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-01-19T14:37:11Z</dc:date>
    </item>
  </channel>
</rss>

