<?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: Help: Showing multiple related data in a row in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-Showing-multiple-related-data-in-a-row/m-p/965487#M330965</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, that's my trick. You can give the new field any name you want. I merely choose Qty because you already had a field called that so it would make sense to give the new field the same name since it will contain the information from the Qty field of the mapping table. A mapping table is discarded at the end of the load so there's only one Qty field at the end. You can consider a mapping table as nothing more then a temporary lookup table for a search&amp;amp;replace operation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Oct 2015 05:40:30 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2015-10-30T05:40:30Z</dc:date>
    <item>
      <title>Help: Showing multiple related data in a row</title>
      <link>https://community.qlik.com/t5/QlikView/Help-Showing-multiple-related-data-in-a-row/m-p/965478#M330956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My issue is how to show related data per row? Let me explain in an example. For this input:&lt;/P&gt;&lt;P&gt;Shipment:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;ShipmentID, Qty&lt;/P&gt;&lt;P&gt;1, 10&lt;/P&gt;&lt;P&gt;2, 30&lt;/P&gt;&lt;P&gt;3, 20&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Event:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;EventID, ShipmentID, EventDate, EventName&lt;/P&gt;&lt;P&gt;1, 1, '2015-08-01', 'Processed'&lt;/P&gt;&lt;P&gt;2, 2, '2015-09-05', 'Shipped'&lt;/P&gt;&lt;P&gt;3, 3, '2015-10-01', 'Processed'&lt;/P&gt;&lt;P&gt;4, 1, '2015-08-04', 'Shipped'&lt;/P&gt;&lt;P&gt;5, 2, '2015-09-01', 'Processed'&lt;/P&gt;&lt;P&gt;6, 2, '2015-09-09', 'Delivered'&lt;/P&gt;&lt;P&gt;7, 3, '2015-10-03', 'Transit'&lt;/P&gt;&lt;P&gt;8, 3, '2015-10-02', 'Shipped'&lt;/P&gt;&lt;P&gt;9, 3, '2015-10-15', 'Wait'&lt;/P&gt;&lt;P&gt;10, 1, '2015-08-15', 'Delivered'&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to get this as output (Ev. short for Event):&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;ShipmentID&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;Ev.ID_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;Ev.Date_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;Desc_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;Ev.ID_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;Ev.Date_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;Desc_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;Ev.ID_3&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;Ev.Date_3&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Desc_3&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Ev.ID_4&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Ev.Date_4&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;Desc_4&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;P&gt;1&lt;/P&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2015-08-01&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Processed&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;4&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2015-08-04&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Shipped&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;10&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;2015-08-15&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Delivered&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;5&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2015-09-01&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Processed&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;2015-09-05&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Shipped&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;6&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;2015-09-09&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Delivered&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;2015-10-01&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Processed&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;8&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;2015-10-02&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Shipped&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;7&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;2015-10-04&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Transit&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;9&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;2015-10-15&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Wait&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know that I can't have dynamic number of column. Let's say that it's hardcoded to max 4. I will change as needed.&lt;/P&gt;&lt;P&gt;Order in which events should be presented is by &lt;SPAN style="text-decoration: underline;"&gt;date&lt;/SPAN&gt; only. ID or Description can't be used for sorting since events are stored in sort of random order, and ID is assigned as they arrive. Also, Description can be more or less any string, but for convenience I used only 5 different.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to have this in pivot table, but it's not that important where it's presented as long as I get it done.&lt;/P&gt;&lt;P&gt;What are my options kind strangers?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Oct 2015 14:49:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-Showing-multiple-related-data-in-a-row/m-p/965478#M330956</guid>
      <dc:creator />
      <dc:date>2015-10-26T14:49:57Z</dc:date>
    </item>
    <item>
      <title>Re: Help: Showing multiple related data in a row</title>
      <link>https://community.qlik.com/t5/QlikView/Help-Showing-multiple-related-data-in-a-row/m-p/965479#M330957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See attached qvw. Is that an acceptable solution?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Oct 2015 18:17:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-Showing-multiple-related-data-in-a-row/m-p/965479#M330957</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-10-26T18:17:59Z</dc:date>
    </item>
    <item>
      <title>Re: Help: Showing multiple related data in a row</title>
      <link>https://community.qlik.com/t5/QlikView/Help-Showing-multiple-related-data-in-a-row/m-p/965480#M330958</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;if you want to create separate fields for the different events yo ucould try with (using Gysbert's example):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_189112_Pic1.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/103107_QlikCommunity_Thread_189112_Pic1.JPG" style="height: 48px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_189112_Pic2.JPG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/103108_QlikCommunity_Thread_189112_Pic2.JPG" style="height: 277px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14459004355811037 jive_text_macro" jivemacro_uid="_14459004355811037"&gt;
