<?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: Add/Delete Month Over Month Comparision in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Add-Delete-Month-Over-Month-Comparision/m-p/2067790#M1223512</link>
    <description>&lt;P&gt;Hi Marijn&lt;/P&gt;
&lt;P&gt;Thanks for taking time and looking into this.&lt;/P&gt;
&lt;P&gt;What I am trying is to compare month over month and find how many Id's are added and got deleted for each month.&lt;/P&gt;
&lt;P&gt;. April vs March :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;How many new records are Added in April (means they are not in March but in April so Added)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;How many of records in March which are not in April so they are considered as Deleted (means they are in March but not in April so Deleted)&lt;/P&gt;
&lt;P&gt;As per your logic I see that we need to create the tables for each month, I hope that will not help as we get data each month as we move into future.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Sahi&lt;/P&gt;</description>
    <pubDate>Thu, 04 May 2023 16:36:54 GMT</pubDate>
    <dc:creator>Sahi</dc:creator>
    <dc:date>2023-05-04T16:36:54Z</dc:date>
    <item>
      <title>Add/Delete Month Over Month Comparision</title>
      <link>https://community.qlik.com/t5/QlikView/Add-Delete-Month-Over-Month-Comparision/m-p/2066935#M1223484</link>
      <description>&lt;P&gt;Hello Team,&lt;/P&gt;
