<?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 Conditions in set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Conditions-in-set-analysis/m-p/291430#M108171</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi swuehl,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count({$&amp;lt;ID={"=ID&amp;lt;7.77e+014","=ID &amp;gt;7.7799999999999e+014"}&amp;gt;}ID)------&lt;/P&gt;&lt;P&gt;This expressions selects like example&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0,1,2,3,4&amp;nbsp; and 8,9,10,11, ... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need expressions which select 5,6,7 only. In my case it's thousands. I can't select them one by one &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;I don't understandt how to group them like&amp;nbsp; from 5 to 7.&lt;/P&gt;&lt;P&gt;Maybe it's use to use condition IF&lt;/P&gt;&lt;P&gt;This my expressions&lt;/P&gt;&lt;P&gt;Count({$&amp;lt;SOURCE={'2'},TASK_COMPLETION={Yes}&amp;gt;} TASK_COMPLETION)/&lt;/P&gt;&lt;P&gt;Count({$&amp;lt;SOURCE={'2'}&amp;gt;}TOTAL &amp;lt;Period&amp;gt;&amp;nbsp; TASK_COMPLETION) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of SOURCE=2 should be ID from 7.77e+014 to 7.99999999e+014.&lt;/P&gt;&lt;P&gt;Who knows how to write expression?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Dec 2011 16:55:17 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2011-12-13T16:55:17Z</dc:date>
    <item>
      <title>Conditions in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Conditions-in-set-analysis/m-p/291426#M108167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have set analysis. I want to choose all data exept some data.I mean something like "ID &amp;lt; 7.77e+014 and ID &amp;gt; 7.99e+014".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tryed many differnt ways&lt;/P&gt;&lt;P&gt;Count({$&amp;lt;ID={"=ID&amp;lt;=7.7700001678389e+014" },ID={"ID&amp;gt;=7.7700002244059e+014"&amp;gt;}surveyID)-------------Nothing&lt;/P&gt;&lt;P&gt;Count({$&amp;lt;ID={"7.77*"}&amp;gt;}surveyID)-----------------------select exactly that I want not includ.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count({&amp;lt;ID={"=ID&amp;lt;=7.77e+014"}&amp;gt;}surveyID)--------------it works but without second part of condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know why it loads my ID in this format&amp;nbsp;&amp;nbsp; 7.7700002244059e+014. It should be 777000022440585.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help,&lt;/P&gt;&lt;P&gt;Vladimir&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2011 21:49:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditions-in-set-analysis/m-p/291426#M108167</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-12-09T21:49:50Z</dc:date>
    </item>
    <item>
      <title>Re: Conditions in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Conditions-in-set-analysis/m-p/291427#M108168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah, that's an interesting question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are some, but not too many posts here in the forum which talk about problems reading in large (integer) values with more than some 14 digits.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One posted solution is to use evaluate() on the field with the large integer number. Indeed, this did the job for me with QV10 SR3, like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD *, evaluate(ID) as ID2 INLINE [&lt;/P&gt;&lt;P&gt;ID, Value&lt;/P&gt;&lt;P&gt;777000022440585, 1&lt;/P&gt;&lt;P&gt;777000022440586, 2&lt;/P&gt;&lt;P&gt;12321321, 3&lt;/P&gt;&lt;P&gt;877000022440585, 4&lt;/P&gt;&lt;P&gt;7.7700002244059e+014, 5&lt;/P&gt;&lt;P&gt;6.7700002244059e+014, 6&lt;/P&gt;&lt;P&gt;8.7700002244059e+014,7&lt;/P&gt;&lt;P&gt;1234567890123456, 8&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you could use something like&lt;/P&gt;&lt;P&gt;=sum({$&amp;lt;ID2={"=ID2&amp;lt;&amp;gt;777000022440585"} &amp;gt;} Value)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to filter out the value you want to exclude.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See also attached,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2011 23:18:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditions-in-set-analysis/m-p/291427#M108168</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-12-09T23:18:39Z</dc:date>
    </item>
    <item>
      <title>Conditions in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Conditions-in-set-analysis/m-p/291428#M108169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;for this case: when&amp;nbsp; Id &amp;lt;5 and Id &amp;gt; 7. I found out &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count({$&amp;lt;ID={"=ID&amp;lt;7.77e+014","=ID &amp;gt;7.7799999999999e+014"}&amp;gt;}ID)-----------------------works perfect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BUT &lt;/P&gt;&lt;P&gt;When ID&amp;gt;5 and ID&amp;lt;7 I can't find right solution.&lt;/P&gt;&lt;P&gt;Maybe someone knows how to exclud 5,6,7?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Dec 2011 19:47:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditions-in-set-analysis/m-p/291428#M108169</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-12-12T19:47:49Z</dc:date>
    </item>
    <item>
      <title>Conditions in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Conditions-in-set-analysis/m-p/291429#M108170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To exclude values, try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count({$&amp;lt;ID -= {5,6,7}&amp;gt;} ID)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please note the minus-equal sign.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something like this should combine it with your previous expression:&lt;/P&gt;&lt;P&gt;Count({$&amp;lt;ID={"=ID&amp;lt;7.77e+014","=ID &amp;gt;7.7799999999999e+014"} - {5,6,7} &amp;gt;} ID)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2011 09:07:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditions-in-set-analysis/m-p/291429#M108170</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-12-13T09:07:17Z</dc:date>
    </item>
    <item>
      <title>Conditions in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Conditions-in-set-analysis/m-p/291430#M108171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi swuehl,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count({$&amp;lt;ID={"=ID&amp;lt;7.77e+014","=ID &amp;gt;7.7799999999999e+014"}&amp;gt;}ID)------&lt;/P&gt;&lt;P&gt;This expressions selects like example&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0,1,2,3,4&amp;nbsp; and 8,9,10,11, ... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need expressions which select 5,6,7 only. In my case it's thousands. I can't select them one by one &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;I don't understandt how to group them like&amp;nbsp; from 5 to 7.&lt;/P&gt;&lt;P&gt;Maybe it's use to use condition IF&lt;/P&gt;&lt;P&gt;This my expressions&lt;/P&gt;&lt;P&gt;Count({$&amp;lt;SOURCE={'2'},TASK_COMPLETION={Yes}&amp;gt;} TASK_COMPLETION)/&lt;/P&gt;&lt;P&gt;Count({$&amp;lt;SOURCE={'2'}&amp;gt;}TOTAL &amp;lt;Period&amp;gt;&amp;nbsp; TASK_COMPLETION) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of SOURCE=2 should be ID from 7.77e+014 to 7.99999999e+014.&lt;/P&gt;&lt;P&gt;Who knows how to write expression?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2011 16:55:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditions-in-set-analysis/m-p/291430#M108171</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-12-13T16:55:17Z</dc:date>
    </item>
    <item>
      <title>Conditions in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Conditions-in-set-analysis/m-p/291431#M108172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;7.7799999999999e+014 is way larger than 8,9,10,11 (it is in scientific notation 7.7799 * 10^14), so I think the scientific notation don't get correctly parsed in the set element &lt;/P&gt;&lt;P&gt;(edit: I just tried, and it works at my place, you I don't know why you get "0,1,2,3,4&amp;nbsp; and 8,9,10,11, ..." returned. This doesn't make sense to me)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, have you had a chance to look into my above sample and have you tried using the evaluate function in your load? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think your expression could then look similar to &lt;/P&gt;&lt;P&gt;count({$&amp;lt;ID={"=ID&amp;gt;777000000000000 and ID&amp;lt;799999999999999"} &amp;gt;} Value)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;count({$&amp;lt;ID={"=ID&amp;gt;7.77e14 and ID&amp;lt;7.99999999e+014"} &amp;gt;} Value)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2011 17:14:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditions-in-set-analysis/m-p/291431#M108172</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-12-13T17:14:30Z</dc:date>
    </item>
    <item>
      <title>Conditions in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Conditions-in-set-analysis/m-p/291432#M108173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Stefan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are right.&lt;/P&gt;&lt;P&gt;Count({$&amp;lt;ID={"=ID&amp;gt;=7.77e+014 AND ID &amp;lt;=7.7799999999999e+014"}&amp;gt;}ID)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works !!!!!!!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2011 18:09:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditions-in-set-analysis/m-p/291432#M108173</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-12-14T18:09:23Z</dc:date>
    </item>
  </channel>
</rss>