&lt;P&gt;Shipment:&lt;/P&gt;
&lt;P&gt;LOAD * Inline [&lt;/P&gt;
&lt;P&gt;ShipmentID, Qty&lt;/P&gt;
&lt;P&gt;1, 10&lt;/P&gt;
&lt;P&gt;2, 30&lt;/P&gt;
&lt;P&gt;3, 20&lt;/P&gt;
&lt;P&gt;];&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;EventTemp:&lt;/P&gt;
&lt;P&gt;CrossTable(ColNam,ColVal,2)&lt;/P&gt;
&lt;P&gt;LOAD ShipmentID,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; AutoNumber(EventID,ShipmentID) as Counter,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; EventID as Ev.ID,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; EventDate as Ev.Date,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; EventName as Desc&lt;/P&gt;
&lt;P&gt;Inline [&lt;/P&gt;
&lt;P&gt;EventID, ShipmentID, EventDate, EventName&lt;/P&gt;
&lt;P&gt;1, 1, '2015-08-01', 'Processed'&lt;/P&gt;
&lt;P&gt;2, 2, '2015-09-05', 'Shipped'&lt;/P&gt;
&lt;P&gt;3, 3, '2015-10-01', 'Processed'&lt;/P&gt;
&lt;P&gt;4, 1, '2015-08-04', 'Shipped'&lt;/P&gt;
&lt;P&gt;5, 2, '2015-09-01', 'Processed'&lt;/P&gt;
&lt;P&gt;6, 2, '2015-09-09', 'Delivered'&lt;/P&gt;
&lt;P&gt;7, 3, '2015-10-03', 'Transit'&lt;/P&gt;
&lt;P&gt;8, 3, '2015-10-02', 'Shipped'&lt;/P&gt;
&lt;P&gt;9, 3, '2015-10-15', 'Wait'&lt;/P&gt;
&lt;P&gt;10, 1, '2015-08-15', 'Delivered'&lt;/P&gt;
&lt;P&gt;];&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Event:&lt;/P&gt;
&lt;P&gt;Generic LOAD&lt;/P&gt;
&lt;P&gt;&amp;nbsp; ShipmentID,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; ColNam&amp;amp;'_'&amp;amp;Counter,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; ColVal&lt;/P&gt;
&lt;P&gt;Resident EventTemp;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;DROP Table EventTemp;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&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;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Oct 2015 23:01:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-Showing-multiple-related-data-in-a-row/m-p/965480#M330958</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2015-10-26T23:01:33Z</dc:date>
    </item>
    <item>
      <title>Re: Help: Showing multiple related data in a row</title>
      <link>https://community.qlik.com/t5/QlikView/Help-Showing-multiple-related-data-in-a-row/m-p/965481#M330959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Gysbert, thanks for helping me, I really appreciate it. I'm trying to implement your approach, and I'm having trouble understanding something in the code:&lt;/P&gt;&lt;P&gt;LOAD *, ApplyMap('MapQty',ShipmentID) as Qty, AutoNumber(EventID,ShipmentID) as Counter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there some significance in using ApplyMap(...) &lt;SPAN style="font-size: 13.3333px;"&gt;as &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Qty?&lt;/STRONG&gt;&lt;/SPAN&gt; Why is it called the same as the field in shipment table? That Qty in shipment is not unique, maybe my data sample is not 100% clear.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Oct 2015 14:38:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-Showing-multiple-related-data-in-a-row/m-p/965481#M330959</guid>
      <dc:creator />
      <dc:date>2015-10-28T14:38:55Z</dc:date>
    </item>
    <item>
      <title>Re: Help: Showing multiple related data in a row</title>
      <link>https://community.qlik.com/t5/QlikView/Help-Showing-multiple-related-data-in-a-row/m-p/965482#M330960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marco, thanks for helping me. Your solution is interesting, but how will it scale once I have 100k shipments with 500k events? I'm not sure that I understand properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Right now I'm trying both approaches. Even though it clearly works on sample data I provided, I'm trying now to plug in into real data, and it tricky. I will try to put together better example and accompanied .qvw doc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Oct 2015 14:41:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-Showing-multiple-related-data-in-a-row/m-p/965482#M330960</guid>
      <dc:creator />
      <dc:date>2015-10-28T14:41:31Z</dc:date>
    </item>
    <item>
      <title>Re: Help: Showing multiple related data in a row</title>
      <link>https://community.qlik.com/t5/QlikView/Help-Showing-multiple-related-data-in-a-row/m-p/965483#M330961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px; background-color: #f2f2f2;"&gt;That Qty in shipment is not unique&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;You mean that you have several rows in the Shipment table with the same shipment id, but different Qty values?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Oct 2015 16:41:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-Showing-multiple-related-data-in-a-row/m-p/965483#M330961</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-10-28T16:41:01Z</dc:date>
    </item>
    <item>
      <title>Re: Help: Showing multiple related data in a row</title>
      <link>https://community.qlik.com/t5/QlikView/Help-Showing-multiple-related-data-in-a-row/m-p/965484#M330962</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;attached an example with 100k ShipmentIDs.&lt;/P&gt;&lt;P&gt;Script didn't perform too well, I have to admit ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14460808685219502" jivemacro_uid="_14460808685219502"&gt;