&lt;P&gt;Could you please help me with one of the logic am trying to create.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a table with Id's for each month.&lt;/P&gt;
&lt;DIV style="direction: ltr;"&gt;
&lt;TABLE style="direction: ltr; border-collapse: collapse; border: 1pt solid #A3A3A3;" title="" border="1" summary="" cellspacing="0" cellpadding="0"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD style="vertical-align: top; width: .6673in; padding: 4pt 4pt 4pt 4pt; border: 1pt solid #A3A3A3;"&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Id&lt;/P&gt;
&lt;/TD&gt;
&lt;TD style="vertical-align: top; width: .9055in; padding: 4pt 4pt 4pt 4pt; border: 1pt solid #A3A3A3;"&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Month-Year&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="vertical-align: top; width: .6673in; padding: 4pt 4pt 4pt 4pt; border: 1pt solid #A3A3A3;"&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;1&lt;/P&gt;
&lt;/TD&gt;
&lt;TD style="vertical-align: top; width: .8361in; padding: 4pt 4pt 4pt 4pt; border: 1pt solid #A3A3A3;"&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Jan&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="vertical-align: top; width: .6673in; padding: 4pt 4pt 4pt 4pt; border: 1pt solid #A3A3A3;"&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;2&lt;/P&gt;
&lt;/TD&gt;
&lt;TD style="vertical-align: top; width: .8361in; padding: 4pt 4pt 4pt 4pt; border: 1pt solid #A3A3A3;"&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Jan&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="vertical-align: top; width: .6673in; padding: 4pt 4pt 4pt 4pt; border: 1pt solid #A3A3A3;"&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;3&lt;/P&gt;
&lt;/TD&gt;
&lt;TD style="vertical-align: top; width: .8361in; padding: 4pt 4pt 4pt 4pt; border: 1pt solid #A3A3A3;"&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Jan&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/DIV&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV style="direction: ltr;"&gt;
&lt;TABLE style="direction: ltr; border-collapse: collapse; border: 1pt solid #A3A3A3;" title="" border="1" summary="" cellspacing="0" cellpadding="0"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD style="vertical-align: top; width: .6673in; padding: 4pt 4pt 4pt 4pt; border: 1pt solid #A3A3A3;"&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Id&lt;/P&gt;
&lt;/TD&gt;
&lt;TD style="vertical-align: top; width: .9055in; padding: 4pt 4pt 4pt 4pt; border: 1pt solid #A3A3A3;"&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Month-Year&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="vertical-align: top; width: .6673in; padding: 4pt 4pt 4pt 4pt; border: 1pt solid #A3A3A3;"&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;1.1&lt;/P&gt;
&lt;/TD&gt;
&lt;TD style="vertical-align: top; width: .8361in; padding: 4pt 4pt 4pt 4pt; border: 1pt solid #A3A3A3;"&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Feb&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="vertical-align: top; width: .6673in; padding: 4pt 4pt 4pt 4pt; border: 1pt solid #A3A3A3;"&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;2&lt;/P&gt;
&lt;/TD&gt;
&lt;TD style="vertical-align: top; width: .8361in; padding: 4pt 4pt 4pt 4pt; border: 1pt solid #A3A3A3;"&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Feb&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="vertical-align: top; width: .6673in; padding: 4pt 4pt 4pt 4pt; border: 1pt solid #A3A3A3;"&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;3.1&lt;/P&gt;
&lt;/TD&gt;
&lt;TD style="vertical-align: top; width: .8361in; padding: 4pt 4pt 4pt 4pt; border: 1pt solid #A3A3A3;"&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Feb&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/DIV&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV style="direction: ltr;"&gt;
&lt;TABLE style="direction: ltr; border-collapse: collapse; border: 1pt solid #A3A3A3;" title="" border="1" summary="" cellspacing="0" cellpadding="0"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD style="vertical-align: top; width: .6673in; padding: 4pt 4pt 4pt 4pt; border: 1pt solid #A3A3A3;"&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Id&lt;/P&gt;
&lt;/TD&gt;
&lt;TD style="vertical-align: top; width: .9055in; padding: 4pt 4pt 4pt 4pt; border: 1pt solid #A3A3A3;"&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Month-Year&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="vertical-align: top; width: .6673in; padding: 4pt 4pt 4pt 4pt; border: 1pt solid #A3A3A3;"&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;1.1&lt;/P&gt;
&lt;/TD&gt;
&lt;TD style="vertical-align: top; width: .8361in; padding: 4pt 4pt 4pt 4pt; border: 1pt solid #A3A3A3;"&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;March&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="vertical-align: top; width: .6673in; padding: 4pt 4pt 4pt 4pt; border: 1pt solid #A3A3A3;"&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;2.2&lt;/P&gt;
&lt;/TD&gt;
&lt;TD style="vertical-align: top; width: .8361in; padding: 4pt 4pt 4pt 4pt; border: 1pt solid #A3A3A3;"&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;March&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="vertical-align: top; width: .6673in; padding: 4pt 4pt 4pt 4pt; border: 1pt solid #A3A3A3;"&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;3.1&lt;/P&gt;
&lt;/TD&gt;
&lt;TD style="vertical-align: top; width: .8361in; padding: 4pt 4pt 4pt 4pt; border: 1pt solid #A3A3A3;"&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;March&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/DIV&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Of the 3 months data above, I am seeing if I can get some logic help created below for Addition/Deletion of Id's to get done in Script may be like a flag (Add/Delete) so that I can use it accordingly in my front end.&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Expected output as below:&lt;/P&gt;
&lt;UL style="direction: ltr; unicode-bidi: embed; margin-top: 0in; margin-bottom: 0in;" type="disc"&gt;
&lt;LI style="margin-top: 0; margin-bottom: 0; vertical-align: middle;"&gt;
&lt;UL style="direction: ltr; unicode-bidi: embed; margin-top: 0in; margin-bottom: 0in;" type="disc"&gt;
&lt;LI style="margin-top: 0; margin-bottom: 0; vertical-align: middle;"&gt;&lt;SPAN&gt;Comparing March vs Feb :&lt;/SPAN&gt;&lt;/LI&gt;
&lt;UL style="direction: ltr; unicode-bidi: embed; margin-top: 0in; margin-bottom: 0in;" type="circle"&gt;
&lt;LI style="margin-top: 0; margin-bottom: 0; vertical-align: middle; font-size: 11.0pt;"&gt;
&lt;DIV style="direction: ltr;"&gt;
&lt;TABLE style="direction: ltr; border-collapse: collapse; border: 1pt solid #A3A3A3;" title="" border="1" summary="" cellspacing="0" cellpadding="0"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD style="vertical-align: top; width: 1.2472in; padding: 4pt 4pt 4pt 4pt; border: 1pt solid #A3A3A3;"&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Addition(March)&lt;/P&gt;
&lt;/TD&gt;
&lt;TD style="vertical-align: top; width: 1.3305in; padding: 4pt 4pt 4pt 4pt; border: 1pt solid #A3A3A3;"&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Deletion(Feb)&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="vertical-align: top; width: 1.2277in; padding: 4pt 4pt 4pt 4pt; border: 1pt solid #A3A3A3;"&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;2.2&lt;/P&gt;
&lt;/TD&gt;
&lt;TD style="vertical-align: top; width: 1.4194in; padding: 4pt 4pt 4pt 4pt; border: 1pt solid #A3A3A3;"&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;2 since not in March&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/DIV&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;/UL&gt;
&lt;P style="margin: 0in; margin-left: .375in; font-family: Calibri; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; margin-left: .375in; font-family: Calibri; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL style="direction: ltr; unicode-bidi: embed; margin-top: 0in; margin-bottom: 0in;" type="disc"&gt;
&lt;LI style="margin-top: 0; margin-bottom: 0; vertical-align: middle;"&gt;&lt;SPAN&gt;Comparing March vs Jan:&lt;/SPAN&gt;&lt;/LI&gt;
&lt;UL style="direction: ltr; unicode-bidi: embed; margin-top: 0in; margin-bottom: 0in;" type="circle"&gt;
&lt;LI style="margin-top: 0; margin-bottom: 0; vertical-align: middle; font-size: 11.0pt;"&gt;
&lt;DIV style="direction: ltr;"&gt;
&lt;TABLE style="direction: ltr; border-collapse: collapse; border: 1pt solid #A3A3A3;" title="" border="1" summary="" cellspacing="0" cellpadding="0"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD style="vertical-align: top; width: 1.2472in; padding: 4pt 4pt 4pt 4pt; border: 1pt solid #A3A3A3;"&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Addition(March)&lt;/P&gt;
&lt;/TD&gt;
&lt;TD style="vertical-align: top; width: 1.3305in; padding: 4pt 4pt 4pt 4pt; border: 1pt solid #A3A3A3;"&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Deletion(Jan)&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="vertical-align: top; width: 1.2277in; padding: 4pt 4pt 4pt 4pt; border: 1pt solid #A3A3A3;"&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;1.1&lt;/P&gt;
&lt;/TD&gt;
&lt;TD style="vertical-align: top; width: 1.4194in; padding: 4pt 4pt 4pt 4pt; border: 1pt solid #A3A3A3;"&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;1 since not in March&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="vertical-align: top; width: 1.2277in; padding: 4pt 4pt 4pt 4pt; border: 1pt solid #A3A3A3;"&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;2.2&lt;/P&gt;
&lt;/TD&gt;
&lt;TD style="vertical-align: top; width: 1.4194in; padding: 4pt 4pt 4pt 4pt; border: 1pt solid #A3A3A3;"&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;2 since not in March&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="vertical-align: top; width: 1.2277in; padding: 4pt 4pt 4pt 4pt; border: 1pt solid #A3A3A3;"&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;3.1&lt;/P&gt;
&lt;/TD&gt;
&lt;TD style="vertical-align: top; width: 1.4194in; padding: 4pt 4pt 4pt 4pt; border: 1pt solid #A3A3A3;"&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;3 since not in March&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/DIV&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;/UL&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL style="direction: ltr; unicode-bidi: embed; margin-top: 0in; margin-bottom: 0in;" type="disc"&gt;
&lt;LI style="margin-top: 0; margin-bottom: 0; vertical-align: middle;"&gt;&lt;SPAN&gt;Comparing Feb vs Jan:&lt;/SPAN&gt;&lt;/LI&gt;
&lt;UL style="direction: ltr; unicode-bidi: embed; margin-top: 0in; margin-bottom: 0in;" type="circle"&gt;
&lt;LI style="margin-top: 0; margin-bottom: 0; vertical-align: middle; font-size: 11.0pt;"&gt;
&lt;DIV style="direction: ltr;"&gt;
&lt;TABLE style="direction: ltr; border-collapse: collapse; border: 1pt solid #A3A3A3;" title="" border="1" summary="" cellspacing="0" cellpadding="0"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD style="vertical-align: top; width: 1.0715in; padding: 4pt 4pt 4pt 4pt; border: 1pt solid #A3A3A3;"&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Addition(Feb)&lt;/P&gt;
&lt;/TD&gt;
&lt;TD style="vertical-align: top; width: 1.1548in; padding: 4pt 4pt 4pt 4pt; border: 1pt solid #A3A3A3;"&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Deletion(Jan)&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="vertical-align: top; width: 1.052in; padding: 4pt 4pt 4pt 4pt; border: 1pt solid #A3A3A3;"&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;1.1&lt;/P&gt;
&lt;/TD&gt;
&lt;TD style="vertical-align: top; width: 1.2437in; padding: 4pt 4pt 4pt 4pt; border: 1pt solid #A3A3A3;"&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;1 since not in Feb&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="vertical-align: top; width: 1.052in; padding: 4pt 4pt 4pt 4pt; border: 1pt solid #A3A3A3;"&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;3.1&lt;/P&gt;
&lt;/TD&gt;
&lt;TD style="vertical-align: top; width: 1.2437in; padding: 4pt 4pt 4pt 4pt; border: 1pt solid #A3A3A3;"&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;3 since not in Feb&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/DIV&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any help would be more appreciated.&lt;/P&gt;</description>
      <pubDate>Tue, 02 May 2023 20:33:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-Delete-Month-Over-Month-Comparision/m-p/2066935#M1223484</guid>
      <dc:creator>Sahi</dc:creator>
      <dc:date>2023-05-02T20:33:18Z</dc:date>
    </item>
    <item>
      <title>Re: Add/Delete Month Over Month Comparision</title>
      <link>https://community.qlik.com/t5/QlikView/Add-Delete-Month-Over-Month-Comparision/m-p/2067712#M1223509</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/164466"&gt;@Sahi&lt;/a&gt; I'm not sure what exactly you are trying to do, but the script below is a way to add flags whether an ID is present in a specific month. These flags can then be used in a set expression.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Jan:
