<?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 Table with count distinct during last year for every date in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Table-with-count-distinct-during-last-year-for-every-date/m-p/1611569#M45463</link>
    <description>&lt;P&gt;Hi all!&lt;/P&gt;&lt;P&gt;I have 2 columns (date,&amp;nbsp; customer_id) and i need calculation table with count of distinct customer_id during last 12 month for every date.&lt;/P&gt;&lt;P&gt;For example&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Date&lt;/TD&gt;&lt;TD&gt;Number of customers&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;08.03.2017&lt;/TD&gt;&lt;TD&gt;3456&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;…&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;10.02.2018&lt;/TD&gt;&lt;TD&gt;6590&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;where 3456 -number of unique customer_id between 08.03.2017 and 08.03.2016&lt;/P&gt;&lt;P&gt;or 6590 - number of unique customer_id between 10.02.2018 and 10.02.2017.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I used solution like this, but it only works with the date that i set in the filter&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Sense-App-Development/How-to-count-values-between-two-dates-variables/m-p/69732" target="_blank" rel="noopener"&gt;https://community.qlik.com/t5/Qlik-Sense-App-Development/How-to-count-values-between-two-dates-variables/m-p/69732&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 12 Aug 2019 14:34:26 GMT</pubDate>
    <dc:creator>frsvch</dc:creator>
    <dc:date>2019-08-12T14:34:26Z</dc:date>
    <item>
      <title>Table with count distinct during last year for every date</title>
      <link>https://community.qlik.com/t5/App-Development/Table-with-count-distinct-during-last-year-for-every-date/m-p/1611569#M45463</link>
      <description>&lt;P&gt;Hi all!&lt;/P&gt;&lt;P&gt;I have 2 columns (date,&amp;nbsp; customer_id) and i need calculation table with count of distinct customer_id during last 12 month for every date.&lt;/P&gt;&lt;P&gt;For example&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Date&lt;/TD&gt;&lt;TD&gt;Number of customers&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;08.03.2017&lt;/TD&gt;&lt;TD&gt;3456&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;…&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;10.02.2018&lt;/TD&gt;&lt;TD&gt;6590&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;where 3456 -number of unique customer_id between 08.03.2017 and 08.03.2016&lt;/P&gt;&lt;P&gt;or 6590 - number of unique customer_id between 10.02.2018 and 10.02.2017.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I used solution like this, but it only works with the date that i set in the filter&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Sense-App-Development/How-to-count-values-between-two-dates-variables/m-p/69732" target="_blank" rel="noopener"&gt;https://community.qlik.com/t5/Qlik-Sense-App-Development/How-to-count-values-between-two-dates-variables/m-p/69732&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Aug 2019 14:34:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Table-with-count-distinct-during-last-year-for-every-date/m-p/1611569#M45463</guid>
      <dc:creator>frsvch</dc:creator>
      <dc:date>2019-08-12T14:34:26Z</dc:date>
    </item>
    <item>
      <title>Re: Table with count distinct during last year for every date</title>
      <link>https://community.qlik.com/t5/App-Development/Table-with-count-distinct-during-last-year-for-every-date/m-p/1611594#M45467</link>
      <description>&lt;P&gt;Can you explain the date intervals? I don't know of any definition of 12 months that matches the interval between 08.06.2016 and 08.03.2017. Why isn't the interval 08.06.2016 to 08.06.2017?&lt;/P&gt;</description>
      <pubDate>Mon, 12 Aug 2019 13:41:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Table-with-count-distinct-during-last-year-for-every-date/m-p/1611594#M45467</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2019-08-12T13:41:40Z</dc:date>
    </item>
    <item>
      <title>Re: Table with count distinct during last year for every date</title>
      <link>https://community.qlik.com/t5/App-Development/Table-with-count-distinct-during-last-year-for-every-date/m-p/1611647#M45471</link>
      <description>&lt;P&gt;Sorry. This is mistake. Post updated&lt;/P&gt;</description>
      <pubDate>Mon, 12 Aug 2019 14:37:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Table-with-count-distinct-during-last-year-for-every-date/m-p/1611647#M45471</guid>
      <dc:creator>frsvch</dc:creator>
      <dc:date>2019-08-12T14:37:25Z</dc:date>
    </item>
  </channel>
</rss>

