<?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 Sum if / set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sum-if-set-analysis/m-p/317866#M117166</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure if this is correct. Could someone look at it and let me know?&lt;/P&gt;&lt;P&gt;(the underlining idea is: I've tried to convert but o a set analysis with no luck becasue of the InYearToDate function)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;Sum (if (ACTUALCLOSE&amp;lt;= ReportToDateLastYear and ACTUALCLOSE&amp;gt;=ReportFromDateLastYear and InYearToDate (DATEFROM, yearend(ReportDate,0,8), -1, &lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt; AND OPPORTUNITY.STATUS='Closed - Won', ACTUALAMOUNT))&lt;BR /&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Oct 2011 13:10:58 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-10-06T13:10:58Z</dc:date>
    <item>
      <title>Sum if / set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-if-set-analysis/m-p/317866#M117166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure if this is correct. Could someone look at it and let me know?&lt;/P&gt;&lt;P&gt;(the underlining idea is: I've tried to convert but o a set analysis with no luck becasue of the InYearToDate function)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;Sum (if (ACTUALCLOSE&amp;lt;= ReportToDateLastYear and ACTUALCLOSE&amp;gt;=ReportFromDateLastYear and InYearToDate (DATEFROM, yearend(ReportDate,0,8), -1, &lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt; AND OPPORTUNITY.STATUS='Closed - Won', ACTUALAMOUNT))&lt;BR /&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Oct 2011 13:10:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-if-set-analysis/m-p/317866#M117166</guid>
      <dc:creator />
      <dc:date>2011-10-06T13:10:58Z</dc:date>
    </item>
    <item>
      <title>Re: Sum if / set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-if-set-analysis/m-p/317867#M117167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your expression by syntax is right. Better way from memory prespective is to have &lt;SPAN&gt;&lt;CODE class="jive-code"&gt;InYearToDate inside script and use set analysis.&lt;/CODE&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Kiran.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Oct 2011 14:40:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-if-set-analysis/m-p/317867#M117167</guid>
      <dc:creator />
      <dc:date>2011-10-06T14:40:05Z</dc:date>
    </item>
    <item>
      <title>Re: Sum if / set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-if-set-analysis/m-p/317868#M117168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;does this mean i can use the "&amp;lt;=" operator in the expression without having to use it in a set analysis?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Oct 2011 14:42:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-if-set-analysis/m-p/317868#M117168</guid>
      <dc:creator />
      <dc:date>2011-10-06T14:42:33Z</dc:date>
    </item>
    <item>
      <title>Re: Sum if / set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-if-set-analysis/m-p/317869#M117169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, &amp;lt;= can be used in if condition or set analysis. But if condition consumes more memory compared to set. If you can have your expression calculated at the script level, you can directly use that in set anlaysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know you face any problem with the expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kiran.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Oct 2011 14:50:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-if-set-analysis/m-p/317869#M117169</guid>
      <dc:creator />
      <dc:date>2011-10-06T14:50:44Z</dc:date>
    </item>
  </channel>
</rss>