load * inline [
Id,Month-Year
1,Jan
2,Jan
3,Jan 
];

Feb:
noconcatenate load * inline [
Id,Month-Year
1.1,Feb
2,Feb
3.1,Feb
];

Mar:
noconcatenate load * inline [
Id,Month-Year
1.1,March
2.2,March
3.1,March
];

map_Jan:
mapping load Id,1
resident Jan;

map_Feb:
mapping load Id,1
resident Feb;

map_Mar:
mapping load Id,1
resident Mar;

load_all_IDs:
load Id
resident Jan;
concatenate load Id
resident Feb;
concatenate load Id
resident Mar;

unique_IDs_with_flags:
load distinct Id,
ApplyMap('map_Jan',Id,0)	as FL_in_Jan,
ApplyMap('map_Feb',Id,0)	as FL_in_Feb,
ApplyMap('map_Mar',Id,0)	as FL_in_Mar
resident load_all_IDs;

drop tables Jan,Feb,Mar,load_all_IDs;&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 04 May 2023 13:50:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-Delete-Month-Over-Month-Comparision/m-p/2067712#M1223509</guid>
      <dc:creator>Marijn</dc:creator>
      <dc:date>2023-05-04T13:50:59Z</dc:date>
    </item>
    <item>
      <title>Re: Add/Delete Month Over Month Comparision</title>
      <link>https://community.qlik.com/t5/QlikView/Add-Delete-Month-Over-Month-Comparision/m-p/2067790#M1223512</link>
      <description>&lt;P&gt;Hi Marijn&lt;/P&gt;
