<?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: loading data in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/loading-data/m-p/1039933#M944119</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;maybe like this:&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_14521163018599940" jivemacro_uid="_14521163018599940"&gt;
&lt;P&gt;LOAD * From filename_*.qvd (qvd)&lt;/P&gt;
&lt;P&gt;Where Date#(Mid(FileBaseName(),10,8),'YYYYMMDD') &amp;gt;= MakeDate(2015,8) and &lt;SPAN style="font-size: 13.3333px;"&gt;Date#(Mid(FileBaseName(),10,8),'YYYYMMDD') &amp;lt;= MakeDate(2016,1,31)&lt;/SPAN&gt;&lt;/P&gt;
&lt;/PRE&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>Wed, 06 Jan 2016 21:37:59 GMT</pubDate>
    <dc:creator>MarcoWedel</dc:creator>
    <dc:date>2016-01-06T21:37:59Z</dc:date>
    <item>
      <title>loading data</title>
      <link>https://community.qlik.com/t5/QlikView/loading-data/m-p/1039926#M944112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, I am trying to load the data from a file but i don't understand how to do it.&amp;nbsp; I have files named as &lt;/P&gt;&lt;P&gt;filename _year_month_date.qvd. now I have to load all the data from august 2015 to jan 2016. I dont understand how to apply conditions on it. please help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jan 2016 19:54:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/loading-data/m-p/1039926#M944112</guid>
      <dc:creator />
      <dc:date>2016-01-06T19:54:06Z</dc:date>
    </item>
    <item>
      <title>Re: loading data</title>
      <link>https://community.qlik.com/t5/QlikView/loading-data/m-p/1039927#M944113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That depends on your data type. A simply reload would be like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dates:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date&lt;/P&gt;&lt;P&gt;From&lt;/P&gt;&lt;P&gt;_year_month_date.qvd (qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where the first line "Dates" is the name wich will recive your table on qlikview.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you need to make a condition to load the table, you need to use "where" sentence and here is where it depends on your data type, for example:&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Dates:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Load&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;From&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;_year_month_date.qvd (qvd)&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;where Year &amp;gt;=2011 and Year &amp;lt;=2015&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px; line-height: 1.5em;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in this load you'll recive only data from 2011 to 2015 excludin all other data. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;another example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Dates:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Load&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;From&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;_year_month_date.qvd (qvd)&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;where wildmatch(Month,1,2,3,4,5) and year = 2016&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P&gt;in this load you'll recive only data of year 2016 only month 1 to 5. excludin all other data. (depends on what kind of data you have on Month, it coul be text ('jan',feb,mar) or numbers(1,2,3,4).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ricardo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jan 2016 20:19:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/loading-data/m-p/1039927#M944113</guid>
      <dc:creator>rikrdodata</dc:creator>
      <dc:date>2016-01-06T20:19:08Z</dc:date>
    </item>
    <item>
      <title>Re: loading data</title>
      <link>https://community.qlik.com/t5/QlikView/loading-data/m-p/1039928#M944114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;filename&lt;/EM&gt;_&lt;EM&gt;year&lt;/EM&gt;_&lt;EM&gt;month&lt;/EM&gt;_&lt;EM&gt;date&lt;/EM&gt;.qvd&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What exactly are the values for filename and date? Do they change randomly? Can filename have underscore characters as well?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jan 2016 20:37:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/loading-data/m-p/1039928#M944114</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2016-01-06T20:37:44Z</dc:date>
    </item>
    <item>
      <title>Re: loading data</title>
      <link>https://community.qlik.com/t5/QlikView/loading-data/m-p/1039929#M944115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I understand the question you can use wildcard to load many files with a single load&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is from Qlik Help&lt;/P&gt;&lt;P&gt;&lt;EM&gt;The &lt;SPAN class="Italic"&gt;filename&lt;/SPAN&gt; may contain the standard DOS wildcard characters ( * and ? ). This will cause all the matching files in the specified directory to be loaded. &lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jan 2016 20:40:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/loading-data/m-p/1039929#M944115</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2016-01-06T20:40:28Z</dc:date>
    </item>
    <item>
      <title>Re: loading data</title>
      <link>https://community.qlik.com/t5/QlikView/loading-data/m-p/1039930#M944116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The technique you can use will be something like (in pseudocode):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Set StartDate and EndDate&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Set CurrentDate = StartDate&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;DO WHILE CurrentDate &amp;lt;= EndDate&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp; Set CurrentYear = Year(CurrentDate)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp; Set CurrentMonthName =Date(CurrentDate, 'MMM')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp; MyTable:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp; LOAD *&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp; FROM [$(FilePath)\*_$(CurrentYear)_$(CurrentMonthName)_*.qvd] (qvd);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp; Set CurrentDate = AddMonths(CurrentDate, 1);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LOOP&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You'll have to add a test for existence if some files may be missing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jan 2016 20:46:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/loading-data/m-p/1039930#M944116</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2016-01-06T20:46:23Z</dc:date>
    </item>
    <item>
      <title>Re: loading data</title>
      <link>https://community.qlik.com/t5/QlikView/loading-data/m-p/1039931#M944117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;filename_201512307301.qvd &lt;/P&gt;&lt;P&gt;where 2015 12 30 represents the day.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now if I put a 201* it gives all the data from 2010 to 2016&lt;/P&gt;&lt;P&gt;if i put 2015* so it gives data for 2015&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but what I want is data after july 2015 to jan 2016.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jan 2016 20:49:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/loading-data/m-p/1039931#M944117</guid>
      <dc:creator />
      <dc:date>2016-01-06T20:49:25Z</dc:date>
    </item>
    <item>
      <title>Re: loading data</title>
      <link>https://community.qlik.com/t5/QlikView/loading-data/m-p/1039932#M944118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;for y=2015 to 2016&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; for m=1 to 12&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if ( $(y)=2015 and $(m)&amp;gt;7 or $(y)=2016 and m&amp;lt;2) then &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; let file = 'filename_$(y)' &amp;amp; num($(m), '00') &amp;amp; '*.qvd';&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; trace $(file);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DATA:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; load * from [$(file)] (qvd);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; endif;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; next&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;next&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jan 2016 21:34:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/loading-data/m-p/1039932#M944118</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2016-01-06T21:34:54Z</dc:date>
    </item>
    <item>
      <title>Re: loading data</title>
      <link>https://community.qlik.com/t5/QlikView/loading-data/m-p/1039933#M944119</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;maybe like this:&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_14521163018599940" jivemacro_uid="_14521163018599940"&gt;
&lt;P&gt;LOAD * From filename_*.qvd (qvd)&lt;/P&gt;
&lt;P&gt;Where Date#(Mid(FileBaseName(),10,8),'YYYYMMDD') &amp;gt;= MakeDate(2015,8) and &lt;SPAN style="font-size: 13.3333px;"&gt;Date#(Mid(FileBaseName(),10,8),'YYYYMMDD') &amp;lt;= MakeDate(2016,1,31)&lt;/SPAN&gt;&lt;/P&gt;
&lt;/PRE&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>Wed, 06 Jan 2016 21:37:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/loading-data/m-p/1039933#M944119</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2016-01-06T21:37:59Z</dc:date>
    </item>
  </channel>
</rss>

