<?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 Set analysis per dimension row in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-analysis-per-dimension-row/m-p/1131870#M1237462</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an expression that is used to calculate the number of jobs done by engineers per day.&lt;/P&gt;&lt;P&gt;It does this by counting the jobs done and dividing by the number of days in which there was a job.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Trouble is, some engineers work some days while others don't. For example if 2 engineers worked on Monday and only one did on Tuesday and both engineers did 5 jobs each day.&lt;/P&gt;&lt;P&gt;Currently the expression would be 15 jobs / 2 days worked = 7.5 jobs per day.&lt;/P&gt;&lt;P&gt;Really I want to do Engineer 1 = 10 jobs / 2 days = 5 per day, Engineer 2 = 5 jobs / 1 day = 5 jobs per day. 5 + 5 = 10 jobs per day.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I adapt the expression below to achieve what I'm after?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14640791531286730" jivemacro_uid="_14640791531286730"&gt;
&lt;P&gt;COUNT({$&amp;lt;TesseractKey = {"&amp;gt;0"}, TesseractCallTypes.EstimatedWork-={'0'}, TesseractCallCompletedTime.Year={$(=$(vSelectedCompletedYearMax))}&amp;gt;} TesseractCountKey)&lt;/P&gt;
&lt;P&gt;/&lt;/P&gt;
&lt;P&gt;COUNT(DISTINCT {$&amp;lt;TesseractKey = {"&amp;gt;0"}, TesseractCallTypes.GroupDescription = , TesseractCallTypes.EstimatedWork = , TesseractCallTypes.Code = , TesseractCallTypes.EstimatedWork-={'0'}, TesseractCallCompletedTime.Year={$(=$(vSelectedCompletedYearMax))}&amp;gt;} TesseractCallCompletedTime.Date)&lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Jan 2026 16:26:21 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2026-01-26T16:26:21Z</dc:date>
    <item>
      <title>Set analysis per dimension row</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-per-dimension-row/m-p/1131870#M1237462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an expression that is used to calculate the number of jobs done by engineers per day.&lt;/P&gt;&lt;P&gt;It does this by counting the jobs done and dividing by the number of days in which there was a job.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Trouble is, some engineers work some days while others don't. For example if 2 engineers worked on Monday and only one did on Tuesday and both engineers did 5 jobs each day.&lt;/P&gt;&lt;P&gt;Currently the expression would be 15 jobs / 2 days worked = 7.5 jobs per day.&lt;/P&gt;&lt;P&gt;Really I want to do Engineer 1 = 10 jobs / 2 days = 5 per day, Engineer 2 = 5 jobs / 1 day = 5 jobs per day. 5 + 5 = 10 jobs per day.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I adapt the expression below to achieve what I'm after?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14640791531286730" jivemacro_uid="_14640791531286730"&gt;
