<?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 Is it possible to evaluate expressions in LOAD INLINE Expressions ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Is-it-possible-to-evaluate-expressions-in-LOAD-INLINE/m-p/153208#M715897</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;An inline table is just a data source like any other, so you can perform manipulations on it like any other:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;LOAD&lt;BR /&gt; date(date#("Date",'YYYY/MM/DD'),'MM/DD/YY') as "Date"&lt;BR /&gt;,date("Date"+1) as "The Next Day"&lt;BR /&gt;,month("Date") as "Month"&lt;BR /&gt;,now() as "Now"&lt;BR /&gt;INLINE [&lt;BR /&gt;Date&lt;BR /&gt;2009/01/25&lt;BR /&gt;2009/07/18&lt;BR /&gt;];&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Nov 2009 02:19:54 GMT</pubDate>
    <dc:creator>johnw</dc:creator>
    <dc:date>2009-11-17T02:19:54Z</dc:date>
    <item>
      <title>Is it possible to evaluate expressions in LOAD INLINE Expressions ?</title>
      <link>https://community.qlik.com/t5/QlikView/Is-it-possible-to-evaluate-expressions-in-LOAD-INLINE/m-p/153206#M715895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I've several big table loads in one of my QlikView. And I would like to store the date of the end of each table loading. I thought the Load Inline command was the easiest way to do it, but I don't know how to evaluate date functions : for example the now() function is not evaluated. So I only have the string now() in my table (while I'm trying to get time :)).&lt;/P&gt;&lt;P&gt;Is someone know how to do this or have any workaround ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regard&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Nov 2009 20:13:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-it-possible-to-evaluate-expressions-in-LOAD-INLINE/m-p/153206#M715895</guid>
      <dc:creator />
      <dc:date>2009-11-16T20:13:04Z</dc:date>
    </item>
    <item>
      <title>Is it possible to evaluate expressions in LOAD INLINE Expressions ?</title>
      <link>https://community.qlik.com/t5/QlikView/Is-it-possible-to-evaluate-expressions-in-LOAD-INLINE/m-p/153207#M715896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bertrand,&lt;/P&gt;&lt;P&gt;I've done the same thing using following code on edit script code and put the start and end date in the variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;MinMaxDates:&lt;BR /&gt;load&lt;BR /&gt; minstring(LoadDate_table1) as StartDate,&lt;BR /&gt; maxstring(LoadDate_table1) as EndDate&lt;BR /&gt;resident table1&lt;BR /&gt;//order by LoadDate_table1ASC&lt;BR /&gt;;&lt;BR /&gt;// now get the values...&lt;BR /&gt;let EndDate = peek('EndDate',0) ;&lt;BR /&gt;let StartDate = peek('StartDate',0) ;&lt;BR /&gt;let EndDay= day(peek('EndDate',0)) ;&lt;BR /&gt;let StartDay= day(peek('StartDate',0)) ;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;// then clean up...&lt;BR /&gt;drop table MinMaxDates ;&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Shumail Hussain&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Nov 2009 20:42:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-it-possible-to-evaluate-expressions-in-LOAD-INLINE/m-p/153207#M715896</guid>
      <dc:creator>shumailh</dc:creator>
      <dc:date>2009-11-16T20:42:05Z</dc:date>
    </item>
    <item>
      <title>Is it possible to evaluate expressions in LOAD INLINE Expressions ?</title>
      <link>https://community.qlik.com/t5/QlikView/Is-it-possible-to-evaluate-expressions-in-LOAD-INLINE/m-p/153208#M715897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;An inline table is just a data source like any other, so you can perform manipulations on it like any other:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;LOAD&lt;BR /&gt; date(date#("Date",'YYYY/MM/DD'),'MM/DD/YY') as "Date"&lt;BR /&gt;,date("Date"+1) as "The Next Day"&lt;BR /&gt;,month("Date") as "Month"&lt;BR /&gt;,now() as "Now"&lt;BR /&gt;INLINE [&lt;BR /&gt;Date&lt;BR /&gt;2009/01/25&lt;BR /&gt;2009/07/18&lt;BR /&gt;];&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Nov 2009 02:19:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-it-possible-to-evaluate-expressions-in-LOAD-INLINE/m-p/153208#M715897</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2009-11-17T02:19:54Z</dc:date>
    </item>
    <item>
      <title>Is it possible to evaluate expressions in LOAD INLINE Expressions ?</title>
      <link>https://community.qlik.com/t5/QlikView/Is-it-possible-to-evaluate-expressions-in-LOAD-INLINE/m-p/153209#M715898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The way to load a function value without data, like to record the current time, is with AUTOGENERATE. For example:&lt;/P&gt;&lt;P&gt;LOAD now() as LoadTime AUTOGENERATE 1;&lt;/P&gt;&lt;P&gt;Is that what you need?&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Nov 2009 09:55:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-it-possible-to-evaluate-expressions-in-LOAD-INLINE/m-p/153209#M715898</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2009-11-17T09:55:36Z</dc:date>
    </item>
    <item>
      <title>Is it possible to evaluate expressions in LOAD INLINE Expressions ?</title>
      <link>https://community.qlik.com/t5/QlikView/Is-it-possible-to-evaluate-expressions-in-LOAD-INLINE/m-p/153210#M715899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, I though you were looking for startdate and enddate of any field.&lt;/P&gt;&lt;P&gt;I also experience the same problem earlier and ended up with the below code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;for each File in filelist ('$(path)$(CurrentFileName)')&lt;BR /&gt;LOAD * FROM [$(path)$(CurrentFileName)] (ansi, fix, no labels, header is line, record is 2 lines);&lt;BR /&gt;load&lt;BR /&gt; '$(File)' as FileName&lt;BR /&gt; , FileTime( '$(File)' ) as FileTime&lt;BR /&gt; , FileSize( '$(File)' ) as Size&lt;BR /&gt; autogenerate(1)&lt;BR /&gt;;&lt;BR /&gt;next File ;&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Nov 2009 13:26:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-it-possible-to-evaluate-expressions-in-LOAD-INLINE/m-p/153210#M715899</guid>
      <dc:creator>shumailh</dc:creator>
      <dc:date>2009-11-17T13:26:55Z</dc:date>
    </item>
    <item>
      <title>Is it possible to evaluate expressions in LOAD INLINE Expressions ?</title>
      <link>https://community.qlik.com/t5/QlikView/Is-it-possible-to-evaluate-expressions-in-LOAD-INLINE/m-p/153211#M715900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks all for your answers,&lt;BR /&gt;I think I can deal with it now &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Nov 2009 19:54:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-it-possible-to-evaluate-expressions-in-LOAD-INLINE/m-p/153211#M715900</guid>
      <dc:creator />
      <dc:date>2009-11-17T19:54:19Z</dc:date>
    </item>
  </channel>
</rss>

