<?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: Another how do I? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Another-how-do-I/m-p/455426#M169995</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could use CrossTable() to build yourself a linktable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am assuming your Fact table has a row ID of some sort (FactID). LastModifiedUserCode = Lmuc, CreatedByUserCode = Cruc, ClosedByUserCode = Cluc. This also assumes the User Master table has a field called UserCode. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After loading your fact table in the script, put this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UserLinkTable:&lt;/P&gt;&lt;P&gt;CrossTable(UserAction,UserCode)&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp; FactID,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Lmuc,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Cruc,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Cluc&lt;/P&gt;&lt;P&gt;Resident YourFactTable;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CrossTable() will. Hold a 3-column table with FactID, UserCode and UserAction. Effectively, each row of the fact table will have 3 rows in the link table - one for each of the 3 user code actions (Created, LastModified and Closed). &lt;/P&gt;&lt;P&gt;So now FactID will join your fact table to the link table and UserCode will join the link table to the User Master. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jason&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 30 Sep 2012 11:51:41 GMT</pubDate>
    <dc:creator>Jason_Michaelides</dc:creator>
    <dc:date>2012-09-30T11:51:41Z</dc:date>
    <item>
      <title>Another how do I?</title>
      <link>https://community.qlik.com/t5/QlikView/Another-how-do-I/m-p/455425#M169994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am very new to QlikView (a week old) - have done the one hour and 8 hour tutorial but still pretty dumb... I am doing a POC for the business. I appreciate the help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My fact table has both LastModifiedbyUserCode, CreatedbyUserCode, ClosedByUserCode. They have the same master data table – User Master. How do I make them all point to the User Master. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Sep 2012 13:01:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Another-how-do-I/m-p/455425#M169994</guid>
      <dc:creator />
      <dc:date>2012-09-29T13:01:47Z</dc:date>
    </item>
    <item>
      <title>Re: Another how do I?</title>
      <link>https://community.qlik.com/t5/QlikView/Another-how-do-I/m-p/455426#M169995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could use CrossTable() to build yourself a linktable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am assuming your Fact table has a row ID of some sort (FactID). LastModifiedUserCode = Lmuc, CreatedByUserCode = Cruc, ClosedByUserCode = Cluc. This also assumes the User Master table has a field called UserCode. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After loading your fact table in the script, put this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UserLinkTable:&lt;/P&gt;&lt;P&gt;CrossTable(UserAction,UserCode)&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp; FactID,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Lmuc,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Cruc,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Cluc&lt;/P&gt;&lt;P&gt;Resident YourFactTable;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CrossTable() will. Hold a 3-column table with FactID, UserCode and UserAction. Effectively, each row of the fact table will have 3 rows in the link table - one for each of the 3 user code actions (Created, LastModified and Closed). &lt;/P&gt;&lt;P&gt;So now FactID will join your fact table to the link table and UserCode will join the link table to the User Master. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jason&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 30 Sep 2012 11:51:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Another-how-do-I/m-p/455426#M169995</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2012-09-30T11:51:41Z</dc:date>
    </item>
    <item>
      <title>Re: Another how do I?</title>
      <link>https://community.qlik.com/t5/QlikView/Another-how-do-I/m-p/455427#M169996</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;You can achieve this by joining the master table 3 times with 3 different User code fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;LastModifiedbyUserCode, CreatedbyUserCode, ClosedByUserCode&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;FROM TABLE;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Left Join(Table)&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; UserCode AS &lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;LastModifiedbyUserCode&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; User Name AS LastModifiedUserName&lt;/P&gt;&lt;P&gt;FROM Master;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Left Join(Table)&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; UserCode AS &lt;SPAN style="color: #636363; font-size: 12px; background-color: #eef4f9; font-family: Arial;"&gt;CreatedbyUserCode&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; User Name AS CreatedUserName&lt;/P&gt;&lt;P&gt;FROM Master;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Left Join(Table)&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; UserCode AS &lt;SPAN style="color: #636363; font-size: 12px; background-color: #eef4f9; font-family: Arial;"&gt;ClosedByUserCode&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; User Name AS ClosedByUserName&lt;/P&gt;&lt;P&gt;FROM Master;&lt;/P&gt;&lt;P&gt;&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;Table:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;LastModifiedbyUserCode, CreatedbyUserCode, ClosedByUserCode&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;FROM TABLE;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Modified:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; UserCode AS &lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;LastModifiedbyUserCode&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; User Name AS LastModifiedUserName&lt;/P&gt;&lt;P&gt;FROM Master;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Created:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; UserCode AS &lt;SPAN style="color: #636363; font-size: 12px; background-color: #eef4f9; font-family: Arial;"&gt;CreatedbyUserCode&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; User Name AS CreatedUserName&lt;/P&gt;&lt;P&gt;FROM Master;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Closed:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; UserCode AS &lt;SPAN style="color: #636363; font-size: 12px; background-color: #eef4f9; font-family: Arial;"&gt;ClosedByUserCode&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; User Name AS ClosedByUserName&lt;/P&gt;&lt;P&gt;FROM Master;&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;You can do this by Mapping Load and Applymap.&amp;nbsp; Check help file regarding this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thease are the different ways you can achieve this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 30 Sep 2012 12:05:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Another-how-do-I/m-p/455427#M169996</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2012-09-30T12:05:05Z</dc:date>
    </item>
  </channel>
</rss>

