<?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 Calculating count per week in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Calculating-count-per-week/m-p/1329658#M28977</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I'm having trouble calculating a count per week.&amp;nbsp; See image below.&amp;nbsp; I want the week count to be the total for the week regardless of the "When Verified" dimension.&amp;nbsp; So for every row with 7/2/2017 the value would be 2923.&amp;nbsp; I've tried numerous expressions using set analysis etc. but cannot get this to work.&amp;nbsp; Thanks in advance for any assistance.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The latest attempt was the following:&amp;nbsp; Aggr(count([Order#]),Weekstart(Collected))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="CountPerWeek.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/172075_CountPerWeek.JPG" style="height: 322px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Aug 2017 15:26:19 GMT</pubDate>
    <dc:creator>wayne-a</dc:creator>
    <dc:date>2017-08-01T15:26:19Z</dc:date>
    <item>
      <title>Calculating count per week</title>
      <link>https://community.qlik.com/t5/App-Development/Calculating-count-per-week/m-p/1329658#M28977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I'm having trouble calculating a count per week.&amp;nbsp; See image below.&amp;nbsp; I want the week count to be the total for the week regardless of the "When Verified" dimension.&amp;nbsp; So for every row with 7/2/2017 the value would be 2923.&amp;nbsp; I've tried numerous expressions using set analysis etc. but cannot get this to work.&amp;nbsp; Thanks in advance for any assistance.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The latest attempt was the following:&amp;nbsp; Aggr(count([Order#]),Weekstart(Collected))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="CountPerWeek.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/172075_CountPerWeek.JPG" style="height: 322px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Aug 2017 15:26:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculating-count-per-week/m-p/1329658#M28977</guid>
      <dc:creator>wayne-a</dc:creator>
      <dc:date>2017-08-01T15:26:19Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating count per week</title>
      <link>https://community.qlik.com/t5/App-Development/Calculating-count-per-week/m-p/1329659#M28978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately, you cannot use a calculated dimension in Aggr() function. May be create a new field in the script like this&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;WeekStart(Collected) as WeekStart_Collected&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then try this&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Aggr(Count([Order#]), WeekStart_Collected)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or this&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;Aggr(NODISTINCT Count([Order#]), WeekStart_Collected)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Aug 2017 15:33:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculating-count-per-week/m-p/1329659#M28978</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-08-01T15:33:57Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating count per week</title>
      <link>https://community.qlik.com/t5/App-Development/Calculating-count-per-week/m-p/1329660#M28979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sunny!&amp;nbsp; That was it.&amp;nbsp; I changed it to load it specifically and works correctly.&amp;nbsp; I did need the NODistinct as well.&lt;/P&gt;&lt;P&gt; Thanks again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Aug 2017 17:55:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculating-count-per-week/m-p/1329660#M28979</guid>
      <dc:creator>wayne-a</dc:creator>
      <dc:date>2017-08-01T17:55:14Z</dc:date>
    </item>
  </channel>
</rss>

