<?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 From IF to Set Analysis (simple) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/From-IF-to-Set-Analysis-simple/m-p/259056#M1204546</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have now even tried to change my Norvegian Ø to O, in case this was part of my problem, but i still does not work.&lt;/P&gt;&lt;P style="line-height:normal;margin:0cm 0cm 0pt;mso-layout-grid-align:none;"&gt;My IF is working fine though...&lt;BR /&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;IF(RNREST&amp;lt;&amp;gt;0,&lt;BR /&gt;IF(DD-RNFDAT&amp;lt;0, RNBELO, 0))&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Please help.. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 May 2010 11:53:14 GMT</pubDate>
    <dc:creator>anitamelbye</dc:creator>
    <dc:date>2010-05-19T11:53:14Z</dc:date>
    <item>
      <title>From IF to Set Analysis (simple)</title>
      <link>https://community.qlik.com/t5/QlikView/From-IF-to-Set-Analysis-simple/m-p/259052#M1204542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;can anyone tell me what I am doing/thinking wrong in this case? I am trying to make a 30-60-90 split on our invoices, sorted by duedate. If i make it with IF's, it works fine, but when trying to write a set analysis, I am obviously doing something wrong.&lt;/P&gt;&lt;P&gt;I thought this&lt;BR /&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;&lt;BR /&gt;IF(RNREST&amp;lt;&amp;gt;0, IF(DD-RNFDAT&amp;lt;0, RNBELØ,0))&lt;BR /&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;would transfer in to this:&lt;BR /&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;&lt;BR /&gt;SUM ({&amp;lt;RNREST= {'&amp;lt;&amp;gt; 0'}, [DD-RNFDAT]= {'&amp;lt; 0'}&amp;gt;} RNBELØ)&lt;BR /&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;This should be really easy to get to work, right? Anyone..?&lt;/P&gt;&lt;P&gt;*newbee in love*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 May 2010 10:38:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/From-IF-to-Set-Analysis-simple/m-p/259052#M1204542</guid>
      <dc:creator>anitamelbye</dc:creator>
      <dc:date>2010-05-19T10:38:20Z</dc:date>
    </item>
    <item>
      <title>From IF to Set Analysis (simple)</title>
      <link>https://community.qlik.com/t5/QlikView/From-IF-to-Set-Analysis-simple/m-p/259053#M1204543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anita,&lt;/P&gt;&lt;P&gt;You are almost there. Your code should be as follow.&lt;/P&gt;&lt;P&gt;SUM ({&amp;lt;RNREST -= {0}, [DD-RNFDAT]= {'&amp;lt; 0'}&amp;gt;} RNBELØ)&lt;/P&gt;&lt;P&gt;-Peterson&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 May 2010 11:20:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/From-IF-to-Set-Analysis-simple/m-p/259053#M1204543</guid>
      <dc:creator />
      <dc:date>2010-05-19T11:20:09Z</dc:date>
    </item>
    <item>
      <title>Re. :Re: From IF to Set Analysis (simple)</title>
      <link>https://community.qlik.com/t5/QlikView/From-IF-to-Set-Analysis-simple/m-p/259054#M1204544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I think it should be :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;SUM ({&amp;lt;RNREST -= {0}, [DD-RNFDAT]= {"&amp;lt;0"}&amp;gt;} RNBELØ)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Hope it helps you&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 May 2010 11:24:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/From-IF-to-Set-Analysis-simple/m-p/259054#M1204544</guid>
      <dc:creator>martin59</dc:creator>
      <dc:date>2010-05-19T11:24:32Z</dc:date>
    </item>
    <item>
      <title>From IF to Set Analysis (simple)</title>
      <link>https://community.qlik.com/t5/QlikView/From-IF-to-Set-Analysis-simple/m-p/259055#M1204545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, it still doesn't work.. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 May 2010 11:47:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/From-IF-to-Set-Analysis-simple/m-p/259055#M1204545</guid>
      <dc:creator>anitamelbye</dc:creator>
      <dc:date>2010-05-19T11:47:00Z</dc:date>
    </item>
    <item>
      <title>From IF to Set Analysis (simple)</title>
      <link>https://community.qlik.com/t5/QlikView/From-IF-to-Set-Analysis-simple/m-p/259056#M1204546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have now even tried to change my Norvegian Ø to O, in case this was part of my problem, but i still does not work.&lt;/P&gt;&lt;P style="line-height:normal;margin:0cm 0cm 0pt;mso-layout-grid-align:none;"&gt;My IF is working fine though...&lt;BR /&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;IF(RNREST&amp;lt;&amp;gt;0,&lt;BR /&gt;IF(DD-RNFDAT&amp;lt;0, RNBELO, 0))&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Please help.. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 May 2010 11:53:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/From-IF-to-Set-Analysis-simple/m-p/259056#M1204546</guid>
      <dc:creator>anitamelbye</dc:creator>
      <dc:date>2010-05-19T11:53:14Z</dc:date>
    </item>
    <item>
      <title>From IF to Set Analysis (simple)</title>
      <link>https://community.qlik.com/t5/QlikView/From-IF-to-Set-Analysis-simple/m-p/259057#M1204547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE style="margin:0px;"&gt;You could try to split it up to see where the problem is ...&lt;BR /&gt;&lt;BR /&gt;First try out&lt;BR /&gt;&lt;BR /&gt;&amp;lt;blockquote&amp;gt;&amp;lt;pre&amp;gt; SUM( {&amp;lt; RNREST -= {0} &amp;gt;} RNBELØ)&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;See if the correct items are taken (according to the set analysis part)&lt;BR /&gt;&lt;BR /&gt;After this try out&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;SUM( {&amp;lt; [DD-RNFDAT] = {&amp;lt;0} &amp;gt;} RNBELØ)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;See if the correct items are taken (according to the set analysis part)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I think the problem probably lays in the second one ... focus on the part which doesn't work ... &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;best regards,&lt;BR /&gt;&lt;BR /&gt;Anita F.&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 May 2010 11:54:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/From-IF-to-Set-Analysis-simple/m-p/259057#M1204547</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-05-19T11:54:43Z</dc:date>
    </item>
    <item>
      <title>From IF to Set Analysis (simple)</title>
      <link>https://community.qlik.com/t5/QlikView/From-IF-to-Set-Analysis-simple/m-p/259058#M1204548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anita,&lt;/P&gt;&lt;P&gt;You are correct, the problem lies in the "second" one.&lt;/P&gt;&lt;P&gt;I have tried to make a simplyfied report, showing my problem.&lt;/P&gt;&lt;P&gt;I would be more than happy if anyone could look at it &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 May 2010 12:27:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/From-IF-to-Set-Analysis-simple/m-p/259058#M1204548</guid>
      <dc:creator>anitamelbye</dc:creator>
      <dc:date>2010-05-19T12:27:36Z</dc:date>
    </item>
    <item>
      <title>From IF to Set Analysis (simple)</title>
      <link>https://community.qlik.com/t5/QlikView/From-IF-to-Set-Analysis-simple/m-p/259059#M1204549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anita,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did some testing ... think this is what you need:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;SUM( {&amp;lt; RNREST -= {0}, RNFDAT = {'&amp;gt;$(DD)'} &amp;gt;} RNBELO )&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;The RNFDAT should be larger than the DD as I understood ... DD - RNFDAT gives the number of days between the DD and RNFDAT ... &amp;lt; 0 this means RNFDAT should be counted ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anita F.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 May 2010 12:56:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/From-IF-to-Set-Analysis-simple/m-p/259059#M1204549</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-05-19T12:56:43Z</dc:date>
    </item>
    <item>
      <title>From IF to Set Analysis (simple)</title>
      <link>https://community.qlik.com/t5/QlikView/From-IF-to-Set-Analysis-simple/m-p/259060#M1204550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I would not be able to open your application, since i have personel edition on my system.&lt;/P&gt;&lt;P&gt;So i have created a cample aplication and it works as i expected.&lt;/P&gt;&lt;P&gt;Pl check the attached application.&lt;/P&gt;&lt;P&gt;-Peterson&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 May 2010 13:00:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/From-IF-to-Set-Analysis-simple/m-p/259060#M1204550</guid>
      <dc:creator />
      <dc:date>2010-05-19T13:00:15Z</dc:date>
    </item>
    <item>
      <title>From IF to Set Analysis (simple)</title>
      <link>https://community.qlik.com/t5/QlikView/From-IF-to-Set-Analysis-simple/m-p/259061#M1204551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, I guess you are kind of right, but I can not use your suggestion.&lt;/P&gt;&lt;P&gt;I do need to have the value between DD and RNFDAT, because in my next Column I have to calculate:&lt;BR /&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;IF(RNREST&amp;lt;&amp;gt;0,IF(DD-RNFDAT&amp;lt;30, RNBELO,0))&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;I am sorry it did not work. but thank you for trying &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P style="margin:0cm 0cm 10pt;"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 May 2010 13:05:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/From-IF-to-Set-Analysis-simple/m-p/259061#M1204551</guid>
      <dc:creator>anitamelbye</dc:creator>
      <dc:date>2010-05-19T13:05:53Z</dc:date>
    </item>
    <item>
      <title>From IF to Set Analysis (simple)</title>
      <link>https://community.qlik.com/t5/QlikView/From-IF-to-Set-Analysis-simple/m-p/259062#M1204552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You say you need to calculate the value between the DD and RNFDAT ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe it is better to get the value between during loadingtime in the table itself ... since you want to check on the value ...&lt;/P&gt;&lt;P&gt;I suggest you add in the loading something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;LOAD ...&lt;BR /&gt;...&lt;BR /&gt;RFNDAT,&lt;BR /&gt;today() - RFNDAT as TimeDiff&lt;BR /&gt;...&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;This way you can do something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;SUM( {&amp;lt; RNREST -= {0}, TimeDiff = {'&amp;lt;0'} &amp;gt;} RNBELO )&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;and in the following column you can use&lt;BR /&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;SUM( {&amp;lt; RNREST -= {0}, TimeDiff = {'&amp;lt;30'} &amp;gt;) RNBELO )&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;In Set Analysis you give a 'preselected' value for a field ... now TimeDiff an actual field which can be set to a specific value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Think this is the nicest way of solving this ... it also keeps the set analysis a lot easier.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anita F.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 May 2010 13:11:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/From-IF-to-Set-Analysis-simple/m-p/259062#M1204552</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-05-19T13:11:00Z</dc:date>
    </item>
    <item>
      <title>From IF to Set Analysis (simple)</title>
      <link>https://community.qlik.com/t5/QlikView/From-IF-to-Set-Analysis-simple/m-p/259063#M1204553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Kevin,&lt;/P&gt;&lt;P&gt;Thank you for trying to help me, but I am not sure I understand what you are trying to accomplish.&lt;BR /&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;sum({&amp;lt; Col2 = {'&amp;lt;0'}, Col4-={"0"} &amp;gt;} Col2)&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;As far as I can see, this should give the answer -5, but you get -6?&lt;BR style="mso-special-character:line-break;" /&gt;&lt;BR style="mso-special-character:line-break;" /&gt;&lt;/P&gt;&lt;P&gt;Anyway, my problem is that I have a duedate(RNFDAT), and I need to calculate the difference between (Todays date) and RNFDAT, and if the answer is 0 or 30 or 60 or 90 or &amp;gt;90, I want the RNBELO to be calculated, but I can only get this to work with IF sentences…&lt;/P&gt;&lt;P style="margin:0cm 0cm 10pt;"&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 May 2010 13:13:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/From-IF-to-Set-Analysis-simple/m-p/259063#M1204553</guid>
      <dc:creator>anitamelbye</dc:creator>
      <dc:date>2010-05-19T13:13:41Z</dc:date>
    </item>
    <item>
      <title>From IF to Set Analysis (simple)</title>
      <link>https://community.qlik.com/t5/QlikView/From-IF-to-Set-Analysis-simple/m-p/259064#M1204554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anita&lt;/P&gt;&lt;P&gt;looked at your example. The difference in your example is only from the number formatting? Some of your columns use INTEGER as the format and values get rounded.&lt;/P&gt;&lt;P&gt;The real problem however looks to be in your expression&lt;/P&gt;&lt;P&gt;[DD-RNFDAT]&lt;/P&gt;&lt;P&gt;By enclosing them in square brackets QlikView treats it as a field name (non existent so always null) and not as the result of the date difference calculation. Modify your criteria:&lt;/P&gt;&lt;P&gt;SUM ({&amp;lt;RNFDAT={'&amp;lt;$(=DD)'}&amp;gt;} RNBELO)&lt;/P&gt;&lt;P&gt;try above but do not inject any blanks, this seems to break it&lt;/P&gt;&lt;P&gt;You might also want to add a few more cases to see the proper outcome of your formulas.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Jürg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 May 2010 13:27:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/From-IF-to-Set-Analysis-simple/m-p/259064#M1204554</guid>
      <dc:creator />
      <dc:date>2010-05-19T13:27:19Z</dc:date>
    </item>
    <item>
      <title>From IF to Set Analysis (simple)</title>
      <link>https://community.qlik.com/t5/QlikView/From-IF-to-Set-Analysis-simple/m-p/259065#M1204555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Anita F,&lt;/P&gt;&lt;P&gt;It acctually is a good idea, to make a TimeDiff in the load, even though I have not tried it yet.&lt;/P&gt;&lt;P&gt;Because I want to have "Todays date" as an Input.&lt;BR /&gt;[Todays date] is not always "Todays date", but if it was, I am almost certain I could use your suggested solution..&lt;/P&gt;&lt;P&gt;I have tried to make the Timediff in a column instead, and use the number I get in my calculations, but that does not work either.&lt;/P&gt;&lt;P&gt;A&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 May 2010 13:48:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/From-IF-to-Set-Analysis-simple/m-p/259065#M1204555</guid>
      <dc:creator>anitamelbye</dc:creator>
      <dc:date>2010-05-19T13:48:57Z</dc:date>
    </item>
    <item>
      <title>From IF to Set Analysis (simple)</title>
      <link>https://community.qlik.com/t5/QlikView/From-IF-to-Set-Analysis-simple/m-p/259066#M1204556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Jürg,&lt;/P&gt;&lt;P&gt;Thank you for trying to help me, but I am not sure that your solution would help me, because it is the difference between DD and RNFDAT I am looking for. I have tried to make the calculation DD-RNFDAT as an expression, and I get values. But maybe it acts different when I use it in a SetAnalysis?&lt;/P&gt;&lt;P&gt;I have, as I also answered Anita F's suggestion, tried to make the DD-RNFDAT as an expression, and use Column(1) in my SetAnalysis instead of the DD-RNFDAT-expression, but it still doesn't work..&lt;/P&gt;&lt;P&gt;Beeing the Newbee as I am, I think I soon give in to this problem, and use IF instead.. (but then my total-calculations gets messed up)...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 May 2010 13:54:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/From-IF-to-Set-Analysis-simple/m-p/259066#M1204556</guid>
      <dc:creator>anitamelbye</dc:creator>
      <dc:date>2010-05-19T13:54:18Z</dc:date>
    </item>
    <item>
      <title>From IF to Set Analysis (simple)</title>
      <link>https://community.qlik.com/t5/QlikView/From-IF-to-Set-Analysis-simple/m-p/259067#M1204557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anita,&lt;/P&gt;&lt;P&gt;I have tried to investigate my application based on your comment. i believe the o/p whic i`m getting is the correct one.&lt;/P&gt;&lt;P&gt;below is my data.&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;BR /&gt; Col1, Col2,Col3,Col4&lt;BR /&gt; A, 4, x,1&lt;BR /&gt; B, -5, y,0&lt;BR /&gt; C, -6, x,3&lt;BR /&gt; D, 7, y,4&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;And my condition is &lt;STRONG&gt;sum({&amp;lt; Col2 = {'&amp;lt;0'}, Col4-={"0"} &amp;gt;} Col2)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Will try to take one by one condition.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1st condition :&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Onec we execute the 1st condition i.e &lt;STRONG&gt;Col2 = {'&amp;lt;0'}&lt;/STRONG&gt; we will get the data less than zero.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;o/p will be&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;COl2,Col4&lt;/P&gt;&lt;P&gt;-5, 0&lt;/P&gt;&lt;P&gt;-6, 3&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2nd Condition:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;When we execute second condition &lt;STRONG&gt;Col4-={"0"}&lt;/STRONG&gt; i.e Col4 not equal to zero&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;o/p will be&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;COl2,Col4&lt;/P&gt;&lt;P&gt;-6, 3&lt;/P&gt;&lt;P&gt;This what i tried to accomplish.&lt;/P&gt;&lt;P&gt;Commets are appreciateable&lt;/P&gt;&lt;P&gt;-Peterson&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 May 2010 14:06:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/From-IF-to-Set-Analysis-simple/m-p/259067#M1204557</guid>
      <dc:creator />
      <dc:date>2010-05-19T14:06:07Z</dc:date>
    </item>
    <item>
      <title>From IF to Set Analysis (simple)</title>
      <link>https://community.qlik.com/t5/QlikView/From-IF-to-Set-Analysis-simple/m-p/259068#M1204558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anita,&lt;/P&gt;&lt;P&gt;Problem you encounter is that the set analyses sets the filtering of fields to the value you want ... you want a sum to be of a certain value ...&lt;BR /&gt;I'm not sure if the set analysis is capable of doing this.&lt;/P&gt;&lt;P&gt;If the value of the date is variable ... why?? To see what it does when the date is another date??&lt;BR /&gt;&lt;BR /&gt;You could try something by DD and DD-30 days ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;SUM( {&amp;lt; RNREST -= {0}, RNFDAT = {'&amp;gt;$(DD)' &amp;gt;} RNBELO )&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;SUM( {&amp;lt; RNREST -= {0}, RNFDAT = {'&amp;gt;($(DD)-30)' &amp;gt;} RNBELO )&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Don't know if it's possible ... but guess something like this could do the trick&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anita.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 May 2010 14:09:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/From-IF-to-Set-Analysis-simple/m-p/259068#M1204558</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-05-19T14:09:10Z</dc:date>
    </item>
    <item>
      <title>From IF to Set Analysis (simple)</title>
      <link>https://community.qlik.com/t5/QlikView/From-IF-to-Set-Analysis-simple/m-p/259069#M1204559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Jürg,&lt;/P&gt;&lt;P&gt;This did the trick.&lt;BR /&gt;SUM({RNFDAT={'&amp;lt;$(=DD)'}&amp;gt;}RNBELO) - thank you.&lt;/P&gt;&lt;P&gt;But I can not get it to work with (DD-30), so I think I will, after all, go for Anita F's suggestion; making a TimeDiff in the load &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;Dear Kevin, yes you are right, I just did not notice the -= &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; sorry for that!&lt;/P&gt;&lt;P&gt;Anita F - Thank you for all you help!!&lt;/P&gt;&lt;P&gt;*newbee in love*&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 May 2010 09:30:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/From-IF-to-Set-Analysis-simple/m-p/259069#M1204559</guid>
      <dc:creator>anitamelbye</dc:creator>
      <dc:date>2010-05-20T09:30:57Z</dc:date>
    </item>
    <item>
      <title>From IF to Set Analysis (simple)</title>
      <link>https://community.qlik.com/t5/QlikView/From-IF-to-Set-Analysis-simple/m-p/259070#M1204560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anita&lt;/P&gt;&lt;P&gt;The thread is already long, let's go on ..&lt;/P&gt;&lt;P&gt;It worked in my example with&lt;/P&gt;&lt;P&gt;SUM({RNFDAT={'&lt;B&gt;&amp;gt;&lt;/B&gt;$(=&lt;B&gt;date(&lt;/B&gt;DD&lt;B&gt;-30)&lt;/B&gt;)'}&amp;gt;}RNBELO)&lt;/P&gt;&lt;P&gt;in detail: RNFDAT needs to be within the last 30 days, change &amp;lt; to &amp;gt; and use the date() function to get the correct result from the subtraction.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Jürg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 May 2010 09:54:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/From-IF-to-Set-Analysis-simple/m-p/259070#M1204560</guid>
      <dc:creator />
      <dc:date>2010-05-20T09:54:43Z</dc:date>
    </item>
    <item>
      <title>From IF to Set Analysis (simple)</title>
      <link>https://community.qlik.com/t5/QlikView/From-IF-to-Set-Analysis-simple/m-p/259071#M1204561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Jürg,&lt;/P&gt;&lt;P&gt;THANK YOU! That works just great!! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; You are the BEST! &lt;IMG alt="Yes" src="http://community.qlik.com/emoticons/emotion-21.gif" /&gt;&lt;/P&gt;&lt;P&gt;Just one small problem left. When writing (all)RNFDAT&amp;gt;DD-30, I also get all the invoices with RNFDAT&amp;gt;DD.. you see the problem?&lt;/P&gt;&lt;P&gt;I need something like that takes away the RNFDAT&amp;gt;DD. (Range between DD-30 and DD). Are you able to help with that as well?&lt;/P&gt;&lt;P&gt;*newbee in love*&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 May 2010 12:22:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/From-IF-to-Set-Analysis-simple/m-p/259071#M1204561</guid>
      <dc:creator>anitamelbye</dc:creator>
      <dc:date>2010-05-20T12:22:26Z</dc:date>
    </item>
  </channel>
</rss>

