<?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 to Set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Conditions-to-Set-Analysis/m-p/306061#M1199098</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Erich, for your time.&lt;/P&gt;&lt;P&gt;I am giving a try to the code that you have suggested,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bikash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 May 2011 18:23:27 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-05-17T18:23:27Z</dc:date>
    <item>
      <title>Conditions to Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Conditions-to-Set-Analysis/m-p/306059#M1199096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;I want to learn, how we can change the following if...else expression to a set analysis syntax.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(if(STAGE='Pending' AND CREATED_DATE&amp;lt;= Today() AND&amp;nbsp; REVENUE_RECOGNITION_FLAG&amp;lt;&amp;gt;'No' AND OPP_REG_ARCHIVE&amp;lt;&amp;gt;'False' AND IS_PART_ACTIVE=1 AND DESIGN_REG_STATUS&amp;lt;&amp;gt;'Rejected', TOTAL_VALUE))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would be grateful if someone could please answer it please,&lt;/P&gt;&lt;P&gt;Thanking you beforehand,&lt;/P&gt;&lt;P&gt;Bikash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 May 2011 16:43:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditions-to-Set-Analysis/m-p/306059#M1199096</guid>
      <dc:creator />
      <dc:date>2011-05-17T16:43:18Z</dc:date>
    </item>
    <item>
      <title>Conditions to Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Conditions-to-Set-Analysis/m-p/306060#M1199097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum( {&amp;lt; STAGE={Pending}, CREATED_DATE= {"&amp;lt;= $( =Today())"},&amp;nbsp; REVENUE_RECOGNITION_FLAG-={No},&amp;nbsp; OPP_REG_ARCHIVE-={'False'} ,&amp;nbsp; IS_PART_ACTIVE={1}, DESIGN_REG_STATUS-={ Rejected} &amp;gt; }&amp;nbsp; TOTAL_VALUE)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess the only trick part may be the CREATED_DATE. If it doesn't work, you should created a numeric field on the script to achieve this&lt;/P&gt;&lt;P&gt;The syntax would be something like:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;CREATED_DATE, &lt;/P&gt;&lt;P&gt;NUM(CREATED_DATE) AS NCREATED_DATE&lt;/P&gt;&lt;P&gt;...&amp;nbsp; [ THE REST OF YOUR LOAD SCRIPT]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, on set analysis it would be:&lt;/P&gt;&lt;P&gt;sum( {&amp;lt; STAGE={Pending}, CREATED_DATE= {"&amp;lt;= $(=num(Today()))"},&amp;nbsp; REVENUE_RECOGNITION_FLAG-={No},&amp;nbsp; OPP_REG_ARCHIVE-={'False'} ,&amp;nbsp; IS_PART_ACTIVE={1}, DESIGN_REG_STATUS-={ Rejected} &amp;gt; }&amp;nbsp; TOTAL_VALUE)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 May 2011 18:09:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditions-to-Set-Analysis/m-p/306060#M1199097</guid>
      <dc:creator>erichshiino</dc:creator>
      <dc:date>2011-05-17T18:09:31Z</dc:date>
    </item>
    <item>
      <title>Conditions to Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Conditions-to-Set-Analysis/m-p/306061#M1199098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Erich, for your time.&lt;/P&gt;&lt;P&gt;I am giving a try to the code that you have suggested,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bikash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 May 2011 18:23:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditions-to-Set-Analysis/m-p/306061#M1199098</guid>
      <dc:creator />
      <dc:date>2011-05-17T18:23:27Z</dc:date>
    </item>
  </channel>
</rss>