&lt;P&gt;Shipment:&lt;/P&gt;
&lt;P&gt;LOAD RecNo() as ShipmentID,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Ceil(Rand()*1000) as Qty&lt;/P&gt;
&lt;P&gt;AutoGenerate 100000;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;EventTempTemp:&lt;/P&gt;
&lt;P&gt;LOAD RowNo() as EventID,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RecNo() as ShipmentID,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(MakeDate(2010)+Ceil(Rand()*(Today()-MakeDate(2010)))) as EventDate,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Pick(Ceil(Rand()*5),'Processed','Shipped','Delivered','Transit','Wait') as EventName&lt;/P&gt;
&lt;P&gt;AutoGenerate 100000&lt;/P&gt;
&lt;P&gt;While IterNo()&amp;lt;=Ceil(Rand()*10);&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;EventTemp:&lt;/P&gt;
&lt;P&gt;CrossTable(ColNam,ColVal,2)&lt;/P&gt;
&lt;P&gt;LOAD ShipmentID,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AutoNumber(EventID,ShipmentID) as Counter,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EventID as Ev.ID,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EventDate as Ev.Date,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EventName as Desc&lt;/P&gt;
&lt;P&gt;Resident EventTempTemp;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;DROP Table EventTempTemp;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Event:&lt;/P&gt;
&lt;P&gt;Generic LOAD&lt;/P&gt;
&lt;P&gt;&amp;nbsp; ShipmentID,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; ColNam&amp;amp;'_'&amp;amp;Counter,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; ColVal&lt;/P&gt;
&lt;P&gt;Resident EventTemp;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;DROP Table EventTemp;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope it might help nevertheless&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2015 01:06:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-Showing-multiple-related-data-in-a-row/m-p/965484#M330962</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2015-10-29T01:06:52Z</dc:date>
    </item>
    <item>
      <title>Re: Help: Showing multiple related data in a row</title>
      <link>https://community.qlik.com/t5/QlikView/Help-Showing-multiple-related-data-in-a-row/m-p/965485#M330963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No no, I mean I can have several rows with different shipment_id and with same Qty.&lt;/P&gt;&lt;P&gt;I don't understand this part in the script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;LOAD *, ApplyMap('MapQty',ShipmentID) as Qty, AutoNumber(EventID,ShipmentID) as Counter&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Why is the ApplyMap called &lt;SPAN style="text-decoration: underline;"&gt;Qty&lt;/SPAN&gt;, same as field in the shipment table? It that a trick to force QV to link something?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2015 14:56:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-Showing-multiple-related-data-in-a-row/m-p/965485#M330963</guid>
      <dc:creator />
      <dc:date>2015-10-29T14:56:46Z</dc:date>
    </item>
    <item>
      <title>Re: Help: Showing multiple related data in a row</title>
      <link>https://community.qlik.com/t5/QlikView/Help-Showing-multiple-related-data-in-a-row/m-p/965486#M330964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Thanks for confirmation! &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2015 14:57:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-Showing-multiple-related-data-in-a-row/m-p/965486#M330964</guid>
      <dc:creator />
      <dc:date>2015-10-29T14:57:41Z</dc:date>
    </item>
    <item>
      <title>Re: Help: Showing multiple related data in a row</title>
      <link>https://community.qlik.com/t5/QlikView/Help-Showing-multiple-related-data-in-a-row/m-p/965487#M330965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, that's my trick. You can give the new field any name you want. I merely choose Qty because you already had a field called that so it would make sense to give the new field the same name since it will contain the information from the Qty field of the mapping table. A mapping table is discarded at the end of the load so there's only one Qty field at the end. You can consider a mapping table as nothing more then a temporary lookup table for a search&amp;amp;replace operation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Oct 2015 05:40:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-Showing-multiple-related-data-in-a-row/m-p/965487#M330965</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-10-30T05:40:30Z</dc:date>
    </item>
    <item>
      <title>Re: Help: Showing multiple related data in a row</title>
      <link>https://community.qlik.com/t5/QlikView/Help-Showing-multiple-related-data-in-a-row/m-p/965488#M330966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was on vacation and I didn't have time to check your solutions in detail yet. Just wanted to say thank you again, and I will close this question as soon as I confirm that I solved my case. Your help is greatly appreciated!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Nov 2015 13:07:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-Showing-multiple-related-data-in-a-row/m-p/965488#M330966</guid>
      <dc:creator />
      <dc:date>2015-11-19T13:07:19Z</dc:date>
    </item>
  </channel>
</rss>

