<?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: Loyal customer per years using indirect set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Loyal-customer-per-years-using-indirect-set-analysis/m-p/1008926#M1256577</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like customer both selling in 2014 and 2013 divede by year like for exemple and ignore all other&lt;/P&gt;&lt;P&gt;customer that was selling or in 2014 and not in 2013&amp;nbsp; or 2013 but not in 2014&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;customer&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2014&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2013&lt;/P&gt;&lt;P&gt;A1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 20&lt;/P&gt;&lt;P&gt;B1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 50&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and let the user decide witch year want the comparate&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Aug 2015 11:00:17 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-08-27T11:00:17Z</dc:date>
    <item>
      <title>Loyal customer per years using indirect set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Loyal-customer-per-years-using-indirect-set-analysis/m-p/1008924#M1256572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I' m try to have a pivot table whit my loyal customer by year with the sum of amount by years.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my dimension are : Customer and Year&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my expression is :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum ( {&amp;lt;Customer=p({&amp;lt;Year={'&amp;lt;$(=max(Year))','&amp;lt;$(=max(Year)-1)'}&amp;gt;}Customer)&amp;gt;} sales) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is when i select year 2014 the pivot table not show me also year 2013&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See attchament&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;Thanks in advance for your help&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;Andrea&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loyal-customer-per-years-using-indirect-set-analysis/m-p/1008924#M1256572</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: Loyal customer per years using indirect set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Loyal-customer-per-years-using-indirect-set-analysis/m-p/1008925#M1256574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Year filter is not ignored in the main(outer) set expression, hence it shows only the selected year data. What are you actually trying to achieve? P() should be used if you wish to get all sales for the customers who have participated in 2014,2013. And mind it, if a customer A is there in sale either in 2015 or 2014 ... all it's sales even beyond 2014 would come up with p(). Do you want that? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Aug 2015 10:53:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loyal-customer-per-years-using-indirect-set-analysis/m-p/1008925#M1256574</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2015-08-27T10:53:32Z</dc:date>
    </item>
    <item>
      <title>Re: Loyal customer per years using indirect set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Loyal-customer-per-years-using-indirect-set-analysis/m-p/1008926#M1256577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like customer both selling in 2014 and 2013 divede by year like for exemple and ignore all other&lt;/P&gt;&lt;P&gt;customer that was selling or in 2014 and not in 2013&amp;nbsp; or 2013 but not in 2014&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;customer&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2014&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2013&lt;/P&gt;&lt;P&gt;A1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 20&lt;/P&gt;&lt;P&gt;B1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 50&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and let the user decide witch year want the comparate&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Aug 2015 11:00:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loyal-customer-per-years-using-indirect-set-analysis/m-p/1008926#M1256577</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-27T11:00:17Z</dc:date>
    </item>
    <item>
      <title>Re: Loyal customer per years using indirect set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Loyal-customer-per-years-using-indirect-set-analysis/m-p/1008927#M1256578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So is it those customers who are common in both the years?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Aug 2015 11:29:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loyal-customer-per-years-using-indirect-set-analysis/m-p/1008927#M1256578</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2015-08-27T11:29:22Z</dc:date>
    </item>
    <item>
      <title>Re: Loyal customer per years using indirect set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Loyal-customer-per-years-using-indirect-set-analysis/m-p/1008928#M1256581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the exemple customer common in 2014 and 2013 are : A1 , B1 , E1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Aug 2015 11:39:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loyal-customer-per-years-using-indirect-set-analysis/m-p/1008928#M1256581</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-27T11:39:10Z</dc:date>
    </item>
    <item>
      <title>Re: Loyal customer per years using indirect set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Loyal-customer-per-years-using-indirect-set-analysis/m-p/1008929#M1256584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about this expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;Year = {$(=max(Year))}&amp;gt; * &lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;Customer = P({&amp;lt;Year = {$(=max(Year))}&amp;gt;} Customer)&amp;gt; *&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;Customer = P({&amp;lt;Year = {$(=max(Year)-1)}&amp;gt;} Customer)&amp;gt;} &lt;/P&gt;&lt;P&gt;sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Aug 2015 11:51:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loyal-customer-per-years-using-indirect-set-analysis/m-p/1008929#M1256584</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-08-27T11:51:42Z</dc:date>
    </item>
    <item>
      <title>Re: Loyal customer per years using indirect set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Loyal-customer-per-years-using-indirect-set-analysis/m-p/1008930#M1256587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Like this?&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: terminal,monaco;"&gt;Sum({&amp;lt;Year={'&amp;lt;=$(=Max(Year))&amp;gt;=$(=Max(Year)-1)'},Customer=p({&amp;lt;Year={'$(=Max(Year))'}&amp;gt;})&amp;gt;*&amp;lt;Year={'&amp;lt;=$(=Max(Year))&amp;gt;=$(=Max(Year)-1)'},Customer=p({&amp;lt;Year={'$(=Max(Year)-1)'}&amp;gt;})&amp;gt;}sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PFA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Aug 2015 11:52:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loyal-customer-per-years-using-indirect-set-analysis/m-p/1008930#M1256587</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2015-08-27T11:52:19Z</dc:date>
    </item>
    <item>
      <title>Re: Loyal customer per years using indirect set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Loyal-customer-per-years-using-indirect-set-analysis/m-p/1008931#M1256590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank a Lot !!! is exactly what i want&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank again&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Aug 2015 12:02:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loyal-customer-per-years-using-indirect-set-analysis/m-p/1008931#M1256590</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-27T12:02:55Z</dc:date>
    </item>
    <item>
      <title>Re: Loyal customer per years using indirect set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Loyal-customer-per-years-using-indirect-set-analysis/m-p/1008932#M1256592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thenk for your help Jonathan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what i wanted is&amp;nbsp; tresesco solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Aug 2015 12:14:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loyal-customer-per-years-using-indirect-set-analysis/m-p/1008932#M1256592</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-27T12:14:35Z</dc:date>
    </item>
  </channel>
</rss>

