<?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: SET analysis with substringcount and concat in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/SET-analysis-with-substringcount-and-concat/m-p/1118481#M910991</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;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&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;Count({$&amp;lt;ProjectTaxonomy={'Investment'}, ProjectWorkStatus={'Started'}, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;ProgramID = e({&amp;lt;&lt;/SPAN&gt;TaskImpMilestone ={'Yes'}&amp;gt;})&amp;gt;} ProgramID)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Jun 2016 22:41:40 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-06-03T22:41:40Z</dc:date>
    <item>
      <title>SET analysis with substringcount and concat</title>
      <link>https://community.qlik.com/t5/QlikView/SET-analysis-with-substringcount-and-concat/m-p/1118477#M910985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a chart w/ 4 dimensions and 7 expressions:&lt;IMG alt="" class="jive-image image-1" height="191" src="https://community.qlik.com/legacyfs/online/126737_pastedImage_0.png" style="width: 845.857px; height: 191px;" width="846" /&gt;&lt;/P&gt;&lt;P&gt;My expression all the way to the right ("no implementation milestone") is supposed to count projects (by ID) that do not have an implementation milestone (there are multiple milestones per project and an implementation milestone would be marked "yes" in the "TaskImpMilestone" field).&amp;nbsp; Also-- I only want to count projects with a status of "Started" and a taxonomy of "Investment".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was able to identify those projects in a separate chart by concatenating the TaskImpMilestone field and counting everything that did not have "Yes" in the string.. Now when I try to add the same set analysis below to the chart pictured above it is counting projects from all taxonomies and statuses other than "Investment" and "Started".. &lt;/P&gt;&lt;P&gt;=If(SubStringCount(concat({&amp;lt;ProjectTaxonomy={'Investment'},ProjectWorkStatus={'Started'}&amp;gt;} DISTINCT TaskImpMilestone),'Yes')=1,0,1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone have any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SET-analysis-with-substringcount-and-concat/m-p/1118477#M910985</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: SET analysis with substringcount and concat</title>
      <link>https://community.qlik.com/t5/QlikView/SET-analysis-with-substringcount-and-concat/m-p/1118478#M910986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Julian,&lt;/P&gt;&lt;P&gt;Try:&lt;/P&gt;&lt;P&gt;Count({$&amp;lt;ProjectTaxonomy={'Investment'},ProjectWorkStatus={'Started'}, TaskImpMilestone ={"&amp;lt;&amp;gt; 'yes'"}&amp;gt;}ProgramID)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good Luck&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS In the bracket &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;{"&amp;lt;&amp;gt; 'yes'"} make sure the case of 'yes' is correct. I can't remember if this is case sensitive. In your question it wasn't quite clear if this field was marked as 'yes' or 'Yes'.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jun 2016 21:05:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SET-analysis-with-substringcount-and-concat/m-p/1118478#M910986</guid>
      <dc:creator>effinty2112</dc:creator>
      <dc:date>2016-06-02T21:05:18Z</dc:date>
    </item>
    <item>
      <title>Re: SET analysis with substringcount and concat</title>
      <link>https://community.qlik.com/t5/QlikView/SET-analysis-with-substringcount-and-concat/m-p/1118479#M910988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count({$&amp;lt;ProjectTaxonomy={'Investment'},ProjectWorkStatus={'Started'}, TaskImpMilestone =-{'yes'}&amp;gt;}[Project ID])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(please note the - before {'yes'} )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EDIT: Changed ProgramID to [Project ID]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jun 2016 08:38:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SET-analysis-with-substringcount-and-concat/m-p/1118479#M910988</guid>
      <dc:creator />
      <dc:date>2016-06-03T08:38:32Z</dc:date>
    </item>
    <item>
      <title>Re: SET analysis with substringcount and concat</title>
      <link>https://community.qlik.com/t5/QlikView/SET-analysis-with-substringcount-and-concat/m-p/1118480#M910989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Neither of those returned any records for me..&amp;nbsp; I don't think those would work anyways because it's not just the ones that &amp;lt;&amp;gt; 'Yes' that I'm looking for.. some projects would have nulls as they do not have any milestones at all...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jun 2016 21:15:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SET-analysis-with-substringcount-and-concat/m-p/1118480#M910989</guid>
      <dc:creator />
      <dc:date>2016-06-03T21:15:48Z</dc:date>
    </item>
    <item>
      <title>Re: SET analysis with substringcount and concat</title>
      <link>https://community.qlik.com/t5/QlikView/SET-analysis-with-substringcount-and-concat/m-p/1118481#M910991</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;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&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;Count({$&amp;lt;ProjectTaxonomy={'Investment'}, ProjectWorkStatus={'Started'}, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;ProgramID = e({&amp;lt;&lt;/SPAN&gt;TaskImpMilestone ={'Yes'}&amp;gt;})&amp;gt;} ProgramID)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jun 2016 22:41:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SET-analysis-with-substringcount-and-concat/m-p/1118481#M910991</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-06-03T22:41:40Z</dc:date>
    </item>
    <item>
      <title>Re: SET analysis with substringcount and concat</title>
      <link>https://community.qlik.com/t5/QlikView/SET-analysis-with-substringcount-and-concat/m-p/1118482#M910992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sunny-- This got me a little closer but my total is still off..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/126882_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My other table that I'm using to compare has 748..&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/126883_pastedImage_1.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Julian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Jun 2016 14:27:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SET-analysis-with-substringcount-and-concat/m-p/1118482#M910992</guid>
      <dc:creator />
      <dc:date>2016-06-05T14:27:27Z</dc:date>
    </item>
    <item>
      <title>Re: SET analysis with substringcount and concat</title>
      <link>https://community.qlik.com/t5/QlikView/SET-analysis-with-substringcount-and-concat/m-p/1118483#M910993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Count(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;{$&amp;lt;&lt;STRONG style="color: #3d3d3d; font-family: inherit; font-size: 13.3333px; font-style: inherit;"&gt;ProjectTaxonomy={'Investment'}, ProjectWorkStatus={'Started'},&lt;/STRONG&gt; &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;EM&gt;[Project ID] &lt;/EM&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;= e({&amp;lt;&lt;/SPAN&gt;TaskImpMilestone ={'Yes'}&amp;gt;}) &amp;gt;}&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;EM&gt;DISTINCT [Project ID]&lt;/EM&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;But with set analysis, it's vital that we know how the fields that are used in the set analysis are related to each other and what the possible value range of these sets are.&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;If nothing of above really works out, it's much more easy to help if you can post a small sample QVW.&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;I can't really see why your expression you are using successfully in your one table shouldn't work in the other as well, so I think we are missing the full picture here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Jun 2016 21:58:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SET-analysis-with-substringcount-and-concat/m-p/1118483#M910993</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-06-05T21:58:18Z</dc:date>
    </item>
    <item>
      <title>Re: SET analysis with substringcount and concat</title>
      <link>https://community.qlik.com/t5/QlikView/SET-analysis-with-substringcount-and-concat/m-p/1118484#M910994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That one seems to have worked.. the counts match.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jun 2016 17:00:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SET-analysis-with-substringcount-and-concat/m-p/1118484#M910994</guid>
      <dc:creator />
      <dc:date>2016-06-06T17:00:12Z</dc:date>
    </item>
  </channel>
</rss>

