<?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 Expression help in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expression-help/m-p/412554#M153580</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi everyone, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the following expression &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=aggr(if([WO Employee Code] = EmployeeCode_Sales, Sum(AbsentFlag_ISS)),EmployeeCode_Sales,EmployeeName)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was wondering if anyone had any suggestions on how to rewrite this to make it perform better as currently it takes the chart 6min 57secs to render. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be appreciated. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Apr 2013 09:17:08 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-04-02T09:17:08Z</dc:date>
    <item>
      <title>Expression help</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-help/m-p/412554#M153580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi everyone, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the following expression &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=aggr(if([WO Employee Code] = EmployeeCode_Sales, Sum(AbsentFlag_ISS)),EmployeeCode_Sales,EmployeeName)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was wondering if anyone had any suggestions on how to rewrite this to make it perform better as currently it takes the chart 6min 57secs to render. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be appreciated. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Apr 2013 09:17:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-help/m-p/412554#M153580</guid>
      <dc:creator />
      <dc:date>2013-04-02T09:17:08Z</dc:date>
    </item>
    <item>
      <title>Re: Expression help</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-help/m-p/412555#M153581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum(Aggr(sum({&amp;lt;[WO Employee Code] = {"=[WO Employee Code] = EmployeeCode_Sales"}&amp;gt;}AbsentFlag_ISS),EmployeeCode_Sales,EmployeeName))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Apr 2013 09:22:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-help/m-p/412555#M153581</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2013-04-02T09:22:35Z</dc:date>
    </item>
    <item>
      <title>Re: Expression help</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-help/m-p/412556#M153582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;Kaushik&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply, that unfortunately doesnt work. it puts the same figure against each row. I need to to obviously calculate at row level using the name field. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="35884" class="jive-image-thumbnail jive-image" onclick="" alt="Capture.JPG" src="https://community.qlik.com/legacyfs/online/35884_Capture.JPG" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first aggr expression are the correct figures, the second is yours which is a total sum of the field against each employee. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Apr 2013 09:32:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-help/m-p/412556#M153582</guid>
      <dc:creator />
      <dc:date>2013-04-02T09:32:02Z</dc:date>
    </item>
    <item>
      <title>Re: Expression help</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-help/m-p/412557#M153583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Kindly upload the example document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Apr 2013 09:34:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-help/m-p/412557#M153583</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2013-04-02T09:34:49Z</dc:date>
    </item>
    <item>
      <title>Re: Expression help</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-help/m-p/412558#M153584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, attached is a sample.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have scrambled the data apart from the fields needed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Apr 2013 10:27:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-help/m-p/412558#M153584</guid>
      <dc:creator />
      <dc:date>2013-04-02T10:27:36Z</dc:date>
    </item>
    <item>
      <title>Re: Expression help</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-help/m-p/412559#M153585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can't solve this with set analysis expressions. You should create a link between DiaryEvent_Sales and WorkOrder in the script. I think you need a third table for the link. If you link the tables directly you get a useless many-to-many relationship.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Apr 2013 11:04:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-help/m-p/412559#M153585</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-04-02T11:04:46Z</dc:date>
    </item>
    <item>
      <title>Re: Expression help</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-help/m-p/412560#M153586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I agree with Gysbert. It is not possible with Set Analysis, you must join both the fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Apr 2013 11:11:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-help/m-p/412560#M153586</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2013-04-02T11:11:13Z</dc:date>
    </item>
  </channel>
</rss>

