<?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: Find peak date with highest transactions and expression with average for entire week. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Find-peak-date-with-highest-transactions-and-expression-with/m-p/1364683#M417842</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you please explain a bit more?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Aug 2017 10:29:37 GMT</pubDate>
    <dc:creator>tresB</dc:creator>
    <dc:date>2017-08-11T10:29:37Z</dc:date>
    <item>
      <title>Find peak date with highest transactions and expression with average for entire week.</title>
      <link>https://community.qlik.com/t5/QlikView/Find-peak-date-with-highest-transactions-and-expression-with/m-p/1364676#M417835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have this set of data. On the chart for the dates going across the X-Axis, they want to see the peak date that had the highest transactions for the week. Then in the expressions, they want to see the average time in seconds for the entire week. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had originally had in the dimensions this:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; color: black;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; color: blue;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; color: blue;"&gt;WeekStart&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; color: maroon;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; color: black;"&gt;, 0,4),'DD-MMM-YY') &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And in the expressions, I had this:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial',sans-serif; color: blue;"&gt;Avg&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial',sans-serif; color: black;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial',sans-serif; color: maroon;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial',sans-serif; color: black;"&gt; = {&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: gray; font-size: 9.0pt; font-family: 'Arial',sans-serif;"&gt;$(varYear)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial',sans-serif; color: black;"&gt;} &amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial',sans-serif; color: maroon;"&gt;seconds&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial',sans-serif; color: black;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thought that was great until they told me the needed the date on the x-axis to show the date of that week with the highest transactions. If I could figure out how to get the dimensions to show the peak date (where the transactions were at the max), how would I show an average for the entire week? Is this possible in QlikView? Please say yes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I first thought a resident table somehow in the load script? But even if I got that right, how would I get the average for the entire week.&lt;/P&gt;&lt;P&gt;The fields are broken down below.&lt;/P&gt;&lt;P&gt;Date,&lt;/P&gt;&lt;P&gt;count,&lt;/P&gt;&lt;P&gt;mean&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, of course, I have my calendar setup with Weekstart, Date, Month, MonthYear, Year.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much for any help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I put this under development because I think it will involve the editor, but this could also go in scripting and visualization.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Aug 2017 22:04:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Find-peak-date-with-highest-transactions-and-expression-with/m-p/1364676#M417835</guid>
      <dc:creator>mp802377</dc:creator>
      <dc:date>2017-08-07T22:04:17Z</dc:date>
    </item>
    <item>
      <title>Re: Find peak date with highest transactions and expression with average for entire week.</title>
      <link>https://community.qlik.com/t5/QlikView/Find-peak-date-with-highest-transactions-and-expression-with/m-p/1364677#M417836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you be able to share some raw data and explain as to what exactly the output needs to look like (numerically)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Aug 2017 00:49:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Find-peak-date-with-highest-transactions-and-expression-with/m-p/1364677#M417836</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-08-08T00:49:41Z</dc:date>
    </item>
    <item>
      <title>Re: Find peak date with highest transactions and expression with average for entire week.</title>
      <link>https://community.qlik.com/t5/QlikView/Find-peak-date-with-highest-transactions-and-expression-with/m-p/1364678#M417837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I attached an excel spreadsheet of how I need it to look. The main fields would be:&lt;/P&gt;&lt;P&gt;Date&lt;/P&gt;&lt;P&gt;Count&lt;/P&gt;&lt;P&gt;Mean Time&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The other was added so you could see what data I need for the chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Martha &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Aug 2017 04:36:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Find-peak-date-with-highest-transactions-and-expression-with/m-p/1364678#M417837</guid>
      <dc:creator>mp802377</dc:creator>
      <dc:date>2017-08-08T04:36:46Z</dc:date>
    </item>
    <item>
      <title>Re: Find peak date with highest transactions and expression with average for entire week.</title>
      <link>https://community.qlik.com/t5/QlikView/Find-peak-date-with-highest-transactions-and-expression-with/m-p/1364679#M417838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Script:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(Date) as Date,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Week(WeekStart(Date,0,4)) as Week, &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Count, &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Mean Time]&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;FROM&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;C&gt;&lt;/C&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;(ooxml, embedded labels, table is Sheet1);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimension: =&lt;SPAN style="font-family: 'courier new', courier;"&gt;Date(Aggr(FirstSortedValue(Date, -Count), Week))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Expression: &lt;SPAN style="font-family: 'courier new', courier;"&gt;=Avg([Mean Time])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/172720_Capture.PNG" style="height: 268px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Aug 2017 05:11:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Find-peak-date-with-highest-transactions-and-expression-with/m-p/1364679#M417838</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2017-08-08T05:11:17Z</dc:date>
    </item>
    <item>
      <title>Re: Find peak date with highest transactions and expression with average for entire week.</title>
      <link>https://community.qlik.com/t5/QlikView/Find-peak-date-with-highest-transactions-and-expression-with/m-p/1364680#M417839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Back end solution&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Weekday,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; WeekEnd(Date, 0,4) as WeekEnd,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Count,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; num([Mean Time]) as [Mean Time]&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[example peak transaction day.xlsx]&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Left Join(Data)&lt;/P&gt;&lt;P&gt;LOAD WeekEnd,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Avg([Mean Time]) as [Avg Mean]&lt;/P&gt;&lt;P&gt;Resident Data&lt;/P&gt;&lt;P&gt;Group by WeekEnd;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Dimension:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;WeekEnd&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;Expression:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;=only(&lt;SPAN style="font-size: 13.3333px;"&gt;[Avg Mean]&lt;/SPAN&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;IMG alt="Capture.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/172775_Capture.JPG" style="height: auto;" /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;Front end solution&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Data:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;LOAD &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Weekday,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Count,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; num([Mean Time]) as [Mean Time]&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;FROM&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;[example peak transaction day.xlsx]&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Dimension:&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;WeekEnd(Date, 0,4) &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Expression:&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;=avg(&lt;SPAN style="font-size: 13.3333px;"&gt;[Mean Time]&lt;/SPAN&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;IMG alt="Capture.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/172775_Capture.JPG" style="font-size: 13.3333px;" /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Aug 2017 10:00:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Find-peak-date-with-highest-transactions-and-expression-with/m-p/1364680#M417839</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2017-08-08T10:00:57Z</dc:date>
    </item>
    <item>
      <title>Re: Find peak date with highest transactions and expression with average for entire week.</title>
      <link>https://community.qlik.com/t5/QlikView/Find-peak-date-with-highest-transactions-and-expression-with/m-p/1364681#M417840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the post, but it is not pulling in the peak transaction dates. There are a few dates that match, but when I did it, there were many dates that are not the peak. &lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Martha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Aug 2017 14:27:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Find-peak-date-with-highest-transactions-and-expression-with/m-p/1364681#M417840</guid>
      <dc:creator>mp802377</dc:creator>
      <dc:date>2017-08-10T14:27:15Z</dc:date>
    </item>
    <item>
      <title>Re: Find peak date with highest transactions and expression with average for entire week.</title>
      <link>https://community.qlik.com/t5/QlikView/Find-peak-date-with-highest-transactions-and-expression-with/m-p/1364682#M417841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is working but how do I get it to go back farther than the previous 4-5 weeks? I need it to go back a year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for this!&lt;/P&gt;&lt;P&gt;Martha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Aug 2017 14:30:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Find-peak-date-with-highest-transactions-and-expression-with/m-p/1364682#M417841</guid>
      <dc:creator>mp802377</dc:creator>
      <dc:date>2017-08-10T14:30:20Z</dc:date>
    </item>
    <item>
      <title>Re: Find peak date with highest transactions and expression with average for entire week.</title>
      <link>https://community.qlik.com/t5/QlikView/Find-peak-date-with-highest-transactions-and-expression-with/m-p/1364683#M417842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you please explain a bit more?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Aug 2017 10:29:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Find-peak-date-with-highest-transactions-and-expression-with/m-p/1364683#M417842</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2017-08-11T10:29:37Z</dc:date>
    </item>
    <item>
      <title>Re: Find peak date with highest transactions and expression with average for entire week.</title>
      <link>https://community.qlik.com/t5/QlikView/Find-peak-date-with-highest-transactions-and-expression-with/m-p/1364684#M417843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what do you mean by peak transaction? as per the excel file attached, I have created same line chart. Can you please tell me what is missing?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Aug 2017 13:25:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Find-peak-date-with-highest-transactions-and-expression-with/m-p/1364684#M417843</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2017-08-11T13:25:29Z</dc:date>
    </item>
    <item>
      <title>Re: Find peak date with highest transactions and expression with average for entire week.</title>
      <link>https://community.qlik.com/t5/QlikView/Find-peak-date-with-highest-transactions-and-expression-with/m-p/1364685#M417844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The peak transaction dates are the dates with the highest counts. I don't know if I explained that well. While most of the peaks are the last day of the week, true, but not all. So the peak dates on the spreadsheet are:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="173"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="19" width="173"&gt;Date with Peak Transaction&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="19"&gt;1/12/2017&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="19"&gt;1/18/2017&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="19"&gt;1/26/2017&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="19"&gt;2/2/2017&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="19"&gt;2/4/2017&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="19"&gt;2/10/2017&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="19"&gt;2/20/2017&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="19"&gt;2/26/2017&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="19"&gt;3/6/2017&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="19"&gt;3/15/2017&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="19"&gt;3/19/2017&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="19"&gt;3/25/2017&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="19"&gt;4/3/2017&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="19"&gt;4/7/2017&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="19"&gt;4/17/2017&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="19"&gt;4/26/2017&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="19"&gt;&lt;P&gt;5/3/2017&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and&amp;nbsp; in the Qlikview app you created there is&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="148"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="17" width="148"&gt;1/13/2017&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="17"&gt;1/20/2017&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="17"&gt;1/27/2017&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="17"&gt;2/3/2017&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="17"&gt;2/10/2017&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="17"&gt;2/17/2017&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="17"&gt;2/24/2017&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="17"&gt;3/3/2017&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="17"&gt;3/10/2017&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="17"&gt;3/17/2017&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="17"&gt;3/24/2017&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="17"&gt;3/31/2017&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="17"&gt;4/7/2017&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="17"&gt;4/14/2017&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="17"&gt;4/21/2017&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="17"&gt;4/28/2017&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="17"&gt;5/5/2017&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I apologize if I didn't explain better. The peak transaction would be the date with the peak count.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Martha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Aug 2017 13:42:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Find-peak-date-with-highest-transactions-and-expression-with/m-p/1364685#M417844</guid>
      <dc:creator>mp802377</dc:creator>
      <dc:date>2017-08-11T13:42:19Z</dc:date>
    </item>
    <item>
      <title>Re: Find peak date with highest transactions and expression with average for entire week.</title>
      <link>https://community.qlik.com/t5/QlikView/Find-peak-date-with-highest-transactions-and-expression-with/m-p/1364686#M417845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is adding a - to the firstsortedvalue field. Below I am just using count because I wanted to verify it was grabbing the highest count. I will be doing an average (mean).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="367"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="269"&gt;=Date(Aggr(FirstSortedValue(Date, -count), Week))&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="98"&gt;sum(count)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;7/11/2017&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;8408524&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;7/17/2017&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;8640739&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;7/25/2017&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;8749096&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;8/1/2017&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;8576821&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;-&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;666029837&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can see there is data there for the dates.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 294px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="98"&gt;-&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-left: none;" width="98"&gt;27-May-17&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="98"&gt;737151&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" style="border-top: none;"&gt;-&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;13-May-17&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;777239&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" style="border-top: none;"&gt;-&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;26-May-17&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;848803&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" style="border-top: none;"&gt;-&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;20-May-17&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;799815&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" style="border-top: none;"&gt;-&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;28-May-17&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;847770&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" style="border-top: none;"&gt;-&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;03-Jun-17&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;861716&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" style="border-top: none;"&gt;-&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;10-Jun-17&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;884653&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" style="border-top: none;"&gt;-&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;14-May-17&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;874627&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" style="border-top: none;"&gt;-&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;18-May-17&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;887556&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" style="border-top: none;"&gt;-&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;12-May-17&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;915870&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" style="border-top: none;"&gt;-&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;19-May-17&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;&lt;P&gt;916466&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but for some reason, it is giving a -. I added distinct (because I read that yesterday if you get a NULL value, but that didn't do anything, so I took it off. Why does it do that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the charts looked great, it is just that they only had 5 weeks. Is there a way to fix that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Martha Parsons&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Aug 2017 14:05:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Find-peak-date-with-highest-transactions-and-expression-with/m-p/1364686#M417845</guid>
      <dc:creator>mp802377</dc:creator>
      <dc:date>2017-08-11T14:05:05Z</dc:date>
    </item>
  </channel>
</rss>

