<?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 as well as matching text/numbers in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-analysis-as-well-as-matching-text-numbers/m-p/405801#M490870</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;Easier than it seems!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_1349971653646902" jivemacro_uid="_1349971653646902"&gt;&lt;P&gt;Sum({&amp;lt; [Date] = {"&amp;gt;=$(=addmonths(max(Date),-$(vSelectNoOfMonths)+1))&amp;lt;=$(=max(Date))"}, [Immediate Cause] = {"12*"} &amp;gt;} [Accidents Count ID])&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That will check for all values starting by "12"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Oct 2012 16:08:11 GMT</pubDate>
    <dc:creator>Miguel_Angel_Baeyens</dc:creator>
    <dc:date>2012-10-11T16:08:11Z</dc:date>
    <item>
      <title>Set analysis as well as matching text/numbers</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-as-well-as-matching-text-numbers/m-p/405800#M490869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a set analysis expression &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;SPAN style=": ; color: #0000ff; font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;sum&lt;/P&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Date]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"&amp;gt;=$(=addmonths(max(Date),-$(vSelectNoOfMonths)+1))&amp;lt;=$(=max(Date))"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Accidents Count ID]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above is working fine but I wish to further filter the analysis by only having the above for records where a field 'Immediate Cause' is populated by a number of values such as '12i', '12j','12k' etc etc. I have tried adapting the like/match commands but cannot combine those with the set analysis expression above&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas please?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2012 16:04:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-as-well-as-matching-text-numbers/m-p/405800#M490869</guid>
      <dc:creator />
      <dc:date>2012-10-11T16:04:15Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis as well as matching text/numbers</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-as-well-as-matching-text-numbers/m-p/405801#M490870</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;Easier than it seems!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_1349971653646902" jivemacro_uid="_1349971653646902"&gt;&lt;P&gt;Sum({&amp;lt; [Date] = {"&amp;gt;=$(=addmonths(max(Date),-$(vSelectNoOfMonths)+1))&amp;lt;=$(=max(Date))"}, [Immediate Cause] = {"12*"} &amp;gt;} [Accidents Count ID])&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That will check for all values starting by "12"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2012 16:08:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-as-well-as-matching-text-numbers/m-p/405801#M490870</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2012-10-11T16:08:11Z</dc:date>
    </item>
  </channel>
</rss>

