<?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 is not working in Pivot table in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Set-Analysis-is-not-working-in-Pivot-table/m-p/1196458#M22573</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="text-align: left;"&gt;I have a simple pivot table with the below columns:&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;Month&lt;/P&gt;&lt;P style="text-align: left;"&gt;Sales&lt;/P&gt;&lt;P style="text-align: left;"&gt;Sales (Last Year, Same Month)&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;Sales (Last Year, Same Month) has the below formula:&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P&gt;Sum(&lt;/P&gt;&lt;P&gt;{$&amp;lt;&lt;/P&gt;&lt;P&gt;[YearMonth No]= ,&lt;/P&gt;&lt;P&gt;[Year] =,&lt;/P&gt;&lt;P&gt;[Month No]=,&lt;/P&gt;&lt;P&gt;[Month Year]= ,&lt;/P&gt;&lt;P&gt;[Month]= ,&lt;/P&gt;&lt;P&gt;MonthID={$(=Max(MonthID)-12)}&lt;/P&gt;&lt;P&gt;&amp;gt;} Sales)&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;In the Model, I have developed the Master Calendar, Month, Sales &amp;amp; some other tables.&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;Month table has the below columns:&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;[Month Year], Year, [Month No], Month, [YearMonth No], MonthID&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;MonthID is calculated with the below formula:&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;(Year-1)* 12 + [Month No] which generates a sequence without missing nos for each month in a sequence.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Oct 2016 08:01:21 GMT</pubDate>
    <dc:creator>madnanansari</dc:creator>
    <dc:date>2016-10-27T08:01:21Z</dc:date>
    <item>
      <title>Set Analysis is not working in Pivot table</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-is-not-working-in-Pivot-table/m-p/1196458#M22573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="text-align: left;"&gt;I have a simple pivot table with the below columns:&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;Month&lt;/P&gt;&lt;P style="text-align: left;"&gt;Sales&lt;/P&gt;&lt;P style="text-align: left;"&gt;Sales (Last Year, Same Month)&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;Sales (Last Year, Same Month) has the below formula:&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P&gt;Sum(&lt;/P&gt;&lt;P&gt;{$&amp;lt;&lt;/P&gt;&lt;P&gt;[YearMonth No]= ,&lt;/P&gt;&lt;P&gt;[Year] =,&lt;/P&gt;&lt;P&gt;[Month No]=,&lt;/P&gt;&lt;P&gt;[Month Year]= ,&lt;/P&gt;&lt;P&gt;[Month]= ,&lt;/P&gt;&lt;P&gt;MonthID={$(=Max(MonthID)-12)}&lt;/P&gt;&lt;P&gt;&amp;gt;} Sales)&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;In the Model, I have developed the Master Calendar, Month, Sales &amp;amp; some other tables.&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;Month table has the below columns:&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;[Month Year], Year, [Month No], Month, [YearMonth No], MonthID&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;MonthID is calculated with the below formula:&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;(Year-1)* 12 + [Month No] which generates a sequence without missing nos for each month in a sequence.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2016 08:01:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-is-not-working-in-Pivot-table/m-p/1196458#M22573</guid>
      <dc:creator>madnanansari</dc:creator>
      <dc:date>2016-10-27T08:01:21Z</dc:date>
    </item>
  </channel>
</rss>

