<?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: Set Analysis: Chart expression not including all data set, why? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Chart-expression-not-including-all-data-set-why/m-p/379526#M141529</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;Did you try &lt;SPAN style="color: #0000ff;"&gt;sum &lt;/SPAN&gt;({1} TOTAL &lt;SPAN style="color: #800000;"&gt;EmpRecordCtr&lt;/SPAN&gt;) ? This expression ignores current selection and dimensions and pick the values in the entire application.&amp;nbsp; I hope this helps. &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Aug 2012 14:58:34 GMT</pubDate>
    <dc:creator>manojkvrajan</dc:creator>
    <dc:date>2012-08-21T14:58:34Z</dc:date>
    <item>
      <title>Set Analysis: Chart expression not including all data set, why?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Chart-expression-not-including-all-data-set-why/m-p/379525#M141528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;I want to count the whole headcount in table Employees.&amp;nbsp; I have a record count field EmpRecordCtr.&amp;nbsp; The expression in the linear chart is &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;sum &lt;/SPAN&gt;({1} &lt;SPAN style="color: #800000;"&gt;EmpRecordCtr&lt;/SPAN&gt;) &lt;SPAN style="font-size: 12pt;"&gt;but it's not summing all employees in the table.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;I think it's summing only those with corresponding transactions in table AttTrans, but I don't understand why since I'm including the set identifier {1} which is supposed to mean all records in the document.&amp;nbsp; The dimensions in the chart are Mont / PayGroup respectively.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Any advise?&amp;nbsp; See attached data model image.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;IMG __jive_id="20443" class="jive-image-thumbnail jive-image" onclick="" alt="Absenteeism data model.JPG" src="/legacyfs/online/20443_Absenteeism data model.JPG" width="450" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Aug 2012 12:40:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Chart-expression-not-including-all-data-set-why/m-p/379525#M141528</guid>
      <dc:creator>wgonzalez</dc:creator>
      <dc:date>2012-08-21T12:40:18Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis: Chart expression not including all data set, why?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Chart-expression-not-including-all-data-set-why/m-p/379526#M141529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;Did you try &lt;SPAN style="color: #0000ff;"&gt;sum &lt;/SPAN&gt;({1} TOTAL &lt;SPAN style="color: #800000;"&gt;EmpRecordCtr&lt;/SPAN&gt;) ? This expression ignores current selection and dimensions and pick the values in the entire application.&amp;nbsp; I hope this helps. &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Aug 2012 14:58:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Chart-expression-not-including-all-data-set-why/m-p/379526#M141529</guid>
      <dc:creator>manojkvrajan</dc:creator>
      <dc:date>2012-08-21T14:58:34Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis: Chart expression not including all data set, why?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Chart-expression-not-including-all-data-set-why/m-p/379527#M141530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, good.&amp;nbsp; Now I need to chart the total headcount per PayGroup (employee class).&amp;nbsp; I've been trying but can't find the correct Set Analysis code for this.&amp;nbsp; Can you help?&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, 22 Aug 2012 14:57:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Chart-expression-not-including-all-data-set-why/m-p/379527#M141530</guid>
      <dc:creator>wgonzalez</dc:creator>
      <dc:date>2012-08-22T14:57:48Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis: Chart expression not including all data set, why?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Chart-expression-not-including-all-data-set-why/m-p/379528#M141531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Make a chart with&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimension:&lt;/P&gt;&lt;P&gt;PayGroup&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression:&lt;/P&gt;&lt;P&gt;count(distinct EmpID)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if you want the chart to filter by selections&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count({1} distinct EmpID)&amp;nbsp;&amp;nbsp;&amp;nbsp; if you don't want the chart to filter by selections&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2012 15:06:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Chart-expression-not-including-all-data-set-why/m-p/379528#M141531</guid>
      <dc:creator>Nicole-Smith</dc:creator>
      <dc:date>2012-08-22T15:06:00Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis: Chart expression not including all data set, why?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Chart-expression-not-including-all-data-set-why/m-p/379529#M141532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The point is to get the absenteeism %, which the result of Hour Lost divided by Available Hours.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Available Hours is computed by multiplying headcount * 8 * working days (vAvailableDays).&amp;nbsp; As you see, the headcount per PayGroup is part of the expression to get a %.&amp;nbsp; The pursued % should be also shown per PayGroup per Month (these are dimensions in the chart).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's the expresion to compute absenteeism %:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;sum&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;({&amp;lt;&lt;SPAN style="color: #800000;"&gt;AttCategory&lt;/SPAN&gt;-={'Null'}&amp;gt;}AttHours)/ (((sum({1} TOTAL EmpRecordCtr)*8)* &lt;STRONG&gt;&lt;EM style="color: #808080;"&gt;$(vAvailableDays)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;)-sum({&amp;lt;AttCategory={'Null'}&amp;gt;}AttHours)) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;What is wanted is to get the total headcount per PayGroup as part of the expression.&amp;nbsp; Any help?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2012 18:08:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Chart-expression-not-including-all-data-set-why/m-p/379529#M141532</guid>
      <dc:creator>wgonzalez</dc:creator>
      <dc:date>2012-08-22T18:08:51Z</dc:date>
    </item>
  </channel>
</rss>

