<?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: converting if to set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/converting-if-to-set-analysis/m-p/398262#M1155900</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: calibri, verdana, arial, sans-serif; font-size: 10pt; background-color: #ffffff;"&gt;Try this,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 10pt; background-color: #ffffff; font-family: calibri, verdana, arial, sans-serif;"&gt;Sum({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-size: 10pt; background-color: #ffffff; font-family: calibri, verdana, arial, sans-serif;"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;[Actual FOUR Date]&lt;/SPAN&gt;={"&amp;gt;=$(=&lt;SPAN style="background-color: #ffffff;"&gt;date(MakeDate(2012,(vselectMonth),01))&lt;/SPAN&gt;)&amp;lt;=$(=&lt;SPAN style="background-color: #ffffff;"&gt;date(MakeDate(2012,(vselectMonth),(vlastdate)))&lt;/SPAN&gt;)"},&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-family: 'Courier New'; font-size: 11.818181991577148px; background-color: #ffffff;"&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; color: #333333; font-size: 10pt;"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; State={'ANDHRA PRADESH'}&lt;/SPAN&gt;&amp;gt;}&lt;SPAN style="background-color: #ffffff;"&gt;Order_In_MW&lt;/SPAN&gt;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Mar 2013 11:31:01 GMT</pubDate>
    <dc:creator>manideep78</dc:creator>
    <dc:date>2013-03-27T11:31:01Z</dc:date>
    <item>
      <title>converting if to set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/converting-if-to-set-analysis/m-p/398261#M1155899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; color: green; font-size: 9pt;"&gt;sum(if(len([Actual FOUR Date])&amp;gt;0 and [Actual FOUR Date] &amp;gt;= date(MakeDate(2012,(vselectMonth),01)) and [Actual FOUR Date] &amp;lt;= date(MakeDate(2012,(vselectMonth),(vlastdate))) &lt;BR /&gt;and State='ANDHRA PRADESH'&lt;BR /&gt;,Order_In_MW))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me out... change the above if condition to set analysis...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Mar 2013 11:22:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/converting-if-to-set-analysis/m-p/398261#M1155899</guid>
      <dc:creator />
      <dc:date>2013-03-27T11:22:27Z</dc:date>
    </item>
    <item>
      <title>Re: converting if to set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/converting-if-to-set-analysis/m-p/398262#M1155900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: calibri, verdana, arial, sans-serif; font-size: 10pt; background-color: #ffffff;"&gt;Try this,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 10pt; background-color: #ffffff; font-family: calibri, verdana, arial, sans-serif;"&gt;Sum({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-size: 10pt; background-color: #ffffff; font-family: calibri, verdana, arial, sans-serif;"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;[Actual FOUR Date]&lt;/SPAN&gt;={"&amp;gt;=$(=&lt;SPAN style="background-color: #ffffff;"&gt;date(MakeDate(2012,(vselectMonth),01))&lt;/SPAN&gt;)&amp;lt;=$(=&lt;SPAN style="background-color: #ffffff;"&gt;date(MakeDate(2012,(vselectMonth),(vlastdate)))&lt;/SPAN&gt;)"},&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-family: 'Courier New'; font-size: 11.818181991577148px; background-color: #ffffff;"&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; color: #333333; font-size: 10pt;"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; State={'ANDHRA PRADESH'}&lt;/SPAN&gt;&amp;gt;}&lt;SPAN style="background-color: #ffffff;"&gt;Order_In_MW&lt;/SPAN&gt;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Mar 2013 11:31:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/converting-if-to-set-analysis/m-p/398262#M1155900</guid>
      <dc:creator>manideep78</dc:creator>
      <dc:date>2013-03-27T11:31:01Z</dc:date>
    </item>
    <item>
      <title>Re: converting if to set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/converting-if-to-set-analysis/m-p/398263#M1155901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; color: green; font-size: 9pt;"&gt;if(Len([Actual FOUR Date])&amp;gt;0,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; color: green; font-size: 9pt;"&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; color: #333333; font-family: calibri, verdana, arial, sans-serif;"&gt;Sum({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; color: #333333; font-family: calibri, verdana, arial, sans-serif;"&gt;[Actual FOUR Date]={"&amp;gt;=$(=MakeDate(2012,(vselectMonth),01))&amp;lt;=$(=MakeDate(2012,(vselectMonth),(vlastdate)))"},&lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-size: 10pt; font-family: calibri, verdana, arial, sans-serif;"&gt;State={'ANDHRA PRADESH'}&amp;gt;}Order_In_MW),'')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;SPAN style="color: #333333; font-size: 10pt; font-family: calibri, verdana, arial, sans-serif;"&gt;Best of luck&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Mar 2013 11:56:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/converting-if-to-set-analysis/m-p/398263#M1155901</guid>
      <dc:creator />
      <dc:date>2013-03-27T11:56:42Z</dc:date>
    </item>
    <item>
      <title>Re: converting if to set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/converting-if-to-set-analysis/m-p/398264#M1155902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No need to check the lenght of datefield here.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 12px; background-color: #ffffff; text-decoration: line-through; font-family: 'Courier New';"&gt;sum(if(len([Actual FOUR Date])&amp;gt;0 and [Actual FOUR Date] &amp;gt;= date(MakeDate(2012,(vselectMonth),01)) and [Actual FOUR Date] &amp;lt;= date(MakeDate(2012,(vselectMonth),(vlastdate))) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 12px; background-color: #ffffff; text-decoration: line-through; font-family: 'Courier New';"&gt;and State='ANDHRA PRADESH'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 12px; background-color: #ffffff; text-decoration: line-through; font-family: 'Courier New';"&gt;,Order_In_MW))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-family: 'Courier New'; font-size: 12px; background-color: #ffffff;"&gt;Simply use it as&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-family: 'Courier New'; font-size: 12px; background-color: #ffffff;"&gt;Sum({&amp;lt;&lt;SPAN style="color: #008000; font-family: 'Courier New'; font-size: 12px; background-color: #ffffff;"&gt;[Actual FOUR Date]&lt;/SPAN&gt;={"&lt;SPAN style="color: #008000; font-family: 'Courier New'; font-size: 12px; background-color: #ffffff;"&gt;&amp;gt;=$(=date(MakeDate(2012,(vselectMonth),01)))&lt;SPAN style="color: #008000; font-family: 'Courier New'; font-size: 12px; background-color: #ffffff;"&gt;&amp;lt;=$(=date(MakeDate(2012,(vselectMonth),(vlastdate)))&lt;/SPAN&gt;)&lt;/SPAN&gt;"},&lt;SPAN style="color: #008000; font-family: 'Courier New'; font-size: 12px; background-color: #ffffff;"&gt;State={&lt;SPAN style="color: #008000; font-family: 'Courier New'; font-size: 12px; background-color: #ffffff;"&gt;'ANDHRA PRADESH'&lt;/SPAN&gt;}&lt;/SPAN&gt;&amp;gt;} &lt;SPAN style="color: #008000; font-family: 'Courier New'; font-size: 12px; background-color: #ffffff;"&gt;Order_In_MW&lt;/SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-family: 'Courier New'; font-size: 12px; background-color: #ffffff;"&gt;Hope it helps&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-family: 'Courier New'; font-size: 12px; background-color: #ffffff;"&gt;Celambarasan&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Mar 2013 12:07:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/converting-if-to-set-analysis/m-p/398264#M1155902</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2013-03-27T12:07:43Z</dc:date>
    </item>
  </channel>
</rss>

