<?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 Complex Set Analysis : Differences between non-consecutives years in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Complex-Set-Analysis-Differences-between-non-consecutives-years/m-p/1845401#M69940</link>
    <description>&lt;P&gt;Hello dear Qlik Community,&lt;/P&gt;&lt;P&gt;My need is pretty simple.&lt;/P&gt;&lt;P&gt;Here I have a pivot table displaying some sales through years I have pre-selected in a filter.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="{582892C6-7B9C-4660-B912-95BFBC1C77DC}.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/63976i4C724C98302CC959/image-size/large?v=v2&amp;amp;px=999" role="button" title="{582892C6-7B9C-4660-B912-95BFBC1C77DC&amp;amp;#125;.png" alt="{582892C6-7B9C-4660-B912-95BFBC1C77DC&amp;amp;#125;.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Hevel_1-1634030800222.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/63970iC4767E04A3E060CC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Hevel_1-1634030800222.png" alt="Hevel_1-1634030800222.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I would like to create a column that calculates the difference between the "dimensional" year and the year that falls behind among the current selected years.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Something like that :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="{81F16EE7-2102-44C7-834A-0440B4EFEAF0}.png.jpg" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/63977iE0396C46E2074819/image-size/large?v=v2&amp;amp;px=999" role="button" title="{81F16EE7-2102-44C7-834A-0440B4EFEAF0&amp;amp;#125;.png.jpg" alt="{81F16EE7-2102-44C7-834A-0440B4EFEAF0&amp;amp;#125;.png.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Finally, and ideally, I would add a conditional statement to hide this column if the "dimensional year" is the last one ( there's no previous year to calculate differences with).&lt;/P&gt;&lt;P&gt;I've tried something with the max and rank functions to identify the previous selected year, but I'm not an expert with set analysis and this case is beyond my current skills.&lt;/P&gt;&lt;P&gt;Thank you for you help !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 12 Oct 2021 09:39:29 GMT</pubDate>
    <dc:creator>Hevel</dc:creator>
    <dc:date>2021-10-12T09:39:29Z</dc:date>
    <item>
      <title>Complex Set Analysis : Differences between non-consecutives years</title>
      <link>https://community.qlik.com/t5/App-Development/Complex-Set-Analysis-Differences-between-non-consecutives-years/m-p/1845401#M69940</link>
      <description>&lt;P&gt;Hello dear Qlik Community,&lt;/P&gt;&lt;P&gt;My need is pretty simple.&lt;/P&gt;&lt;P&gt;Here I have a pivot table displaying some sales through years I have pre-selected in a filter.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="{582892C6-7B9C-4660-B912-95BFBC1C77DC}.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/63976i4C724C98302CC959/image-size/large?v=v2&amp;amp;px=999" role="button" title="{582892C6-7B9C-4660-B912-95BFBC1C77DC&amp;amp;#125;.png" alt="{582892C6-7B9C-4660-B912-95BFBC1C77DC&amp;amp;#125;.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Hevel_1-1634030800222.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/63970iC4767E04A3E060CC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Hevel_1-1634030800222.png" alt="Hevel_1-1634030800222.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I would like to create a column that calculates the difference between the "dimensional" year and the year that falls behind among the current selected years.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Something like that :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="{81F16EE7-2102-44C7-834A-0440B4EFEAF0}.png.jpg" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/63977iE0396C46E2074819/image-size/large?v=v2&amp;amp;px=999" role="button" title="{81F16EE7-2102-44C7-834A-0440B4EFEAF0&amp;amp;#125;.png.jpg" alt="{81F16EE7-2102-44C7-834A-0440B4EFEAF0&amp;amp;#125;.png.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Finally, and ideally, I would add a conditional statement to hide this column if the "dimensional year" is the last one ( there's no previous year to calculate differences with).&lt;/P&gt;&lt;P&gt;I've tried something with the max and rank functions to identify the previous selected year, but I'm not an expert with set analysis and this case is beyond my current skills.&lt;/P&gt;&lt;P&gt;Thank you for you help !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Oct 2021 09:39:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Complex-Set-Analysis-Differences-between-non-consecutives-years/m-p/1845401#M69940</guid>
      <dc:creator>Hevel</dc:creator>
      <dc:date>2021-10-12T09:39:29Z</dc:date>
    </item>
    <item>
      <title>Re: Complex Set Analysis : Differences between non-consecutives years</title>
      <link>https://community.qlik.com/t5/App-Development/Complex-Set-Analysis-Differences-between-non-consecutives-years/m-p/1845430#M69942</link>
      <description>&lt;P&gt;Try with the after (or before) function&lt;/P&gt;&lt;P&gt;Sum(Sales) - After(Sum(Sales))&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Oct 2021 10:04:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Complex-Set-Analysis-Differences-between-non-consecutives-years/m-p/1845430#M69942</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2021-10-12T10:04:59Z</dc:date>
    </item>
    <item>
      <title>Re: Complex Set Analysis : Differences between non-consecutives years</title>
      <link>https://community.qlik.com/t5/App-Development/Complex-Set-Analysis-Differences-between-non-consecutives-years/m-p/1845514#M69951</link>
      <description>&lt;P&gt;Incredible, I can't believe it works and it was so simple. I'll try to learn more about the inter-record functions in Qlik.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you !&lt;/P&gt;</description>
      <pubDate>Tue, 12 Oct 2021 12:05:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Complex-Set-Analysis-Differences-between-non-consecutives-years/m-p/1845514#M69951</guid>
      <dc:creator>Hevel</dc:creator>
      <dc:date>2021-10-12T12:05:49Z</dc:date>
    </item>
  </channel>
</rss>

