<?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 Set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/408926#M152051</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you correct the given expression ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Year_Posting and Month_Posting are not working so getting 0 as my output. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Year_Posting , Year_Master_From , Year_Master_To&lt;/P&gt;&lt;P&gt;Month_Posting ,&amp;nbsp; Month_Master_From , Month_Master_To These are the fields. How to assign the field to other field. Getting wrong because of that only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly suggest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=SUM( {&amp;lt;Year_Plan={$(vMaxYear)},Year_Posting={"&amp;gt;=Year_Master_From &amp;lt;=Year_Master_To"},&lt;/P&gt;&lt;P&gt;Month_Posting={"&amp;gt;=Month_Master_From) &amp;lt;=Month_Master_To)"},Month_Num_Plan={$(vMaxMonth)}, Flag_Plan={'ManuPlan'}&amp;gt;} Plan) &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 May 2013 06:22:02 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-05-27T06:22:02Z</dc:date>
    <item>
      <title>Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/408926#M152051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you correct the given expression ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Year_Posting and Month_Posting are not working so getting 0 as my output. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Year_Posting , Year_Master_From , Year_Master_To&lt;/P&gt;&lt;P&gt;Month_Posting ,&amp;nbsp; Month_Master_From , Month_Master_To These are the fields. How to assign the field to other field. Getting wrong because of that only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly suggest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=SUM( {&amp;lt;Year_Plan={$(vMaxYear)},Year_Posting={"&amp;gt;=Year_Master_From &amp;lt;=Year_Master_To"},&lt;/P&gt;&lt;P&gt;Month_Posting={"&amp;gt;=Month_Master_From) &amp;lt;=Month_Master_To)"},Month_Num_Plan={$(vMaxMonth)}, Flag_Plan={'ManuPlan'}&amp;gt;} Plan) &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 May 2013 06:22:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/408926#M152051</guid>
      <dc:creator />
      <dc:date>2013-05-27T06:22:02Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/408927#M152052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My guess is that you're doing trying to compare fields on a record-by-record basis: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;Year_Posting={"&amp;gt;=Year_Master_From &amp;lt;=Year_Master_To"},&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; background-color: #ffffff; font-family: Arial;"&gt;Month_Posting={"&amp;gt;=Month_Master_From) &amp;lt;=Month_Master_To)"},&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And that won't work. You'll have to replace those with if statements. Maybe something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;SUM( {&amp;lt;Year_Plan={$(vMaxYear)},&lt;SPAN style="font-size: 10pt;"&gt;Month_Num_Plan={$(vMaxMonth)}, Flag_Plan={'ManuPlan'}&amp;gt;} &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;if (&lt;/SPAN&gt;Year_Posting&amp;gt;=Year_Master_From and &lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;Year_Posting&lt;/SPAN&gt; &amp;lt;=Year_Master_To and &lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;Month_Posting&amp;gt;=Month_Master_From and &lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;Month_Posting&lt;/SPAN&gt; &amp;lt;=Month_Master_To,&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;Plan))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 May 2013 09:14:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/408927#M152052</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-05-27T09:14:23Z</dc:date>
    </item>
  </channel>
</rss>

