<?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: Returning Customers - dynamic period in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Returning-Customers-dynamic/m-p/1759183#M455336</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have rephrased the issue in a different thread and it was resolved:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/QlikView-Creating-Analytics/Set-Analysis-with-nested-AGGR/td-p/1754779" target="_blank"&gt;https://community.qlik.com/t5/QlikView-Creating-Analytics/Set-Analysis-with-nested-AGGR/td-p/1754779&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 06 Nov 2020 05:52:21 GMT</pubDate>
    <dc:creator>dana</dc:creator>
    <dc:date>2020-11-06T05:52:21Z</dc:date>
    <item>
      <title>Returning Customers - dynamic</title>
      <link>https://community.qlik.com/t5/QlikView/Returning-Customers-dynamic/m-p/1754574#M455331</link>
      <description>&lt;P&gt;Hi People,&lt;/P&gt;&lt;P&gt;I have a request to display returning customers as a dynamic KPI, meaning, for&amp;nbsp; the previous 6 month of a selected date.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The user selects a product, and a returning customer would be a customer that bought one or more product after the first buying&amp;nbsp; date of the selected product. I'm struggling with a Set Analysis expression to&amp;nbsp; count the relevant&amp;nbsp; customers.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have managed to calculate the number of return dates:&lt;/P&gt;&lt;P&gt;Sum(aggr(Count({&amp;lt;Creation_Date = p({&amp;lt;Product_Group=, Creation_Date = {"&amp;gt;$(=min(Creation_Date))"}&amp;gt;} )&amp;gt;}DISTINCT Creation_Date),Customer))&lt;/P&gt;&lt;P&gt;In order to count the relevant customers I added:&lt;/P&gt;&lt;P&gt;=&lt;FONT color="#FF0000"&gt;Count({&amp;lt; Customer = {"&lt;/FONT&gt;Sum(aggr(Count({&amp;lt;Product_Group=, Creation_Date = p({&amp;lt;Creation_Date = {'&amp;gt;$(=min(Creation_Date))'}&amp;gt;})&amp;gt;}DISTINCT Creation_Date),Customer))&amp;gt;0"}&amp;gt;}&lt;FONT color="#FF0000"&gt;DISTINCT Customer)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;But the above doesn't work: the result is 0.&lt;/P&gt;&lt;P&gt;Can someone help me figure out why?&lt;/P&gt;&lt;P&gt;Attached are the model &amp;amp; data.&lt;/P&gt;&lt;P&gt;Thanks in advance!&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 17:56:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Returning-Customers-dynamic/m-p/1754574#M455331</guid>
      <dc:creator>dana</dc:creator>
      <dc:date>2024-11-16T17:56:22Z</dc:date>
    </item>
    <item>
      <title>Re: Returning Customers - dynamic period</title>
      <link>https://community.qlik.com/t5/QlikView/Returning-Customers-dynamic/m-p/1754594#M455332</link>
      <description>&lt;P&gt;Can you share us the demonstrate QVW as well using attached source.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;DateField={"&amp;gt;=$(AddMonths(Max(DateField), -6))&amp;lt;=$(=Max(DateField))"}&amp;gt;} Measure) &lt;/STRONG&gt;// This will return last 6 months data&lt;/P&gt;&lt;P&gt;And then, Please explain what is the outcome you are expecting&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2020 16:04:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Returning-Customers-dynamic/m-p/1754594#M455332</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2020-10-21T16:04:31Z</dc:date>
    </item>
    <item>
      <title>Re: Returning Customers - dynamic period</title>
      <link>https://community.qlik.com/t5/QlikView/Returning-Customers-dynamic/m-p/1754646#M455333</link>
      <description>&lt;P&gt;Hi Anil,&lt;/P&gt;&lt;P&gt;Here is an example:&lt;/P&gt;&lt;P&gt;When the user selected "Bottles", the customers that have bought any products&amp;nbsp; after the &lt;U&gt;first&lt;/U&gt; Bottles buying date are returning.&amp;nbsp; I attached the model.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Returning Customer.png" style="width: 756px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/42747iB2FCF7C29661FEFF/image-size/large?v=v2&amp;amp;px=999" role="button" title="Returning Customer.png" alt="Returning Customer.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2020 17:52:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Returning-Customers-dynamic/m-p/1754646#M455333</guid>
      <dc:creator>dana</dc:creator>
      <dc:date>2020-10-21T17:52:56Z</dc:date>
    </item>
    <item>
      <title>Re: Returning Customers - dynamic</title>
      <link>https://community.qlik.com/t5/QlikView/Returning-Customers-dynamic/m-p/1758582#M455334</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/5533"&gt;@Anil_Babu_Samineni&lt;/a&gt;&amp;nbsp;Hey man, here is another post, sorry, it appears notifications are still not working correctly, if you have a minute and can check the follow-up post, much appreciated sir.&amp;nbsp; Thanks as always!&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Wed, 04 Nov 2020 18:32:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Returning-Customers-dynamic/m-p/1758582#M455334</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2020-11-04T18:32:25Z</dc:date>
    </item>
    <item>
      <title>Re: Returning Customers - dynamic period</title>
      <link>https://community.qlik.com/t5/QlikView/Returning-Customers-dynamic/m-p/1759023#M455335</link>
      <description>&lt;P&gt;Hi, Can you please tell us the outcome here after Bottles selection? and explain the logic behing for output?&lt;/P&gt;</description>
      <pubDate>Thu, 05 Nov 2020 17:06:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Returning-Customers-dynamic/m-p/1759023#M455335</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2020-11-05T17:06:56Z</dc:date>
    </item>
    <item>
      <title>Re: Returning Customers - dynamic period</title>
      <link>https://community.qlik.com/t5/QlikView/Returning-Customers-dynamic/m-p/1759183#M455336</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have rephrased the issue in a different thread and it was resolved:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/QlikView-Creating-Analytics/Set-Analysis-with-nested-AGGR/td-p/1754779" target="_blank"&gt;https://community.qlik.com/t5/QlikView-Creating-Analytics/Set-Analysis-with-nested-AGGR/td-p/1754779&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Nov 2020 05:52:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Returning-Customers-dynamic/m-p/1759183#M455336</guid>
      <dc:creator>dana</dc:creator>
      <dc:date>2020-11-06T05:52:21Z</dc:date>
    </item>
    <item>
      <title>Re: Returning Customers - dynamic</title>
      <link>https://community.qlik.com/t5/QlikView/Returning-Customers-dynamic/m-p/1759184#M455337</link>
      <description>&lt;P&gt;I have rephrased the issue in a different thread and it was resolved:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/QlikView-Creating-Analytics/Set-Analysis-with-nested-AGGR/td-p/1754779" target="_blank"&gt;https://community.qlik.com/t5/QlikView-Creating-Analytics/Set-Analysis-with-nested-AGGR/td-p/1754779&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Nov 2020 05:53:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Returning-Customers-dynamic/m-p/1759184#M455337</guid>
      <dc:creator>dana</dc:creator>
      <dc:date>2020-11-06T05:53:16Z</dc:date>
    </item>
    <item>
      <title>Re: Returning Customers - dynamic</title>
      <link>https://community.qlik.com/t5/QlikView/Returning-Customers-dynamic/m-p/1759534#M455338</link>
      <description>&lt;P&gt;Glad to hear, Anyway you can mark your reply as answer to close this thread !&lt;/P&gt;</description>
      <pubDate>Sat, 07 Nov 2020 13:25:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Returning-Customers-dynamic/m-p/1759534#M455338</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2020-11-07T13:25:03Z</dc:date>
    </item>
  </channel>
</rss>

