<?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: lookup in load from qvd return no value in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/lookup-in-load-from-qvd-return-no-value/m-p/445266#M700375</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;I've actually never used the lookup function, but in the case your talking about I'd probably use an ApplyMap Function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Create a Map table&lt;/P&gt;&lt;P&gt;CAL_MAP:&lt;/P&gt;&lt;P&gt;MAPPING LOAD Date([DateTran]) as DateKey, San_Mth_Yr FROM U:\...... (your excel file);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. In your main table load statement replace the lookup function with&lt;/P&gt;&lt;P&gt;ApplyMap('CAL_MAP',invoiceDate,0) AS dd&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That should do it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nigel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Oct 2012 15:50:08 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-10-23T15:50:08Z</dc:date>
    <item>
      <title>lookup in load from qvd return no value</title>
      <link>https://community.qlik.com/t5/QlikView/lookup-in-load-from-qvd-return-no-value/m-p/445265#M700374</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;I would really appreciate help with this issue. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am loading information from a QVD and in the load statement i use a lookup function to pull a field out of a custom calendar that i created in excel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The senario is that the client has financial periods that are not calendar period for instance 31/01/2012 will normally be in the year month of 201201 but in this financial customer calendar i added an extra field and created a new year month field where this date will fall under 201202.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the field i want to pull into my fact table(QVD) the dates are matching but does not pull any value through for this custom year month when i use datekey and invoicedate. I tried to use the datekey that is the actual link to the calendar table but it gives me an error when i do a rebuild "field not found &amp;lt;datekey&amp;gt; so presume that you cant use the "as fieldname" . That is why i use the invoice date instead with no luck, it rebuilds but with no returning data in the san_nummonthyear field. For information my calendar table is the first table that build then my transaction table - fact&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="23932" class="jive-image-thumbnail jive-image" onclick="" alt="dddddd.png" src="https://community.qlik.com/legacyfs/online/23932_dddddd.png" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="23933" class="jive-image-thumbnail jive-image" onclick="" alt="eeee.png" src="https://community.qlik.com/legacyfs/online/23933_eeee.png" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank so much&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgrds&lt;/P&gt;&lt;P&gt;Louw&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2012 15:43:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/lookup-in-load-from-qvd-return-no-value/m-p/445265#M700374</guid>
      <dc:creator>louwriet</dc:creator>
      <dc:date>2012-10-23T15:43:01Z</dc:date>
    </item>
    <item>
      <title>Re: lookup in load from qvd return no value</title>
      <link>https://community.qlik.com/t5/QlikView/lookup-in-load-from-qvd-return-no-value/m-p/445266#M700375</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;I've actually never used the lookup function, but in the case your talking about I'd probably use an ApplyMap Function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Create a Map table&lt;/P&gt;&lt;P&gt;CAL_MAP:&lt;/P&gt;&lt;P&gt;MAPPING LOAD Date([DateTran]) as DateKey, San_Mth_Yr FROM U:\...... (your excel file);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. In your main table load statement replace the lookup function with&lt;/P&gt;&lt;P&gt;ApplyMap('CAL_MAP',invoiceDate,0) AS dd&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That should do it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nigel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2012 15:50:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/lookup-in-load-from-qvd-return-no-value/m-p/445266#M700375</guid>
      <dc:creator />
      <dc:date>2012-10-23T15:50:08Z</dc:date>
    </item>
  </channel>
</rss>

