<?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 - Wildmatch within Count Distinct in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Wildmatch-within-Count-Distinct/m-p/406074#M484183</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;count({$&amp;lt;[Group ID] = {'=COUNT({&amp;lt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt; [Benefit Package Code]&lt;/SPAN&gt;={"HMO*"}&amp;gt;} DISTINCT [Benefit Package Code]) &amp;gt; 1'}&amp;gt;} distinct([Group ID] ))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 May 2013 13:43:25 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2013-05-24T13:43:25Z</dc:date>
    <item>
      <title>Set Analysis - Wildmatch within Count Distinct</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Wildmatch-within-Count-Distinct/m-p/406072#M484181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In my expression below "Set Analysis 1" works fine. I tried to modify slighly to add the wildmatch function to count only the distinct Benefit Package Codes that begin with HMO, Not sure what I am doing wrong but "Set Analysis 2" doesnt work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set Analysis 1:&lt;/P&gt;&lt;P&gt;count({$&amp;lt;[Group ID] = {'=COUNT(DISTINCT [Benefit Package Code]) &amp;gt; 1'}&amp;gt;} distinct([Group ID] ))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set Analysis 2:&lt;/P&gt;&lt;P&gt;count({$&amp;lt;[Group ID] = {'=COUNT(DISTINCT wildmatch([Benefit Package Code],"HMO*")) &amp;gt; 1'}&amp;gt;} distinct([Group ID] ))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 May 2013 13:32:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Wildmatch-within-Count-Distinct/m-p/406072#M484181</guid>
      <dc:creator>zagzebski</dc:creator>
      <dc:date>2013-05-24T13:32:31Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - Wildmatch within Count Distinct</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Wildmatch-within-Count-Distinct/m-p/406073#M484182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A _jive_internal="true" class="loading active_link" href="https://community.qlik.com/message/41176#41176" title="http://community.qlik.com/message/41176#41176"&gt;http://community.qlik.com/message/41176#41176&lt;/A&gt;&lt;/P&gt;&lt;P&gt;see this link,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i think it look something like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count({$&amp;lt;[Group ID] = {'=COUNT(DISTINCT [Benefit Package Code]-={"HMO*"} &amp;gt; 1'}&amp;gt;} distinct([Group ID] ))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 May 2013 13:42:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Wildmatch-within-Count-Distinct/m-p/406073#M484182</guid>
      <dc:creator>fdelacal</dc:creator>
      <dc:date>2013-05-24T13:42:47Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - Wildmatch within Count Distinct</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Wildmatch-within-Count-Distinct/m-p/406074#M484183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;count({$&amp;lt;[Group ID] = {'=COUNT({&amp;lt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt; [Benefit Package Code]&lt;/SPAN&gt;={"HMO*"}&amp;gt;} DISTINCT [Benefit Package Code]) &amp;gt; 1'}&amp;gt;} distinct([Group ID] ))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 May 2013 13:43:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Wildmatch-within-Count-Distinct/m-p/406074#M484183</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-05-24T13:43:25Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - Wildmatch within Count Distinct</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Wildmatch-within-Count-Distinct/m-p/406075#M484184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is returning what I expected. Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 May 2013 13:51:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Wildmatch-within-Count-Distinct/m-p/406075#M484184</guid>
      <dc:creator>zagzebski</dc:creator>
      <dc:date>2013-05-24T13:51:54Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - Wildmatch within Count Distinct</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Wildmatch-within-Count-Distinct/m-p/406076#M484185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to create a variable for the set analysis part of the expression because it is always changing. Would you be able to help with that syntax - what would go between the count and distinct?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;count(&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #737373; background-color: #ffffff; font-family: Arial;"&gt;{$&amp;lt;&lt;EM&gt;[Group ID] = {'=COUNT({&amp;lt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt; [Benefit Package Code]&lt;/SPAN&gt;={"HMO*"}&amp;gt;} DISTINCT [Benefit Package Code]) &amp;gt; 1'}&amp;gt;&lt;/EM&gt;} &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;distinct([Group ID] ))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 May 2013 14:06:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Wildmatch-within-Count-Distinct/m-p/406076#M484185</guid>
      <dc:creator>zagzebski</dc:creator>
      <dc:date>2013-05-24T14:06:10Z</dc:date>
    </item>
  </channel>
</rss>

