<?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: Aggr syntax check in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Aggr-syntax-check/m-p/1001972#M975419</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah no problem,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you look in the project plan tab theres a table that reads minutes below 50, should find its self in there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Sep 2015 09:38:55 GMT</pubDate>
    <dc:creator>samuel_brierley</dc:creator>
    <dc:date>2015-09-09T09:38:55Z</dc:date>
    <item>
      <title>Aggr syntax check</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-syntax-check/m-p/1001966#M975411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can someone spot where im going wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;aggr&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;avg&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;MainCarriagewayDataFilteringOutput.site1.v&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {'&amp;lt;50'}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Timestamp&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)),&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;weekday&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;what its supposed to do is produce the average number of minutes (theres one record a min) for each day.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2015 09:28:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-syntax-check/m-p/1001966#M975411</guid>
      <dc:creator>samuel_brierley</dc:creator>
      <dc:date>2015-09-09T09:28:08Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr syntax check</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-syntax-check/m-p/1001967#M975413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #0000ff; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10.6667px;"&gt;avg&lt;/SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;aggr&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;({$&amp;lt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;MainCarriagewayDataFilteringOutput.site1.v&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; = {'&amp;lt;50'}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;Timestamp&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;)),&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;weekday&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Manju&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2015 09:30:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-syntax-check/m-p/1001967#M975413</guid>
      <dc:creator />
      <dc:date>2015-09-09T09:30:31Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr syntax check</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-syntax-check/m-p/1001968#M975415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this may be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;&lt;STRONG style="color: #575757;"&gt;=Avg(Aggr&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #575757;"&gt;&lt;STRONG style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;(Count({$&amp;lt; MainCarriagewayDataFilteringOutput.site1.v = {'&amp;lt;50'}&amp;gt;} Timestamp),WeekDay(Date&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;&lt;STRONG style="color: #575757;"&gt;)))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2015 09:31:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-syntax-check/m-p/1001968#M975415</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-09-09T09:31:26Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr syntax check</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-syntax-check/m-p/1001969#M975416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry guys no closer &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2015 09:33:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-syntax-check/m-p/1001969#M975416</guid>
      <dc:creator>samuel_brierley</dc:creator>
      <dc:date>2015-09-09T09:33:53Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr syntax check</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-syntax-check/m-p/1001970#M975417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you be able to share a sample with expected output?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2015 09:35:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-syntax-check/m-p/1001970#M975417</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-09-09T09:35:25Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr syntax check</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-syntax-check/m-p/1001971#M975418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How and where are you using this expression? If its a table expression, what are the dimensions in the table? Is &lt;STRONG style="font-size: 10pt;"&gt;MainCarriagewayDataFilteringOutput.site1.v&lt;/STRONG&gt; a field name (remember that field names are case sensitive)? Are there any rows with the value 50? Are TimeStamp and Date also field names?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2015 09:38:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-syntax-check/m-p/1001971#M975418</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-09-09T09:38:00Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr syntax check</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-syntax-check/m-p/1001972#M975419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah no problem,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you look in the project plan tab theres a table that reads minutes below 50, should find its self in there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2015 09:38:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-syntax-check/m-p/1001972#M975419</guid>
      <dc:creator>samuel_brierley</dc:creator>
      <dc:date>2015-09-09T09:38:55Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr syntax check</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-syntax-check/m-p/1001973#M975420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Im using the expression in this table, currently the table has the expression&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;MainCarriagewayDataFilteringOutput.site1.v&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {'&amp;lt;50'}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Timestamp&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;which will count all of the minutes for e.g all Mondays and i want to show the average count for Mondays hence the aggr.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;the table shows that the dimensions and the field names are correct and that there are in deed values below 50&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/98347_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2015 09:41:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-syntax-check/m-p/1001973#M975420</guid>
      <dc:creator>samuel_brierley</dc:creator>
      <dc:date>2015-09-09T09:41:34Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr syntax check</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-syntax-check/m-p/1001974#M975421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK, I see the problem. The 'dimensions' in an Aggr() cannot be calculated dimensions, only field names are allowed here. If you add the WeekDay(Date) to your calendar, and use that as the chart dimension, then Sunny's Aggr should work (modified to the new dimension "Day"):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOAD ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WeekDay(Date) As Day,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use Day as the chart dimension, and then use &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =Avg(Aggr(Count({$&amp;lt; MainCarriagewayDataFilteringOutput.site1.v = {'&amp;lt;50'}&amp;gt;} Timestamp),Day))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2015 09:56:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-syntax-check/m-p/1001974#M975421</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-09-09T09:56:32Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr syntax check</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-syntax-check/m-p/1001975#M975422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jonathan, I wasn't aware expressions couldn't be used there.&lt;/P&gt;&lt;P&gt;I was trying desperately to avoid making a change to the script (the whole script is the result of VBA code in a spreadsheet)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if it has to be done might as well get on with it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks dude&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2015 09:59:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-syntax-check/m-p/1001975#M975422</guid>
      <dc:creator>samuel_brierley</dc:creator>
      <dc:date>2015-09-09T09:59:10Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr syntax check</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-syntax-check/m-p/1001976#M975423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;The 'dimensions' in an Aggr() cannot be calculated dimensions, only field names are allowed here.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Learned something new today &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;. Thank you &lt;A _jive_internal="true" href="https://community.qlik.com/people/jontydkpi"&gt;jonathan&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2015 09:59:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-syntax-check/m-p/1001976#M975423</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-09-09T09:59:25Z</dc:date>
    </item>
  </channel>
</rss>

