<?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 Greater than or equal in set analysis with variable in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Greater-than-or-equal-in-set-analysis-with-variable/m-p/1780300#M455116</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm stuck on a function and I haven't found a solution on a community yet. I suppose I'm not the first one to have this kind of issue so my apologies if this has been posted before.&lt;/P&gt;&lt;P&gt;The following function works as expected:&lt;/P&gt;&lt;P&gt;=Count(DISTINCT {$&amp;lt;$(var1)={"=Sum({$&amp;lt;MonthSerial={$(vMin)}&amp;gt;}$(Sales))&amp;lt;=5000"}&amp;gt;*&amp;lt;$(var1)={"=Count(DISTINCT {$&amp;lt;MonthSerial={$(vMin)}&amp;gt;}[Hierarchy Lev1])&amp;lt;=4"}&amp;gt;}$(var1))&lt;/P&gt;&lt;P&gt;My variable vMin contains a single integer. I would like to add the condition the MonthSerial is &amp;gt;= vMin and not only =. This is what I wrote.&lt;/P&gt;&lt;P&gt;=Count(DISTINCT {$&amp;lt;$(var1)={"=Sum({$&amp;lt;MonthSerial={"&amp;gt;=$(vMin)"}&amp;gt;}$(Sales))&amp;lt;=5000"}&amp;gt;*&amp;lt;$(var1)={"=Count(DISTINCT {$&amp;lt;MonthSerial={"&amp;gt;=$(vMin)"}&amp;gt;}[Hierarchy Lev1])&amp;lt;=4"}&amp;gt;}$(var1))&lt;/P&gt;&lt;P&gt;The result is null all the the time and I do not see what is wrong in the syntax. Can somebody help me with this?&lt;/P&gt;</description>
    <pubDate>Thu, 04 Feb 2021 18:10:36 GMT</pubDate>
    <dc:creator>Jjotavve</dc:creator>
    <dc:date>2021-02-04T18:10:36Z</dc:date>
    <item>
      <title>Greater than or equal in set analysis with variable</title>
      <link>https://community.qlik.com/t5/QlikView/Greater-than-or-equal-in-set-analysis-with-variable/m-p/1780300#M455116</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm stuck on a function and I haven't found a solution on a community yet. I suppose I'm not the first one to have this kind of issue so my apologies if this has been posted before.&lt;/P&gt;&lt;P&gt;The following function works as expected:&lt;/P&gt;&lt;P&gt;=Count(DISTINCT {$&amp;lt;$(var1)={"=Sum({$&amp;lt;MonthSerial={$(vMin)}&amp;gt;}$(Sales))&amp;lt;=5000"}&amp;gt;*&amp;lt;$(var1)={"=Count(DISTINCT {$&amp;lt;MonthSerial={$(vMin)}&amp;gt;}[Hierarchy Lev1])&amp;lt;=4"}&amp;gt;}$(var1))&lt;/P&gt;&lt;P&gt;My variable vMin contains a single integer. I would like to add the condition the MonthSerial is &amp;gt;= vMin and not only =. This is what I wrote.&lt;/P&gt;&lt;P&gt;=Count(DISTINCT {$&amp;lt;$(var1)={"=Sum({$&amp;lt;MonthSerial={"&amp;gt;=$(vMin)"}&amp;gt;}$(Sales))&amp;lt;=5000"}&amp;gt;*&amp;lt;$(var1)={"=Count(DISTINCT {$&amp;lt;MonthSerial={"&amp;gt;=$(vMin)"}&amp;gt;}[Hierarchy Lev1])&amp;lt;=4"}&amp;gt;}$(var1))&lt;/P&gt;&lt;P&gt;The result is null all the the time and I do not see what is wrong in the syntax. Can somebody help me with this?&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2021 18:10:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Greater-than-or-equal-in-set-analysis-with-variable/m-p/1780300#M455116</guid>
      <dc:creator>Jjotavve</dc:creator>
      <dc:date>2021-02-04T18:10:36Z</dc:date>
    </item>
    <item>
      <title>Re: Greater than or equal in set analysis with variable</title>
      <link>https://community.qlik.com/t5/QlikView/Greater-than-or-equal-in-set-analysis-with-variable/m-p/1780432#M455121</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/134587"&gt;@Jjotavve&lt;/a&gt;, that's because the double quotes of monthseriel is closing the previous double quotes, not opening a new one, try with different symbols like an accent, o double-double quotes:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;=Count(DISTINCT {$&amp;lt;$(var1)={&lt;FONT color="#339966"&gt;&lt;STRONG&gt;"&lt;/STRONG&gt;&lt;/FONT&gt;=Sum({$&amp;lt;MonthSerial={&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;´&lt;/STRONG&gt;&lt;/FONT&gt;&amp;gt;=$(vMin)&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;´&lt;/STRONG&gt;&lt;/FONT&gt;}&amp;gt;}$(Sales))&amp;lt;=5000&lt;FONT color="#339966"&gt;&lt;STRONG&gt;"&lt;/STRONG&gt;&lt;/FONT&gt;}&amp;gt;*&amp;lt;$(var1)={&lt;FONT color="#339966"&gt;&lt;STRONG&gt;"&lt;/STRONG&gt;&lt;/FONT&gt;=Count(DISTINCT {$&amp;lt;MonthSerial={&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;""&lt;/STRONG&gt;&lt;/FONT&gt;&amp;gt;=$(vMin)&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;""&lt;/STRONG&gt;&lt;/FONT&gt;}&amp;gt;}[Hierarchy Lev1])&amp;lt;=4&lt;FONT color="#339966"&gt;&lt;STRONG&gt;"&lt;/STRONG&gt;&lt;/FONT&gt;}&amp;gt;}$(var1))&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Feb 2021 08:05:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Greater-than-or-equal-in-set-analysis-with-variable/m-p/1780432#M455121</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2021-02-05T08:05:11Z</dc:date>
    </item>
    <item>
      <title>Re: Greater than or equal in set analysis with variable</title>
      <link>https://community.qlik.com/t5/QlikView/Greater-than-or-equal-in-set-analysis-with-variable/m-p/1780439#M455122</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22593"&gt;@rubenmarin&lt;/a&gt;, I figured it would come from this and I tried putting triple-double quotes, but not double-double quotes. Ah, I was so close, but your solution works, thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 05 Feb 2021 08:19:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Greater-than-or-equal-in-set-analysis-with-variable/m-p/1780439#M455122</guid>
      <dc:creator>Jjotavve</dc:creator>
      <dc:date>2021-02-05T08:19:49Z</dc:date>
    </item>
  </channel>
</rss>

