<?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 - 2 measures based on selection in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-2-measures-based-on-selection/m-p/235738#M86991</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 had a requirement where I need to show the Measure for Selected Month , Previous 2 months and next 2 months.&lt;/P&gt;&lt;P&gt;For which I am using&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;SUM({$&amp;lt;MonthNumber = {'&amp;gt;=$(StartDate)&amp;lt;=$(EndDate)'}&amp;gt;} Sales)&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;Now my problem is the Sales Value comes from a different table for the previous months and the current comes from a different table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It has to be viewed in the same chart.&lt;/P&gt;&lt;P&gt;Can SET analysis work here ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chinmay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Mar 2011 10:42:57 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-03-02T10:42:57Z</dc:date>
    <item>
      <title>Set Analysis - 2 measures based on selection</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-2-measures-based-on-selection/m-p/235738#M86991</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 had a requirement where I need to show the Measure for Selected Month , Previous 2 months and next 2 months.&lt;/P&gt;&lt;P&gt;For which I am using&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;SUM({$&amp;lt;MonthNumber = {'&amp;gt;=$(StartDate)&amp;lt;=$(EndDate)'}&amp;gt;} Sales)&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;Now my problem is the Sales Value comes from a different table for the previous months and the current comes from a different table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It has to be viewed in the same chart.&lt;/P&gt;&lt;P&gt;Can SET analysis work here ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chinmay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2011 10:42:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-2-measures-based-on-selection/m-p/235738#M86991</guid>
      <dc:creator />
      <dc:date>2011-03-02T10:42:57Z</dc:date>
    </item>
    <item>
      <title>Set Analysis - 2 measures based on selection</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-2-measures-based-on-selection/m-p/235739#M86992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Chinmay,&lt;/P&gt;&lt;P&gt;Please check &lt;A href="http://community.qlik.com/forums/t/41715.aspx" target="_blank" title="Show last 6 quarters"&gt;this post&lt;/A&gt; and the attached application to see how to link the Sales table to a Master Calendar, so your expression works.&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2011 10:47:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-2-measures-based-on-selection/m-p/235739#M86992</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-03-02T10:47:52Z</dc:date>
    </item>
    <item>
      <title>Set Analysis - 2 measures based on selection</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-2-measures-based-on-selection/m-p/235740#M86993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Got it right &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&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;&lt;BR /&gt;Current:&lt;BR /&gt;load * inline&lt;BR /&gt;[&lt;BR /&gt;MonthNumber, Sales, MonthName&lt;BR /&gt;1,10, Jan&lt;BR /&gt;2,20, Feb&lt;BR /&gt;3,30, Mar&lt;BR /&gt;4,40, Apr&lt;BR /&gt;5,60, May&lt;BR /&gt;6,70, June&lt;BR /&gt;7,80, July&lt;BR /&gt;8,90, Aug&lt;BR /&gt;9,100, Sep&lt;BR /&gt;];&lt;BR /&gt;&lt;BR /&gt;Future:&lt;BR /&gt;load * inline&lt;BR /&gt;[&lt;BR /&gt;MonthNumber, Sales_Future, MonthName&lt;BR /&gt;1,100, Jan&lt;BR /&gt;2,200, Feb&lt;BR /&gt;3,300, Mar&lt;BR /&gt;4,400, Apr&lt;BR /&gt;5,600, May&lt;BR /&gt;6,700, June&lt;BR /&gt;7,800, July&lt;BR /&gt;8,900, Aug&lt;BR /&gt;9,1000, Sep&lt;BR /&gt;]&lt;BR /&gt;SUM({$&amp;lt;MonthNumber = {'&amp;gt;=$(StartDate)&amp;lt;=$(CurrDate)'}&amp;gt;} Sales)+ SUM({$&amp;lt;MonthNumber = {'&amp;gt;$(CurrDate)&amp;lt;=$(EndDate)'}&amp;gt;} Sales_Future)&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2011 11:05:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-2-measures-based-on-selection/m-p/235740#M86993</guid>
      <dc:creator />
      <dc:date>2011-03-02T11:05:23Z</dc:date>
    </item>
    <item>
      <title>Set Analysis - 2 measures based on selection</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-2-measures-based-on-selection/m-p/235741#M86994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;STRONG&gt;&lt;/STRONG&gt;&lt;STRONG&gt;&lt;A&gt;Miguel&lt;/A&gt;,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Thanks for the help.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I had figured out how to filter the Date, the issue was with 2 sets coming from two different tables.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Thanks a lot &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Regards,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Chinmay&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2011 11:08:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-2-measures-based-on-selection/m-p/235741#M86994</guid>
      <dc:creator />
      <dc:date>2011-03-02T11:08:29Z</dc:date>
    </item>
  </channel>
</rss>

