<?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: Filter multiple transactions within time period in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Filter-multiple-transactions-within-time-period/m-p/1668284#M506956</link>
    <description>&lt;P&gt;create&amp;nbsp; straight table with Dimension Customer &amp;amp; SalesDate and below expression&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;=sum({&amp;lt;Customer={"=(min(total &amp;lt;Customer&amp;gt; SaleDate)-max(total &amp;lt;Customer&amp;gt; SaleDate)) and min(total &amp;lt;Customer&amp;gt; SaleDate) &amp;gt;= addmonths(max(total &amp;lt;Customer&amp;gt; SaleDate),-6)"}&amp;gt;}Value)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note: This will work only when there is just two transactions. If you have more than 2 transaction then please share the scenario with expected output&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 22 Jan 2020 20:54:12 GMT</pubDate>
    <dc:creator>Kushal_Chawda</dc:creator>
    <dc:date>2020-01-22T20:54:12Z</dc:date>
    <item>
      <title>Filter multiple transactions within time period</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-multiple-transactions-within-time-period/m-p/1668221#M506953</link>
      <description>&lt;P&gt;I need to create a table that shows all customers who have had more than 1 transaction within 6 months, but am a bit stuck where to start?&lt;/P&gt;&lt;P&gt;Ideally this would be done in Qlivkiew with a function rather than in the script as it is someone elses app which I want to tag onto&lt;/P&gt;&lt;P&gt;Not sure if I can use the AGGR function some way, but cant quite work it through how to structure this&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jan 2020 16:42:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-multiple-transactions-within-time-period/m-p/1668221#M506953</guid>
      <dc:creator>jono19872002</dc:creator>
      <dc:date>2020-01-22T16:42:35Z</dc:date>
    </item>
    <item>
      <title>Re: Filter multiple transactions within time period</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-multiple-transactions-within-time-period/m-p/1668223#M506954</link>
      <description>&lt;P&gt;Can you post the snapshot of your data?&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jan 2020 16:46:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-multiple-transactions-within-time-period/m-p/1668223#M506954</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2020-01-22T16:46:10Z</dc:date>
    </item>
    <item>
      <title>Re: Filter multiple transactions within time period</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-multiple-transactions-within-time-period/m-p/1668224#M506955</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;To simplify, assume I have got 3 fields, Customer, SaleDate, Value.&lt;/P&gt;&lt;P&gt;I want a simple table to show all customers who have had a second (or&amp;nbsp;multiple)&amp;nbsp;SaleDate(s) within 6 months of each other&lt;/P&gt;&lt;P&gt;So in the attached picture of sample data I just want to show customer C and both the dates&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jan 2020 16:51:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-multiple-transactions-within-time-period/m-p/1668224#M506955</guid>
      <dc:creator>jono19872002</dc:creator>
      <dc:date>2020-01-22T16:51:31Z</dc:date>
    </item>
    <item>
      <title>Re: Filter multiple transactions within time period</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-multiple-transactions-within-time-period/m-p/1668284#M506956</link>
      <description>&lt;P&gt;create&amp;nbsp; straight table with Dimension Customer &amp;amp; SalesDate and below expression&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;=sum({&amp;lt;Customer={"=(min(total &amp;lt;Customer&amp;gt; SaleDate)-max(total &amp;lt;Customer&amp;gt; SaleDate)) and min(total &amp;lt;Customer&amp;gt; SaleDate) &amp;gt;= addmonths(max(total &amp;lt;Customer&amp;gt; SaleDate),-6)"}&amp;gt;}Value)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note: This will work only when there is just two transactions. If you have more than 2 transaction then please share the scenario with expected output&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jan 2020 20:54:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-multiple-transactions-within-time-period/m-p/1668284#M506956</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2020-01-22T20:54:12Z</dc:date>
    </item>
    <item>
      <title>Re: Filter multiple transactions within time period</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-multiple-transactions-within-time-period/m-p/1677220#M506959</link>
      <description>&lt;P&gt;If Kush's last response was what you needed, please be sure you return to your thread and on his post, use the Accept as Solution button to mark the post as the solution, which will give him credit for the assistance and let other Members know it did work for your use case.&amp;nbsp; We appreciate members closing out their threads.&amp;nbsp; If you are still working on things, please leave an update.&lt;/P&gt;
&lt;P&gt;The one place I can point you for future assistance is the Design Blog area, there are over 700 posts here, mostly how-to from our internal experts, I am providing a specific one on set analysis and then the base URL to the site so you can search further if you wish.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/A-Primer-on-Set-Analysis/ba-p/1468344" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/A-Primer-on-Set-Analysis/ba-p/1468344&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/bg-p/qlik-design-blog" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/bg-p/qlik-design-blog&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Wed, 19 Feb 2020 17:30:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-multiple-transactions-within-time-period/m-p/1677220#M506959</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2020-02-19T17:30:17Z</dc:date>
    </item>
  </channel>
</rss>

