<?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: Can you help me to solve this tricky problem in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Can-you-help-me-to-solve-this-tricky-problem/m-p/679854#M246589</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Better if you can provide us sample data file. It is very difficult to work without actual data in hand.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 14 Jun 2014 10:20:24 GMT</pubDate>
    <dc:creator>MK_QSL</dc:creator>
    <dc:date>2014-06-14T10:20:24Z</dc:date>
    <item>
      <title>Can you help me to solve this tricky problem</title>
      <link>https://community.qlik.com/t5/QlikView/Can-you-help-me-to-solve-this-tricky-problem/m-p/679853#M246588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the following data model.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Header 1&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Header 2&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Skill ID&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Employee ID&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Header 1&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Header 2&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Header 3&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Employee ID&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Month&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Remaining Capacity(can be +ve or -ve)&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="49" style="border: 1px solid rgb(0, 0, 0); width: 104px; height: 41px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Month Filter&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Month&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I need to display the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="89" style="border: 1px solid rgb(0, 0, 0); width: 574px; height: 71px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Skill ID&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Skill Count&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Remaining Count&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Skill ID&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Count of employee with this skill&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Count of employee having this skill and remaining capacity&amp;gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The user shall have a month filter where he can select a range of months. Hence the above table should display the remaining count, by aggregating for each employee over the given duration of month for the remaining capacity column. Then if this sum is positive the count should be increased by 1 else don't increase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me how should i acheive this. Thank you in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jun 2014 19:22:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-you-help-me-to-solve-this-tricky-problem/m-p/679853#M246588</guid>
      <dc:creator />
      <dc:date>2014-06-13T19:22:04Z</dc:date>
    </item>
    <item>
      <title>Re: Can you help me to solve this tricky problem</title>
      <link>https://community.qlik.com/t5/QlikView/Can-you-help-me-to-solve-this-tricky-problem/m-p/679854#M246589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Better if you can provide us sample data file. It is very difficult to work without actual data in hand.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Jun 2014 10:20:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-you-help-me-to-solve-this-tricky-problem/m-p/679854#M246589</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-06-14T10:20:24Z</dc:date>
    </item>
    <item>
      <title>Re: Can you help me to solve this tricky problem</title>
      <link>https://community.qlik.com/t5/QlikView/Can-you-help-me-to-solve-this-tricky-problem/m-p/679855#M246590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I agree it would be better to post some more details about your data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just guessing:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a straight table chart with dimension [Skill ID], then two expressions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)&lt;/P&gt;&lt;P&gt;=count(distinct [Employee ID])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or if you want the count independent from your Month Selection:&lt;/P&gt;&lt;P&gt;=count({1} distinct [Employee ID])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2)&lt;/P&gt;&lt;P&gt;=sum( aggr( if(sum([Remaining Capacity]&amp;gt;0,1,0), [Employee ID]))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or &lt;/P&gt;&lt;P&gt;=count({&amp;lt;[Employee ID] = {"sum([Remaining Capacity])&amp;gt;0"}&amp;gt;} distinct [Employee ID])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Jun 2014 10:28:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-you-help-me-to-solve-this-tricky-problem/m-p/679855#M246590</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2014-06-14T10:28:34Z</dc:date>
    </item>
  </channel>
</rss>

