<?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 set analysis with between in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/set-analysis-with-between/m-p/469769#M175462</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;May be somebody know how to add between condition in set analysys.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With one condition it's work fine:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count(distinct {&amp;lt;[Independent month]={"=[Independent month] = v_MIN_month "}, sale={'&amp;gt;0'} &amp;gt;} [company])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is it possible something like this?:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count(distinct {&amp;lt;[Independent month]={"= v_MIN_month &amp;lt;= [Independent month] &amp;lt;= [dimension month] "}, sale={'&amp;gt;0'} &amp;gt;} [company])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Mar 2013 12:44:29 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-03-22T12:44:29Z</dc:date>
    <item>
      <title>set analysis with between</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-with-between/m-p/469769#M175462</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;May be somebody know how to add between condition in set analysys.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With one condition it's work fine:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count(distinct {&amp;lt;[Independent month]={"=[Independent month] = v_MIN_month "}, sale={'&amp;gt;0'} &amp;gt;} [company])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is it possible something like this?:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count(distinct {&amp;lt;[Independent month]={"= v_MIN_month &amp;lt;= [Independent month] &amp;lt;= [dimension month] "}, sale={'&amp;gt;0'} &amp;gt;} [company])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Mar 2013 12:44:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-with-between/m-p/469769#M175462</guid>
      <dc:creator />
      <dc:date>2013-03-22T12:44:29Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis with between</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-with-between/m-p/469770#M175463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;With two variables it usually looks something like this:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;count(distinct {&amp;lt;[Independent month]={"&amp;gt;=$(v_MIN_month)&amp;lt;=$(v_MAX-month)"}, sale={'&amp;gt;0'} &amp;gt;} [company])&lt;/SPAN&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;With your [dimension month] it will most like not work at all. A set is calculated once for the entire chart, not per row. So you can't use the dimensions in your chart in modifiers in your set analysis expression.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Mar 2013 12:49:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-with-between/m-p/469770#M175463</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-03-22T12:49:18Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis with between</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-with-between/m-p/469771#M175464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi! Thank you for your help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i try to change (&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;v_MAX-month) for &lt;/SPAN&gt;Date(AddMonths(&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;v_MAX&lt;/SPAN&gt;, -(v_count_mes - RowNo(TOTAL))),'MMM YYYY')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but it is nothing &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;only this way give some result:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count (DISTINCT {&amp;lt; &lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;sale&lt;/SPAN&gt;={'&amp;gt;0'} &amp;gt;} if([dimension month] &amp;gt;= &lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;v_MIN_month&lt;/SPAN&gt;&amp;nbsp; and [dimension month] &amp;lt;= &lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;[Independent month]&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; , &lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;[company]&lt;/SPAN&gt;&amp;nbsp; )) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but it is much slowly&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Mar 2013 13:41:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-with-between/m-p/469771#M175464</guid>
      <dc:creator />
      <dc:date>2013-03-22T13:41:38Z</dc:date>
    </item>
  </channel>
</rss>

