<?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: Compare data from two periods in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Compare-data-from-two-periods/m-p/2004204#M83133</link>
    <description>&lt;P&gt;You can accomplish COMPARISONS between time periods using SET ANALYSIS. If you are not familiar with set analysis, I created a post years ago that is a hands on workshop. You can download a PDF of the exercises that leads you through it and an application that has the data for the exercises.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Official-Support-Articles/Hands-on-Set-Analysis-from-the-ground-up/ta-p/1799118" target="_blank"&gt;https://community.qlik.com/t5/Official-Support-Articles/Hands-on-Set-Analysis-from-the-ground-up/ta-p/1799118&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 14 Nov 2022 15:52:24 GMT</pubDate>
    <dc:creator>Dalton_Ruer</dc:creator>
    <dc:date>2022-11-14T15:52:24Z</dc:date>
    <item>
      <title>Compare data from two periods</title>
      <link>https://community.qlik.com/t5/App-Development/Compare-data-from-two-periods/m-p/2001077#M82911</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="Y2IQFc"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Untitled.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/92994i20BED6DCBF231F83/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Untitled.png" alt="Untitled.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I'm having problems trying to compare the data from two different time periods. I know there are already many similar topics, but I just can't solve it.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="Y2IQFc"&gt;&lt;SPAN&gt;I would like to see comparatively newer and older data on one graph, but only the dimension of newer data.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="Y2IQFc"&gt;&lt;SPAN&gt;Not like this on photo, that there is just one graph.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Nov 2022 08:30:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Compare-data-from-two-periods/m-p/2001077#M82911</guid>
      <dc:creator>okin_pfa</dc:creator>
      <dc:date>2022-11-07T08:30:37Z</dc:date>
    </item>
    <item>
      <title>Re: Compare data from two periods</title>
      <link>https://community.qlik.com/t5/App-Development/Compare-data-from-two-periods/m-p/2004204#M83133</link>
      <description>&lt;P&gt;You can accomplish COMPARISONS between time periods using SET ANALYSIS. If you are not familiar with set analysis, I created a post years ago that is a hands on workshop. You can download a PDF of the exercises that leads you through it and an application that has the data for the exercises.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Official-Support-Articles/Hands-on-Set-Analysis-from-the-ground-up/ta-p/1799118" target="_blank"&gt;https://community.qlik.com/t5/Official-Support-Articles/Hands-on-Set-Analysis-from-the-ground-up/ta-p/1799118&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2022 15:52:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Compare-data-from-two-periods/m-p/2004204#M83133</guid>
      <dc:creator>Dalton_Ruer</dc:creator>
      <dc:date>2022-11-14T15:52:24Z</dc:date>
    </item>
    <item>
      <title>Re: Compare data from two periods</title>
      <link>https://community.qlik.com/t5/App-Development/Compare-data-from-two-periods/m-p/2004352#M83147</link>
      <description>&lt;P&gt;You can concatenate both&amp;nbsp;tables.&lt;BR /&gt;Using GraphicYearMonth as dimension and applying set analysis to make two metrics, you can do it using the field origen (Sum({$&amp;lt;Origen = {'SALES'}&amp;gt; }JobOrderQuantity_KG)).&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SALES:&lt;BR /&gt;LOAD 'SALES' as Origen,&lt;BR /&gt;"ProfitCenter"&lt;BR /&gt;,"ItemCategoryCode" &lt;BR /&gt;,"JobOrderQuantity_KG"&lt;BR /&gt;,Dual(num(Month(DeliveryDate)) &amp;amp; ' / ' &amp;amp; Year(DeliveryDate),year(DeliveryDate) &amp;amp; num(month(DeliveryDate), '00')) as YearMonth &lt;BR /&gt;,num(Month(DeliveryDate),'00') &amp;amp; ' / ' &amp;amp; Year(DeliveryDate) as GraphicYearMonth&lt;BR /&gt;from [$(DataFolderName)/SALES.qvd] (qvd)&lt;BR /&gt;where &lt;BR /&gt;DeliveryDate &amp;gt;= Date(MonthStart(Today(), -5))&lt;BR /&gt;;&lt;/P&gt;
&lt;P&gt;Concatenate&lt;/P&gt;
&lt;P&gt;LOAD 'LAST_YEAR' as Origen,&lt;BR /&gt;"ProfitCenter"&lt;BR /&gt;,"ItemCategoryCode" &lt;BR /&gt;,"JobOrderQuantity_KG" &lt;BR /&gt;,Dual(num(Month(DeliveryDate)) &amp;amp; ' / ' &amp;amp; Year(DeliveryDate),year(DeliveryDate) &amp;amp; num(month(DeliveryDate), '00')) as YearMonth2 &lt;BR /&gt;,num(Month(DeliveryDate),'00') &amp;amp; ' / ' &amp;amp; (Year(DeliveryDate)+1) as GraphicYearMonth&lt;BR /&gt;from [$(DataFolderName)/SALES.qvd] (qvd)&lt;BR /&gt;where &lt;BR /&gt;DeliveryDate &amp;gt;= Date(MonthStart(Today(), -17))&lt;BR /&gt;and DeliveryDate &amp;lt; Date(MonthStart(Today(), -5))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2022 01:37:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Compare-data-from-two-periods/m-p/2004352#M83147</guid>
      <dc:creator>EdgarOlmos</dc:creator>
      <dc:date>2022-11-15T01:37:18Z</dc:date>
    </item>
  </channel>
</rss>

