<?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 Variable for Load-Script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Variable-for-Load-Script/m-p/1131835#M1315320</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 have the following problem:&lt;/P&gt;&lt;P&gt;I want to load a table with a date Variable from another table. So I think the script must be something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;Date&lt;/P&gt;&lt;P&gt;from TABLE A;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set vLOADDATE = Date;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;DATE_PRICE,&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;from TABLE B where DATEPRICE = $(vLOADDATE) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I make it like this the vLOADDATE is empty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
    <dc:creator>wunderch</dc:creator>
    <dc:date>2026-01-26T18:19:17Z</dc:date>
    <item>
      <title>Variable for Load-Script</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-for-Load-Script/m-p/1131835#M1315320</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 have the following problem:&lt;/P&gt;&lt;P&gt;I want to load a table with a date Variable from another table. So I think the script must be something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;Date&lt;/P&gt;&lt;P&gt;from TABLE A;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set vLOADDATE = Date;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;DATE_PRICE,&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;from TABLE B where DATEPRICE = $(vLOADDATE) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I make it like this the vLOADDATE is empty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-for-Load-Script/m-p/1131835#M1315320</guid>
      <dc:creator>wunderch</dc:creator>
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: Variable for Load-Script</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-for-Load-Script/m-p/1131836#M1315322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want to assign a single record value of field Date to a variable, you need to use inter record functions like Peek().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, to retrieve the first Date field value in your [Table A] table:&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;LET vLOADDATE = Peek('Date',0,'TABLE A');&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;or to get the last record value:&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-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;LET vLOADDATE = Peek('Date',-1,'TABLE A');&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Depending on the Date format, you would then need to use&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;DATE_PRICE,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;*&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;from TABLE B where DATEPRICE = '$(vLOADDATE)';&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 May 2016 13:54:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-for-Load-Script/m-p/1131836#M1315322</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-05-12T13:54:39Z</dc:date>
    </item>
    <item>
      <title>Re: Variable for Load-Script</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-for-Load-Script/m-p/1131837#M1315326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks! It works&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/cool.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 May 2016 14:33:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-for-Load-Script/m-p/1131837#M1315326</guid>
      <dc:creator>wunderch</dc:creator>
      <dc:date>2016-05-12T14:33:49Z</dc:date>
    </item>
  </channel>
</rss>

