<?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 Greater than and less than in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-analysis-Greater-than-and-less-than/m-p/1221882#M872328</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;no, it's not coming from single table. and i have no unique identifier.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;have a nice day from Germany!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sneh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Nov 2016 08:40:18 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-11-11T08:40:18Z</dc:date>
    <item>
      <title>Set analysis Greater than and less than</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-Greater-than-and-less-than/m-p/1221875#M872321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;I am strugling with set-analysis of greater than and less than with numerical Feilds. Below is the expression expression for exmaple: Actually i have to compare kd_time with von and bis. Here kd_time, von, bis fields are numeric&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;date, kd_date fields are in date format &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[LP.date]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'=LP.kd_date'}, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[LP.kd_time]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'&amp;gt;=$[LP.von]&amp;lt;=$[LP.bis]'},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;LP.kd_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;VK.ln&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;), 'T','X') &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;i am able to acheive this with IF condition but i want to do this with set analysis&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; ( &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[LP.date]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;LP.kd_date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;LP.kd_time&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &amp;gt;= &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;LP.von&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;LP.kd_time&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &amp;lt;= &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;LP.bis&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;LP.kd_date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;lt;&amp;gt;0,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;VK.ln&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;))&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Thanks in advance!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-Greater-than-and-less-than/m-p/1221875#M872321</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis Greater than and less than</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-Greater-than-and-less-than/m-p/1221876#M872322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Count({&amp;lt;[LP.date] = P(LP.kd_date), [LP.kd_time] = {"=&lt;STRONG style="font-size: 13.3333px;"&gt;[LP.kd_time] &lt;/STRONG&gt;&amp;gt;= $[LP.von] and &lt;STRONG style="font-size: 13.3333px;"&gt;[LP.kd_time] &lt;/STRONG&gt;&amp;lt;=$[LP.bis]"}, LP.kd_date={'*'}-{''}&amp;gt;} VK.ln)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Nov 2016 12:25:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-Greater-than-and-less-than/m-p/1221876#M872322</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-11-09T12:25:13Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis Greater than and less than</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-Greater-than-and-less-than/m-p/1221877#M872323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Hi&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Below is the expression i think&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count({&amp;lt;[LP.date] = {=$[LP.kd_date]}, [LP.kd_time] = {"=[LP.kd_time] &amp;gt;= $[LP.von] and [LP.kd_time]&amp;lt;=$[LP.bis]"}, LP.kd_date={'*'}-{''}&amp;gt;} VK.ln)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regads&lt;/P&gt;&lt;P&gt;Hemanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Nov 2016 12:51:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-Greater-than-and-less-than/m-p/1221877#M872323</guid>
      <dc:creator>hemanthaanichet</dc:creator>
      <dc:date>2016-11-09T12:51:10Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis Greater than and less than</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-Greater-than-and-less-than/m-p/1221878#M872324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Thanks Sunny,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;The whole syntax all together is not working&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;but below mentioned part is working correctly:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[LP.date]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;P&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;LP.kd_date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;), &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;LP.kd_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;VK.ln&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),'t','x') &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; but below mentioned, when we are comparing greater than less than this is not working:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;STRONG&gt;=if(count({&amp;lt;[LP.kd_time] = {"=&lt;/STRONG&gt;&lt;STRONG style="font-size: 13.33px;"&gt;[LP.kd_time] &amp;gt;= $[LP.von] and &lt;/STRONG&gt;&lt;STRONG style="font-size: 13.33px;"&gt;[LP.kd_time] &amp;lt;=$[LP.bis]"}&amp;gt;}Vk.ln),'t','x')&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;thanks for your quick answer!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Nov 2016 12:55:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-Greater-than-and-less-than/m-p/1221878#M872324</guid>
      <dc:creator />
      <dc:date>2016-11-09T12:55:15Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis Greater than and less than</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-Greater-than-and-less-than/m-p/1221879#M872325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My bad, can you check without the dollar sign. I think I missed it by mistake&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=Count({&amp;lt;[LP.date] = P(LP.kd_date), [LP.kd_time] = {"=&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;[LP.kd_time] &lt;/STRONG&gt;&amp;gt;=&lt;SPAN style="font-size: 14pt;"&gt; &lt;SPAN style="color: #ff0000;"&gt;$&lt;/SPAN&gt;&lt;/SPAN&gt;[LP.von] and &lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;[LP.kd_time]&lt;/STRONG&gt;&amp;lt;=&lt;STRONG style="color: #3d3d3d; font-size: 14pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; &lt;SPAN style="color: #ff0000;"&gt;$&lt;/SPAN&gt;&lt;/STRONG&gt;[LP.bis]"}, LP.kd_date={'*'}-{''}&amp;gt;} VK.ln)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=Count({&amp;lt;[LP.date] = P(LP.kd_date), [LP.kd_time] = {"=&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;[LP.kd_time] &lt;/STRONG&gt;&amp;gt;=&lt;SPAN style="font-size: 14pt;"&gt; &lt;/SPAN&gt;[LP.von] and &lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;[LP.kd_time] &lt;/STRONG&gt;&amp;lt;=&lt;STRONG style="color: #3d3d3d; font-size: 14pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; &lt;/STRONG&gt;[LP.bis]"}, LP.kd_date={'*'}-{''}&amp;gt;} VK.ln)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Nov 2016 14:09:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-Greater-than-and-less-than/m-p/1221879#M872325</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-11-09T14:09:35Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis Greater than and less than</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-Greater-than-and-less-than/m-p/1221880#M872326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Many Thanks Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;its work 99% but just 4-5 records are not correct.:) so right now i don't know whats the problem. may be you know? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sneh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Nov 2016 15:12:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-Greater-than-and-less-than/m-p/1221880#M872326</guid>
      <dc:creator />
      <dc:date>2016-11-09T15:12:44Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis Greater than and less than</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-Greater-than-and-less-than/m-p/1221881#M872327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is this coming from a single table? Do you have a unique identifier in that table?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Nov 2016 15:59:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-Greater-than-and-less-than/m-p/1221881#M872327</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-11-09T15:59:12Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis Greater than and less than</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-Greater-than-and-less-than/m-p/1221882#M872328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;no, it's not coming from single table. and i have no unique identifier.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;have a nice day from Germany!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sneh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2016 08:40:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-Greater-than-and-less-than/m-p/1221882#M872328</guid>
      <dc:creator />
      <dc:date>2016-11-11T08:40:18Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis Greater than and less than</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-Greater-than-and-less-than/m-p/1221883#M872329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In that case you might be better off using if statement rather then using the set analysis.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2016 10:26:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-Greater-than-and-less-than/m-p/1221883#M872329</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-11-11T10:26:02Z</dc:date>
    </item>
  </channel>
</rss>

