<?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 In a Graphic table compare sumof value  for the current month and previous month in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/In-a-Graphic-table-compare-sumof-value-for-the-current-month-and/m-p/2095244#M89735</link>
    <description>&lt;P&gt;Hello Everybody,&lt;/P&gt;
&lt;P&gt;I join a qlikview document.&lt;/P&gt;
&lt;P&gt;I have a problematic that seems very very very simple, but since 2 days i am totally blocked.&lt;/P&gt;
&lt;P&gt;I have sum of cancellation and subscription by month.&lt;/P&gt;
&lt;P&gt;I want to compare the result of the sum with the previous month.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;EFF :
load *, date#(DATE_CHAR,'DD/MM/YYYY') as DATE  ;
LOAD * INLINE [ 
DATE_CHAR,  TOP_CANCEL, TOP_SUBSCRIPTION , ID_CLIENT
'01/01/2022' , 0 ,1 , 1
'01/01/2022' , 1 ,1 , 2
'01/01/2022' , 1 ,0 , 3
'01/02/2022' , 0 ,1 , 4
'01/02/2022' , 1 ,1 , 5
'01/02/2022' , 1 ,0 , 6
'01/02/2022' , 1 ,1 , 7
'01/12/2022' , 1 ,0 , 8
'01/01/2023' , 1 ,0 , 9
'01/01/2023' , 0 ,1 , 9
'01/02/2023' , 1 ,0 , 10
'01/11/2023' , 1 ,0 , 11
'01/11/2023' , 1 ,0 , 12
'01/11/2023' , 1 ,0 , 13
'01/12/2023' , 1 ,0 , 21
'01/12/2023' , 1 ,0 , 22
'01/12/2023' , 1 ,0 , 23
'01/12/2023' , 0 ,1 , 24
 ]; &lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have create a set analysis in a graphic table with DATE as dimension like this :&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;sum({&amp;lt;DATE={"$(=addmonths( (DATE),-1))"} &amp;gt;} TOP_CANCEL)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But results diplay are 0 ...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you tell me what is wrong in my logic ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 19 Jul 2023 11:03:02 GMT</pubDate>
    <dc:creator>Touix</dc:creator>
    <dc:date>2023-07-19T11:03:02Z</dc:date>
    <item>
      <title>In a Graphic table compare sumof value  for the current month and previous month</title>
      <link>https://community.qlik.com/t5/App-Development/In-a-Graphic-table-compare-sumof-value-for-the-current-month-and/m-p/2095244#M89735</link>
      <description>&lt;P&gt;Hello Everybody,&lt;/P&gt;
&lt;P&gt;I join a qlikview document.&lt;/P&gt;
&lt;P&gt;I have a problematic that seems very very very simple, but since 2 days i am totally blocked.&lt;/P&gt;
&lt;P&gt;I have sum of cancellation and subscription by month.&lt;/P&gt;
&lt;P&gt;I want to compare the result of the sum with the previous month.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;EFF :
load *, date#(DATE_CHAR,'DD/MM/YYYY') as DATE  ;
LOAD * INLINE [ 
DATE_CHAR,  TOP_CANCEL, TOP_SUBSCRIPTION , ID_CLIENT
'01/01/2022' , 0 ,1 , 1
'01/01/2022' , 1 ,1 , 2
'01/01/2022' , 1 ,0 , 3
'01/02/2022' , 0 ,1 , 4
'01/02/2022' , 1 ,1 , 5
'01/02/2022' , 1 ,0 , 6
'01/02/2022' , 1 ,1 , 7
'01/12/2022' , 1 ,0 , 8
'01/01/2023' , 1 ,0 , 9
'01/01/2023' , 0 ,1 , 9
'01/02/2023' , 1 ,0 , 10
'01/11/2023' , 1 ,0 , 11
'01/11/2023' , 1 ,0 , 12
'01/11/2023' , 1 ,0 , 13
'01/12/2023' , 1 ,0 , 21
'01/12/2023' , 1 ,0 , 22
'01/12/2023' , 1 ,0 , 23
'01/12/2023' , 0 ,1 , 24
 ]; &lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have create a set analysis in a graphic table with DATE as dimension like this :&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;sum({&amp;lt;DATE={"$(=addmonths( (DATE),-1))"} &amp;gt;} TOP_CANCEL)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But results diplay are 0 ...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you tell me what is wrong in my logic ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jul 2023 11:03:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/In-a-Graphic-table-compare-sumof-value-for-the-current-month-and/m-p/2095244#M89735</guid>
      <dc:creator>Touix</dc:creator>
      <dc:date>2023-07-19T11:03:02Z</dc:date>
    </item>
  </channel>
</rss>

