<?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: Show two pivot tables in one in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Show-two-pivot-tables-in-one/m-p/372278#M138425</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Kiran, that is all that I need it, thank you very much &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Jul 2012 21:53:22 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-07-27T21:53:22Z</dc:date>
    <item>
      <title>Show two pivot tables in one</title>
      <link>https://community.qlik.com/t5/QlikView/Show-two-pivot-tables-in-one/m-p/372276#M138423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Grettings, I have a problem with a pivot table, rather, with the fields of that tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have two important fields in my model, TermReason and RecruitType, in both fields, I wes create a pivot table that show the numeric count of the Employees (GlobalEmployeeId), and show it by months, like this image:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="18988" alt="Tables.png" class="jive-image-thumbnail jive-image" src="https://community.qlik.com/legacyfs/online/18988_Tables.png" width="450" /&gt;&lt;/P&gt;&lt;P&gt;This is no problem, is very easy create these pivot tables, but I need to add/fuse/join/etc this table and makes them one table. The problem, the distinct source of the tables, because TermReason and RecruitType are in different table, both in Qlikview and in SQL Server. Joins in Qlikview and in SQL Server doesn't work, and I no have any idea that I can do for resolve this problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I attach the .qvw fiel with my model if someone can help me. By the way, I don't have the professional license of Qlikview, only Personal Edition, I won't can see your files, so I would so glad if you can wrote the code or show me a image.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Beforehand, thanks you for you answers and sorry for my poor level of english.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.D: I speak spanish, it's my native language, so if someone wants reply in spanish, no problem for me &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jul 2012 16:18:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-two-pivot-tables-in-one/m-p/372276#M138423</guid>
      <dc:creator />
      <dc:date>2012-07-27T16:18:45Z</dc:date>
    </item>
    <item>
      <title>Re: Show two pivot tables in one</title>
      <link>https://community.qlik.com/t5/QlikView/Show-two-pivot-tables-in-one/m-p/372277#M138424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Add the following at the end of your script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13434173165706177" jivemacro_uid="_13434173165706177"&gt;&lt;P&gt;MapRecruitmentTypeId: Mapping LOAD RecruitmentTypeId,RecruitType Resident DimRecruitmentType;&lt;/P&gt;&lt;P&gt;MapTerminationReasonId: Mapping LOAD TerminationReasonId,TermReason Resident DimTerminationReason;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DIMRecruitTermination:&lt;/P&gt;&lt;P&gt;LOAD GlobalEmployeeId,ApplyMap('MapRecruitmentTypeId',RecruitmentTypeId) as RecruitTermination Resident FactEmployee;&lt;/P&gt;&lt;P&gt;Concatenate&lt;/P&gt;&lt;P&gt;LOAD GlobalEmployeeId,ApplyMap('MapTerminationReasonId',TerminationReasonId) as RecruitTermination Resident FactEmployee;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use same expression with RecruitTermination as dimension. Then go to dimensions tab of the chart and "suppress when value is null" for RecruitTermination.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kiran Rokkam.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jul 2012 19:27:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-two-pivot-tables-in-one/m-p/372277#M138424</guid>
      <dc:creator />
      <dc:date>2012-07-27T19:27:07Z</dc:date>
    </item>
    <item>
      <title>Re: Show two pivot tables in one</title>
      <link>https://community.qlik.com/t5/QlikView/Show-two-pivot-tables-in-one/m-p/372278#M138425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Kiran, that is all that I need it, thank you very much &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jul 2012 21:53:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-two-pivot-tables-in-one/m-p/372278#M138425</guid>
      <dc:creator />
      <dc:date>2012-07-27T21:53:22Z</dc:date>
    </item>
  </channel>
</rss>