&lt;P&gt;Thanks for taking time and looking into this.&lt;/P&gt;
&lt;P&gt;What I am trying is to compare month over month and find how many Id's are added and got deleted for each month.&lt;/P&gt;
&lt;P&gt;. April vs March :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;How many new records are Added in April (means they are not in March but in April so Added)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;How many of records in March which are not in April so they are considered as Deleted (means they are in March but not in April so Deleted)&lt;/P&gt;
&lt;P&gt;As per your logic I see that we need to create the tables for each month, I hope that will not help as we get data each month as we move into future.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Sahi&lt;/P&gt;</description>
      <pubDate>Thu, 04 May 2023 16:36:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-Delete-Month-Over-Month-Comparision/m-p/2067790#M1223512</guid>
      <dc:creator>Sahi</dc:creator>
      <dc:date>2023-05-04T16:36:54Z</dc:date>
    </item>
    <item>
      <title>Re: Add/Delete Month Over Month Comparision</title>
      <link>https://community.qlik.com/t5/QlikView/Add-Delete-Month-Over-Month-Comparision/m-p/2067975#M1223523</link>
      <description>&lt;P&gt;So all the data comes in one table? Like this:&lt;/P&gt;
&lt;TABLE style="border-collapse: collapse; width: 96pt;" border="0" width="127px" cellspacing="0" cellpadding="0"&gt;
&lt;TBODY&gt;
&lt;TR style="height: 30.75pt;"&gt;
&lt;TD width="63.2px" height="41" class="xl65" style="height: 30.75pt; width: 48pt;"&gt;Id&lt;/TD&gt;
&lt;TD width="63.8px" class="xl65" style="border-left: none; width: 48pt; padding-bottom: 4pt; padding-top: 4pt;"&gt;Month-Year&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.75pt;"&gt;
&lt;TD width="63.2px" height="21" align="right" class="xl65" style="height: 15.75pt; border-top: none; width: 48pt; padding-bottom: 4pt; padding-top: 4pt;"&gt;1&lt;/TD&gt;
&lt;TD width="63.8px" class="xl65" style="border-top: none; border-left: none; width: 48pt; padding-bottom: 4pt; padding-top: 4pt;"&gt;Jan&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.75pt;"&gt;
&lt;TD width="63.2px" height="21" align="right" class="xl65" style="height: 15.75pt; border-top: none; width: 48pt; padding-bottom: 4pt; padding-top: 4pt;"&gt;2&lt;/TD&gt;
&lt;TD width="63.8px" class="xl65" style="border-top: none; border-left: none; width: 48pt; padding-bottom: 4pt; padding-top: 4pt;"&gt;Jan&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.75pt;"&gt;
&lt;TD width="63.2px" height="21" align="right" class="xl65" style="height: 15.75pt; border-top: none; width: 48pt; padding-bottom: 4pt; padding-top: 4pt;"&gt;3&lt;/TD&gt;
&lt;TD width="63.8px" class="xl65" style="border-top: none; border-left: none; width: 48pt; padding-bottom: 4pt; padding-top: 4pt;"&gt;Jan&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.75pt;"&gt;
&lt;TD width="63.2px" height="21" class="xl65" style="height: 15.75pt; border-top: none; width: 48pt; padding-bottom: 4pt; padding-top: 4pt;"&gt;1.1&lt;/TD&gt;
&lt;TD width="63.8px" class="xl65" style="border-top: none; border-left: none; width: 48pt; padding-bottom: 4pt; padding-top: 4pt;"&gt;Feb&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.75pt;"&gt;
&lt;TD width="63.2px" height="21" align="right" class="xl65" style="height: 15.75pt; border-top: none; width: 48pt; padding-bottom: 4pt; padding-top: 4pt;"&gt;2&lt;/TD&gt;
&lt;TD width="63.8px" class="xl65" style="border-top: none; border-left: none; width: 48pt; padding-bottom: 4pt; padding-top: 4pt;"&gt;Feb&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.75pt;"&gt;
&lt;TD width="63.2px" height="21" class="xl65" style="height: 15.75pt; border-top: none; width: 48pt; padding-bottom: 4pt; padding-top: 4pt;"&gt;3.1&lt;/TD&gt;
&lt;TD width="63.8px" class="xl65" style="border-top: none; border-left: none; width: 48pt; padding-bottom: 4pt; padding-top: 4pt;"&gt;Feb&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.75pt;"&gt;
&lt;TD width="63.2px" height="21" class="xl65" style="height: 15.75pt; border-top: none; width: 48pt; padding-bottom: 4pt; padding-top: 4pt;"&gt;1.1&lt;/TD&gt;
&lt;TD width="63.8px" class="xl65" style="border-top: none; border-left: none; width: 48pt; padding-bottom: 4pt; padding-top: 4pt;"&gt;March&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.75pt;"&gt;
&lt;TD width="63.2px" height="21" class="xl65" style="height: 15.75pt; border-top: none; width: 48pt; padding-bottom: 4pt; padding-top: 4pt;"&gt;2.2&lt;/TD&gt;
&lt;TD width="63.8px" class="xl65" style="border-top: none; border-left: none; width: 48pt; padding-bottom: 4pt; padding-top: 4pt;"&gt;March&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.75pt;"&gt;
&lt;TD width="63.2px" height="21" class="xl65" style="height: 15.75pt; border-top: none; width: 48pt; padding-bottom: 4pt; padding-top: 4pt;"&gt;3.1&lt;/TD&gt;
&lt;TD width="63.8px" class="xl65" style="border-top: none; border-left: none; width: 48pt; padding-bottom: 4pt; padding-top: 4pt;"&gt;March&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think it would be easier to add flags to your months to create flexibility in your analysis and then use set analysis to make the selections. You can add flags for example for current and last month. It would be easiest to create a calendar dimension table for this.&lt;BR /&gt;Flags we use a lot are:&lt;BR /&gt;FL_CurrentYear&lt;BR /&gt;FL_LastYear&lt;BR /&gt;FL_CurrentMonth&lt;BR /&gt;FL_LastMonth&lt;BR /&gt;FL_BeforeCurrentMonth&lt;BR /&gt;FL_BeforeCurrentYear&lt;BR /&gt;etc.&lt;/P&gt;
&lt;P&gt;Then you can select all ID's that are present in this month but not in last month, for example:&lt;/P&gt;
&lt;P&gt;only( {$&amp;lt;FL_CurrentMonth = {1}&amp;gt; - &amp;lt;FL_LastMonth={1}&amp;gt;} Id)&lt;BR /&gt;&lt;BR /&gt;Or ID's that are present in current month, but not in any other month:&lt;BR /&gt;only( {$&amp;lt;FL_CurrentMonth={1}&amp;gt; - &amp;lt;FL_BeforeCurrentMonth-={1}&amp;gt;} Id)&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;See this &lt;A href="https://community.qlik.com/t5/QlikView-App-Dev/Creating-A-Master-Calendar/td-p/341286" target="_self"&gt;thread&lt;/A&gt; on help how to make a calendar table.&lt;/P&gt;</description>
      <pubDate>Fri, 05 May 2023 06:48:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-Delete-Month-Over-Month-Comparision/m-p/2067975#M1223523</guid>
      <dc:creator>Marijn</dc:creator>
      <dc:date>2023-05-05T06:48:27Z</dc:date>
    </item>
  </channel>
</rss>