&lt;P&gt;COUNT({$&amp;lt;TesseractKey = {"&amp;gt;0"}, TesseractCallTypes.EstimatedWork-={'0'}, TesseractCallCompletedTime.Year={$(=$(vSelectedCompletedYearMax))}&amp;gt;} TesseractCountKey)&lt;/P&gt;
&lt;P&gt;/&lt;/P&gt;
&lt;P&gt;COUNT(DISTINCT {$&amp;lt;TesseractKey = {"&amp;gt;0"}, TesseractCallTypes.GroupDescription = , TesseractCallTypes.EstimatedWork = , TesseractCallTypes.Code = , TesseractCallTypes.EstimatedWork-={'0'}, TesseractCallCompletedTime.Year={$(=$(vSelectedCompletedYearMax))}&amp;gt;} TesseractCallCompletedTime.Date)&lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 16:26:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-per-dimension-row/m-p/1131870#M1237462</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2026-01-26T16:26:21Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis per dimension row</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-per-dimension-row/m-p/1131871#M1237464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How do you get to 10 jobs per day in total? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or do you mean 5 jobs per day (average for engineer)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then try advanced aggregation:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Avg( &lt;/P&gt;&lt;P&gt;Aggr(&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 9pt !important; font-style: inherit; background-color: inherit; font-weight: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; COUNT({$&amp;lt;TesseractKey = {"&amp;gt;0"}, TesseractCallTypes.EstimatedWork -=&amp;nbsp;&amp;nbsp;&amp;nbsp; {'0'}, TesseractCallCompletedTime.Year=&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {$(=$(vSelectedCompletedYearMax))}&amp;gt;} TesseractCountKey)&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;COUNT(DISTINCT {$&amp;lt;TesseractKey = {"&amp;gt;0"}, TesseractCallTypes.GroupDescription = , TesseractCallTypes.EstimatedWork = , TesseractCallTypes.Code = , TesseractCallTypes.EstimatedWork-={'0'}, TesseractCallCompletedTime.Year={$(=$(vSelectedCompletedYearMax))}&amp;gt;} TesseractCallCompletedTime.Date)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;, YourEngineerIDField&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2016 08:52:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-per-dimension-row/m-p/1131871#M1237464</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-05-24T08:52:55Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis per dimension row</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-per-dimension-row/m-p/1131872#M1237465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To get 10 I did, each engineer did 5 jobs per day, SUM them up to get 10 jobs per day across all engineers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That Aggr function works perfectly, I just changed the Avg to Sum to get what I'm after, thanks!.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2016 09:00:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-per-dimension-row/m-p/1131872#M1237465</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-24T09:00:35Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis per dimension row</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-per-dimension-row/m-p/1131873#M1237466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, looks like I spoke too soon.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the table I have month dimension (among others, in a cyclic group). When I select an individual month the calculation is correct however when I don't select a month so they are all listed the figure shown in each month row is different to when selecting each individual month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've read up on the Aggr function, but can't figure out what's going on here, does anyone have any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2016 09:49:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-per-dimension-row/m-p/1131873#M1237466</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-24T09:49:23Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis per dimension row</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-per-dimension-row/m-p/1131874#M1237467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The advanced aggregation won't group the number of jobs/ per day&amp;nbsp; per time base, only per engineer, then average the numbers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to consider a chart chart dimension,you can try adding it to the advanced aggregation dimension list.&lt;/P&gt;&lt;P&gt;Since you are using a dimension group, try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Avg(&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Aggr(&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt !important; font-family: inherit; color: black; background-color: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; COUNT({$&amp;lt;TesseractKey = {"&amp;gt;0"}, TesseractCallTypes.EstimatedWork -=&amp;nbsp;&amp;nbsp;&amp;nbsp; {'0'}, TesseractCallCompletedTime.Year=&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {$(=$(vSelectedCompletedYearMax))}&amp;gt;} TesseractCountKey) &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt !important; font-family: inherit; color: black; background-color: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; / &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt !important; font-family: inherit; color: black; background-color: inherit;"&gt;COUNT(DISTINCT {$&amp;lt;TesseractKey = {"&amp;gt;0"}, TesseractCallTypes.GroupDescription = , TesseractCallTypes.EstimatedWork = , TesseractCallTypes.Code = , TesseractCallTypes.EstimatedWork-={'0'}, TesseractCallCompletedTime.Year={$(=$(vSelectedCompletedYearMax))}&amp;gt;} TesseractCallCompletedTime.Date)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt !important; font-family: inherit; color: black; background-color: inherit;"&gt;, YourEngineerIDField, [$(=GetCurrentField( YourDimensionGroupName ))]&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt !important; font-family: inherit; color: black; background-color: inherit;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt !important; font-family: inherit; color: black; background-color: inherit;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt !important; font-family: inherit; color: black; background-color: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt !important; font-family: inherit; color: black; background-color: inherit;"&gt;If this does not help, then please post a small sample QVW that demonstrates your model and requirement.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2016 10:00:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-per-dimension-row/m-p/1131874#M1237467</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-05-24T10:00:55Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis per dimension row</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-per-dimension-row/m-p/1131875#M1237468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Works perfectly, thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2016 11:39:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-per-dimension-row/m-p/1131875#M1237468</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-24T11:39:08Z</dc:date>
    </item>
  </channel>
</rss>

