<?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: employee count varies with age group (emp count shows different in two tables) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/varies-from-type/m-p/955882#M328497</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have made certain selections in your app already. the right chart shows 74 for Contract when I have Employment Type &lt;STRONG&gt;CONTRACT&lt;/STRONG&gt; selected,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/108118_Capture.PNG" style="height: 182px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but shows 72 when I select &lt;STRONG&gt;PERMANENT&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/108122_Capture.PNG" style="height: 165px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think there is some bigger data model issue or something related to your expression that isn't working the way you want it to work. I think we will need to get to the very basics and know if 74 is actually the right number and how exactly you came up with it ( What was the logic)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Dec 2015 16:29:59 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2015-12-04T16:29:59Z</dc:date>
    <item>
      <title>varies from type</title>
      <link>https://community.qlik.com/t5/QlikView/varies-from-type/m-p/955880#M328495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I have two tables &lt;/P&gt;&lt;P&gt;please please request help&lt;/P&gt;&lt;P&gt;attached is the sample qvw.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Dec 2015 15:33:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/varies-from-type/m-p/955880#M328495</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-04T15:33:12Z</dc:date>
    </item>
    <item>
      <title>Re: employee count varies with age group (emp count shows different in two tables)</title>
      <link>https://community.qlik.com/t5/QlikView/varies-from-type/m-p/955881#M328496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;any kind of support&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Dec 2015 16:20:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/varies-from-type/m-p/955881#M328496</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-04T16:20:41Z</dc:date>
    </item>
    <item>
      <title>Re: employee count varies with age group (emp count shows different in two tables)</title>
      <link>https://community.qlik.com/t5/QlikView/varies-from-type/m-p/955882#M328497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have made certain selections in your app already. the right chart shows 74 for Contract when I have Employment Type &lt;STRONG&gt;CONTRACT&lt;/STRONG&gt; selected,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/108118_Capture.PNG" style="height: 182px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but shows 72 when I select &lt;STRONG&gt;PERMANENT&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/108122_Capture.PNG" style="height: 165px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think there is some bigger data model issue or something related to your expression that isn't working the way you want it to work. I think we will need to get to the very basics and know if 74 is actually the right number and how exactly you came up with it ( What was the logic)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Dec 2015 16:29:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/varies-from-type/m-p/955882#M328497</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-12-04T16:29:59Z</dc:date>
    </item>
    <item>
      <title>Re: employee count varies with age group (emp count shows different in two tables)</title>
      <link>https://community.qlik.com/t5/QlikView/varies-from-type/m-p/955883#M328498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sunny &lt;/P&gt;&lt;P&gt;Thanks for the analysis&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the expression is only the requirement&lt;/P&gt;&lt;P&gt;and the logic is no of employees joined year , and the age wise but the employees age wise and the ytd employees should be the same but some where we need to use sort key &lt;/P&gt;&lt;P&gt;but not sure how to use it though&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pls help me on this i know till this requirment i dnt know much i need the figure to be 74 that matches to the other chart &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Dec 2015 16:48:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/varies-from-type/m-p/955883#M328498</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-04T16:48:44Z</dc:date>
    </item>
    <item>
      <title>Re: employee count varies with age group (emp count shows different in two tables)</title>
      <link>https://community.qlik.com/t5/QlikView/varies-from-type/m-p/955884#M328499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your aggr function produces 3 values. 1 is unknown, is this the desired result ? I advise you to revise it once again.&lt;/P&gt;&lt;P&gt;Another thing,&lt;/P&gt;&lt;P&gt;Based on your calendar script, in year 2015,&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;there are &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;280 employees,&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;106 contractors, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;187 Permanent employee.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 13.3333px;"&gt;Contractors and permanent sum is not equal to total employees. 293 - 280.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Is there any duplicate somewhere in your data ?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;IMG __jive_id="108126" alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/108126_Capture.PNG" style="height: 462px; width: 620px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Dec 2015 16:57:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/varies-from-type/m-p/955884#M328499</guid>
      <dc:creator>omerfaruk</dc:creator>
      <dc:date>2015-12-04T16:57:53Z</dc:date>
    </item>
    <item>
      <title>Re: employee count varies with age group (emp count shows different in two tables)</title>
      <link>https://community.qlik.com/t5/QlikView/varies-from-type/m-p/955885#M328500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Omer Demir for your analysis too.&lt;/P&gt;&lt;P&gt;the same thing i was also trying to figure out ...&lt;/P&gt;&lt;P&gt;but i hope there is no distinct values and need to customize the expression some how &lt;/P&gt;&lt;P&gt;i was finidng it way difficult to match these two tables contract emp numbers &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;need help even i am also working out on expression .&lt;/P&gt;&lt;P&gt;could you look into [(h)Sort Key] i.e max([(h)Sort Key]) which gives the latest record or date for the employees&lt;/P&gt;&lt;P&gt;i am trying&amp;nbsp; to apply the sort key logic in the expression but of no use&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Dec 2015 18:09:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/varies-from-type/m-p/955885#M328500</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-04T18:09:47Z</dc:date>
    </item>
    <item>
      <title>Re: employee count varies with age group (emp count shows different in two tables)</title>
      <link>https://community.qlik.com/t5/QlikView/varies-from-type/m-p/955886#M328501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;any other suggestions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Dec 2015 18:40:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/varies-from-type/m-p/955886#M328501</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-04T18:40:44Z</dc:date>
    </item>
    <item>
      <title>Re: employee count varies with age group (emp count shows different in two tables)</title>
      <link>https://community.qlik.com/t5/QlikView/varies-from-type/m-p/955887#M328502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On table "YTD No. of Employees by Employment Type as at 2015" you use a calculated dimension that you named "Staff Employment Type", but in reality it is "&lt;STRONG&gt;Last&lt;/STRONG&gt; Staff Employment Type".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The other table depends of the selection of &lt;SPAN style="font-size: 13.3333px;"&gt;"Staff Employment Type". &lt;STRONG&gt;But during the year people of Staff could have different &lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;"Staff Employment Type". &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A good solution will be to create a dimension &lt;SPAN style="font-size: 13.3333px;"&gt;"&lt;/SPAN&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;Last&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; Staff Employment Type" during the data load and use it instead :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;- the dimension field &lt;SPAN style="font-size: 13.3333px;"&gt;"Staff Employment Type"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;- the calculated dimension o&lt;SPAN style="font-size: 13.3333px;"&gt;n table "YTD No. of Employees by Employment Type as at 2015"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Dec 2015 18:50:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/varies-from-type/m-p/955887#M328502</guid>
      <dc:creator>sfatoux72</dc:creator>
      <dc:date>2015-12-04T18:50:14Z</dc:date>
    </item>
    <item>
      <title>Re: employee count varies with age group (emp count shows different in two tables)</title>
      <link>https://community.qlik.com/t5/QlikView/varies-from-type/m-p/955888#M328503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sebastien&lt;/P&gt;&lt;P&gt;thanks alot for your analysis&lt;/P&gt;&lt;P&gt;confused a bit and could you please share me sample expression to write or app ?&lt;/P&gt;&lt;P&gt;could you please respond?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Dec 2015 05:06:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/varies-from-type/m-p/955888#M328503</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-05T05:06:40Z</dc:date>
    </item>
    <item>
      <title>Re: employee count varies with age group (emp count shows different in two tables)</title>
      <link>https://community.qlik.com/t5/QlikView/varies-from-type/m-p/955889#M328504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello any suggestions&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Dec 2015 17:27:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/varies-from-type/m-p/955889#M328504</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-05T17:27:46Z</dc:date>
    </item>
    <item>
      <title>Re: employee count varies with age group (emp count shows different in two tables)</title>
      <link>https://community.qlik.com/t5/QlikView/varies-from-type/m-p/955890#M328505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I can suggest is to try to produce the required value by making listbox/multibox selections. With this you can see the actual result you would get when you write an expression. Unless your data model is bad, this should work. I hope you find a way out from this issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Dec 2015 18:52:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/varies-from-type/m-p/955890#M328505</guid>
      <dc:creator>omerfaruk</dc:creator>
      <dc:date>2015-12-05T18:52:00Z</dc:date>
    </item>
    <item>
      <title>Re: employee count varies with age group (emp count shows different in two tables)</title>
      <link>https://community.qlik.com/t5/QlikView/varies-from-type/m-p/955891#M328506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello any suggestions would be great&lt;/P&gt;&lt;P&gt;still finding no solution &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 Dec 2015 11:39:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/varies-from-type/m-p/955891#M328506</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-06T11:39:12Z</dc:date>
    </item>
    <item>
      <title>Re: employee count varies with age group (emp count shows different in two tables)</title>
      <link>https://community.qlik.com/t5/QlikView/varies-from-type/m-p/955892#M328507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To be more clear, when you start to create complex calculated dimension that signify that your data model is not appropriate to your need. In this case you must create this dimension on your data model.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could find in attachment an example where I create the dimension "&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Last&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; Staff Employment Type&lt;/SPAN&gt;"&lt;/P&gt;&lt;P&gt;&lt;EM&gt;I just do it for 201512, you will need to create a loop to do it for each month and see how to integrate this on your data model&lt;/EM&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I add a list box with the new dimension and I modify the graph to use the new dimension instead the Aggr. And you have the result that you want.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Another time, my example work only the selection Year=2015, Quarter= and Month=.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="HR_Emp_Count.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/108167_HR_Emp_Count.png" style="height: 324px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;I found 73 Contract and 180 Permanent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With the new dimension &lt;SPAN style="font-size: 13.3333px;"&gt;"&lt;/SPAN&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Last&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; Staff Employment Type&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;", you could simplify dimension and expression (&lt;EM&gt;see orange object&lt;/EM&gt;).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Warning&lt;/STRONG&gt;: &lt;EM&gt;when you use alternate state, if you use $ in set analysis, you reference the default state. Specify the state that you want to reference or nothing to inherit the object state. &lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 Dec 2015 13:04:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/varies-from-type/m-p/955892#M328507</guid>
      <dc:creator>sfatoux72</dc:creator>
      <dc:date>2015-12-06T13:04:42Z</dc:date>
    </item>
    <item>
      <title>Re: employee count varies with age group (emp count shows different in two tables)</title>
      <link>https://community.qlik.com/t5/QlikView/varies-from-type/m-p/955893#M328508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a ton Sebastien&lt;/P&gt;&lt;P&gt;I will look into it &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Dec 2015 10:33:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/varies-from-type/m-p/955893#M328508</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-07T10:33:39Z</dc:date>
    </item>
  </channel>
</rss>

