<?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 RangeCount Distinct? Not possible in Qlik Sense? in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/RangeCount-Distinct-Not-possible-in-Qlik-Sense/m-p/1803215#M65180</link>
    <description>&lt;P&gt;I have data that includes the fields&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;OrderNumber&lt;/LI&gt;&lt;LI&gt;InvoiceDate&lt;/LI&gt;&lt;LI&gt;ProductID&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;I created a chart using WeekEnd(InvoiceDate) as the dimension and Count(Distinct ProductID) as the measure to see how many unique products are sold per week. Simple.&lt;/P&gt;&lt;P&gt;Now I want to know how many unique products were invoiced in a 12 week rolling period and report that each week. Essentially on the same chart add the unique count of products for the prior 12 weeks.&lt;/P&gt;&lt;P&gt;I have tried various rangecount, aggr, etc and cannot get it working. If only Rangecount had a distinct option.&lt;/P&gt;&lt;P&gt;Does any one have a suggestion on how to prepare that visual?&lt;/P&gt;</description>
    <pubDate>Tue, 27 Apr 2021 16:00:48 GMT</pubDate>
    <dc:creator>SDT</dc:creator>
    <dc:date>2021-04-27T16:00:48Z</dc:date>
    <item>
      <title>RangeCount Distinct? Not possible in Qlik Sense?</title>
      <link>https://community.qlik.com/t5/App-Development/RangeCount-Distinct-Not-possible-in-Qlik-Sense/m-p/1803215#M65180</link>
      <description>&lt;P&gt;I have data that includes the fields&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;OrderNumber&lt;/LI&gt;&lt;LI&gt;InvoiceDate&lt;/LI&gt;&lt;LI&gt;ProductID&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;I created a chart using WeekEnd(InvoiceDate) as the dimension and Count(Distinct ProductID) as the measure to see how many unique products are sold per week. Simple.&lt;/P&gt;&lt;P&gt;Now I want to know how many unique products were invoiced in a 12 week rolling period and report that each week. Essentially on the same chart add the unique count of products for the prior 12 weeks.&lt;/P&gt;&lt;P&gt;I have tried various rangecount, aggr, etc and cannot get it working. If only Rangecount had a distinct option.&lt;/P&gt;&lt;P&gt;Does any one have a suggestion on how to prepare that visual?&lt;/P&gt;</description>
      <pubDate>Tue, 27 Apr 2021 16:00:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/RangeCount-Distinct-Not-possible-in-Qlik-Sense/m-p/1803215#M65180</guid>
      <dc:creator>SDT</dc:creator>
      <dc:date>2021-04-27T16:00:48Z</dc:date>
    </item>
    <item>
      <title>Re: RangeCount Distinct? Not possible in Qlik Sense?</title>
      <link>https://community.qlik.com/t5/App-Development/RangeCount-Distinct-Not-possible-in-Qlik-Sense/m-p/1803290#M65190</link>
      <description>&lt;P&gt;I use Henric's&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/The-As-Of-Table/ba-p/1466130" target="_self"&gt;The-As-Of-Table&lt;/A&gt;&amp;nbsp; for rolling period calculations.&amp;nbsp; Your weekly count would be something like Count({&amp;lt;DayDiff={"&amp;lt;7"}&amp;gt;} Distinct ProductID) and the rolling 12 count would be Count({&amp;lt;DayDiff={"&amp;lt;84"}&amp;gt;}Distinct ProductID)&lt;/P&gt;</description>
      <pubDate>Tue, 27 Apr 2021 20:15:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/RangeCount-Distinct-Not-possible-in-Qlik-Sense/m-p/1803290#M65190</guid>
      <dc:creator>jwjackso</dc:creator>
      <dc:date>2021-04-27T20:15:13Z</dc:date>
    </item>
  </channel>
</rss>

