<?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: Count with Set Analysis Search in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-with-Set-Analysis-Search/m-p/932107#M322121</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you share a sample application where you are trying to do this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Oct 2015 23:09:46 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2015-10-20T23:09:46Z</dc:date>
    <item>
      <title>Count with Set Analysis Search</title>
      <link>https://community.qlik.com/t5/QlikView/Count-with-Set-Analysis-Search/m-p/932106#M322120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Trying to accomplish count of stores if Season to Date sum of shipped units greater than zero.&amp;nbsp; &lt;/P&gt;&lt;P&gt;- Having trouble with Set Analysis, as it doesn't seem like you can do a set analysis search within a search... Expression I am trying that is not working:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count({&amp;lt;Store = {"=sum({$(vReleaseDates),season={"$(=max(season))"} }Shipped)"}&amp;gt;}Distinct Store)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that vReleaseDates simply releases the dates for the Season To Date to have the expected effect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the issue has to do with embedding search expressions within the set analysis' second layer.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to do this without an IF statement??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2015 21:34:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-with-Set-Analysis-Search/m-p/932106#M322120</guid>
      <dc:creator />
      <dc:date>2015-10-20T21:34:38Z</dc:date>
    </item>
    <item>
      <title>Re: Count with Set Analysis Search</title>
      <link>https://community.qlik.com/t5/QlikView/Count-with-Set-Analysis-Search/m-p/932107#M322121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you share a sample application where you are trying to do this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2015 23:09:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-with-Set-Analysis-Search/m-p/932107#M322121</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-10-20T23:09:46Z</dc:date>
    </item>
    <item>
      <title>Re: Count with Set Analysis Search</title>
      <link>https://community.qlik.com/t5/QlikView/Count-with-Set-Analysis-Search/m-p/932108#M322122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So how does the content of vReleaseDates look like?&amp;nbsp; You seem to lack some angle brackets there ... the &amp;lt; and &amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Oct 2015 00:22:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-with-Set-Analysis-Search/m-p/932108#M322122</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2015-10-21T00:22:07Z</dc:date>
    </item>
    <item>
      <title>Re: Count with Set Analysis Search</title>
      <link>https://community.qlik.com/t5/QlikView/Count-with-Set-Analysis-Search/m-p/932109#M322123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Your expression is not totaly clear.&lt;/P&gt;&lt;P&gt;What the &lt;STRONG&gt;season={"$(=max(season))"}&lt;/STRONG&gt; stands for? You are not talking about that in your explanation.&lt;/P&gt;&lt;P&gt;And like Peter said, your expression seems unbalanced. Can you replace &lt;STRONG&gt;$(&lt;/STRONG&gt;&lt;STRONG&gt;vReleaseDates)&lt;/STRONG&gt; by its content?&lt;/P&gt;&lt;P&gt;But, on the paper, what you ask for seems feasible with set analysis.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Oct 2015 03:01:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-with-Set-Analysis-Search/m-p/932109#M322123</guid>
      <dc:creator>vincent_ardiet</dc:creator>
      <dc:date>2015-10-21T03:01:57Z</dc:date>
    </item>
    <item>
      <title>Re: Count with Set Analysis Search</title>
      <link>https://community.qlik.com/t5/QlikView/Count-with-Set-Analysis-Search/m-p/932110#M322124</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;Try like this&lt;/P&gt;&lt;P&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;Count({&amp;lt;Store = {"=sum({&lt;STRONG&gt;&amp;lt;[&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Season To Date]=&lt;/STRONG&gt;{&lt;/SPAN&gt;$(vReleaseDates)},season={"$(=max(season))"}&amp;gt; }Shipped)"}&amp;gt;}Distinct Store)&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;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;Note: &lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Season To Date] with your actual field name.&lt;/STRONG&gt;&lt;/SPAN&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;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;Hope this helps you.&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;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;Regards,&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;Jagan.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Oct 2015 03:37:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-with-Set-Analysis-Search/m-p/932110#M322124</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2015-10-21T03:37:12Z</dc:date>
    </item>
    <item>
      <title>Re: Count with Set Analysis Search</title>
      <link>https://community.qlik.com/t5/QlikView/Count-with-Set-Analysis-Search/m-p/932111#M322125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are missing the angle brackets and i would replace the inner quotes with single quotes. Are you trying to do this on a row by row basis? Set analysis is evaluated once for the entire chart and not once per row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It also depends a lot on how vReleaseDates is defined, Test and develop the expression with literal text before replacing the text with a variable.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Oct 2015 05:24:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-with-Set-Analysis-Search/m-p/932111#M322125</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-10-21T05:24:41Z</dc:date>
    </item>
    <item>
      <title>Re: Count with Set Analysis Search</title>
      <link>https://community.qlik.com/t5/QlikView/Count-with-Set-Analysis-Search/m-p/932112#M322126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;‌Missing angle braces are simply a typo from typing it into the community.&amp;nbsp; i don't think vReleaseDates is the issue.. It just says to ignore selections in various date fields.&amp;nbsp; e.g. Week=,Month=,Year=,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will try to construct an example QVW later on.&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, 21 Oct 2015 11:23:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-with-Set-Analysis-Search/m-p/932112#M322126</guid>
      <dc:creator />
      <dc:date>2015-10-21T11:23:40Z</dc:date>
    </item>
  </channel>
</rss>

