<?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: Enriching data with other records in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Enriching-data-with-other-records/m-p/1654828#M730103</link>
    <description>&lt;P&gt;You can try join these two tables if person and product columns are the unique keys for joining.&lt;/P&gt;&lt;P&gt;After joining, order this joined table by person and product in ascending order.&lt;/P&gt;&lt;P&gt;Then, try to create this new column:&lt;/P&gt;&lt;P&gt;if((Ticket=0 or len(Ticket)&amp;lt;1 or isnull(Ticket)),if(peek(person)=person and peek(product)=product,peek(NewTicket),Ticket)) as NewTicket&lt;/P&gt;</description>
    <pubDate>Fri, 06 Dec 2019 03:28:18 GMT</pubDate>
    <dc:creator>Arthur_Fong</dc:creator>
    <dc:date>2019-12-06T03:28:18Z</dc:date>
    <item>
      <title>Enriching data with other records</title>
      <link>https://community.qlik.com/t5/QlikView/Enriching-data-with-other-records/m-p/1654302#M730102</link>
      <description>&lt;P&gt;Good Day!&amp;nbsp; A little stuck with how to approach this.&amp;nbsp; I have a data set:&lt;/P&gt;&lt;P&gt;Load Account, Person, Product, Ticket;&lt;/P&gt;&lt;P&gt;SQL Select*&lt;/P&gt;&lt;P&gt;From Accounts&lt;/P&gt;&lt;P&gt;The Accounts database only populates [Ticket] for the [Person]&amp;amp;[Product] combination, so it is not always populated for each [Account Record].&amp;nbsp;&lt;/P&gt;&lt;P&gt;When loading, I would like to populate the same [ticket] number where that same [person]&amp;amp;[product] combination exist in another table. &amp;nbsp;&amp;nbsp; &lt;STRONG&gt;Example&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Account|Person|Product|Ticket&lt;/P&gt;&lt;P&gt;A111|Jane|CAD|123456&lt;/P&gt;&lt;P&gt;A222|Jane|CAD|0&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Should be:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;A111|Jane|CAD|123456&lt;/P&gt;&lt;P&gt;A222|Jane|CAD|123456&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do I need to load a temp table while omitting the 0/null records?&amp;nbsp; Or is there an easier way?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Enriching-data-with-other-records/m-p/1654302#M730102</guid>
      <dc:creator>JimTheNoob</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Enriching data with other records</title>
      <link>https://community.qlik.com/t5/QlikView/Enriching-data-with-other-records/m-p/1654828#M730103</link>
      <description>&lt;P&gt;You can try join these two tables if person and product columns are the unique keys for joining.&lt;/P&gt;&lt;P&gt;After joining, order this joined table by person and product in ascending order.&lt;/P&gt;&lt;P&gt;Then, try to create this new column:&lt;/P&gt;&lt;P&gt;if((Ticket=0 or len(Ticket)&amp;lt;1 or isnull(Ticket)),if(peek(person)=person and peek(product)=product,peek(NewTicket),Ticket)) as NewTicket&lt;/P&gt;</description>
      <pubDate>Fri, 06 Dec 2019 03:28:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Enriching-data-with-other-records/m-p/1654828#M730103</guid>
      <dc:creator>Arthur_Fong</dc:creator>
      <dc:date>2019-12-06T03:28:18Z</dc:date>
    </item>
    <item>
      <title>Re: Enriching data with other records</title>
      <link>https://community.qlik.com/t5/QlikView/Enriching-data-with-other-records/m-p/1658203#M730104</link>
      <description>&lt;P&gt;Jim, did Arthur's post help you get a working solution?&amp;nbsp; If so, please do not forget to return to your post here and use the Accept as Solution button on Arthur's post to give him credit and let other Community Members know this worked for you.&amp;nbsp; If you are still working on things, leave an update with what you still need.&lt;/P&gt;
&lt;P&gt;The only other place I could point you that might have something you could use is the Design Blog area of Community:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/bg-p/qlik-design-blog" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/bg-p/qlik-design-blog&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Sorry I do not have anything better for you.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2019 19:35:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Enriching-data-with-other-records/m-p/1658203#M730104</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2019-12-16T19:35:48Z</dc:date>
    </item>
  </channel>
</rss>

