<?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 Load Dates in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Load-Dates/m-p/358050#M132885</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I had connected QlikView in our ERP System and I need to extract periods like May-2011.qvd And Jun-2011.qvd (into 2 qvds) Automatically. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let xPeriodo = date(today()+(day(today())-14));&lt;BR /&gt;let xxPeriodo = date(MonthStart(today(),-13));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;P&gt;TABLE1:&lt;BR /&gt;LOAD&lt;BR /&gt; Year(Date#(PERIOD_NAME,'MMM-YYYY'))&amp;amp;&lt;BR /&gt; num(Month(Date#(PERIOD_NAME,'MMM-YYYY')),'00')&amp;amp;&lt;BR /&gt; PERIOD_NAME,&lt;BR /&gt; Year(Date#(PERIOD_NAME,'MMM-YYYY'))&amp;nbsp;&amp;nbsp;&amp;nbsp; As Año, &lt;BR /&gt; Month(Date#(PERIOD_NAME,'MMM-YYYY'))&amp;nbsp;&amp;nbsp; As Mes, &lt;BR /&gt; MonthName(Date#(PERIOD_NAME,'MMM-YYYY'))&amp;nbsp; As Periodo, &lt;BR /&gt; Year(Date#(PERIOD_NAME,'MMM-YYYY'))&amp;amp;&lt;BR /&gt; num(Month(Date#(PERIOD_NAME,'MMM-YYYY')),'00') As PeriodoNum,&lt;BR /&gt; SALDO; &lt;BR /&gt;SQL &lt;BR /&gt;From&lt;BR /&gt; XXSOCD_GL_SALDOS_APERTURA sa,&lt;BR /&gt; XXSOCD_GL_COMBINACIONES_CONT co&lt;BR /&gt;where&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; (PERIOD_NAME)&amp;gt;= '$(xxPeriodo)' and (PERIOD_NAME)&amp;lt;= '$(xPeriodo)' And&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; //(sa.PERIOD_NAME)&amp;gt;= ('$(xxPeriodo)') and (sa.PERIOD_NAME)&amp;lt;= ('$(xPeriodo)') And&lt;BR /&gt; //date(sa.PERIOD_NAME)&amp;gt;=date('$(xxPeriodo)') and date(sa.PERIOD_NAME)&amp;lt;=date('$(xPeriodo)') And&lt;BR /&gt; //sa.PERIOD_NAME = '$(xxPeriodo) And'&lt;BR /&gt; ID; &lt;BR /&gt; &lt;/P&gt;&lt;P&gt;Store TABLE1 Into $(PathPruebasGL)TABLE1$(xPeriodo).qvd;&lt;BR /&gt;Store TABLE1 Into $(PathPruebasGL)TABLE1$(xxPeriodo).qvd;&lt;BR /&gt;Drop Table A;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error that QV thrown me is Failed Script. Is this possible to do in QlikView?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Jun 2012 18:11:49 GMT</pubDate>
    <dc:creator>pgalvezt</dc:creator>
    <dc:date>2012-06-18T18:11:49Z</dc:date>
    <item>
      <title>Load Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Load-Dates/m-p/358050#M132885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I had connected QlikView in our ERP System and I need to extract periods like May-2011.qvd And Jun-2011.qvd (into 2 qvds) Automatically. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let xPeriodo = date(today()+(day(today())-14));&lt;BR /&gt;let xxPeriodo = date(MonthStart(today(),-13));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;P&gt;TABLE1:&lt;BR /&gt;LOAD&lt;BR /&gt; Year(Date#(PERIOD_NAME,'MMM-YYYY'))&amp;amp;&lt;BR /&gt; num(Month(Date#(PERIOD_NAME,'MMM-YYYY')),'00')&amp;amp;&lt;BR /&gt; PERIOD_NAME,&lt;BR /&gt; Year(Date#(PERIOD_NAME,'MMM-YYYY'))&amp;nbsp;&amp;nbsp;&amp;nbsp; As Año, &lt;BR /&gt; Month(Date#(PERIOD_NAME,'MMM-YYYY'))&amp;nbsp;&amp;nbsp; As Mes, &lt;BR /&gt; MonthName(Date#(PERIOD_NAME,'MMM-YYYY'))&amp;nbsp; As Periodo, &lt;BR /&gt; Year(Date#(PERIOD_NAME,'MMM-YYYY'))&amp;amp;&lt;BR /&gt; num(Month(Date#(PERIOD_NAME,'MMM-YYYY')),'00') As PeriodoNum,&lt;BR /&gt; SALDO; &lt;BR /&gt;SQL &lt;BR /&gt;From&lt;BR /&gt; XXSOCD_GL_SALDOS_APERTURA sa,&lt;BR /&gt; XXSOCD_GL_COMBINACIONES_CONT co&lt;BR /&gt;where&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; (PERIOD_NAME)&amp;gt;= '$(xxPeriodo)' and (PERIOD_NAME)&amp;lt;= '$(xPeriodo)' And&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; //(sa.PERIOD_NAME)&amp;gt;= ('$(xxPeriodo)') and (sa.PERIOD_NAME)&amp;lt;= ('$(xPeriodo)') And&lt;BR /&gt; //date(sa.PERIOD_NAME)&amp;gt;=date('$(xxPeriodo)') and date(sa.PERIOD_NAME)&amp;lt;=date('$(xPeriodo)') And&lt;BR /&gt; //sa.PERIOD_NAME = '$(xxPeriodo) And'&lt;BR /&gt; ID; &lt;BR /&gt; &lt;/P&gt;&lt;P&gt;Store TABLE1 Into $(PathPruebasGL)TABLE1$(xPeriodo).qvd;&lt;BR /&gt;Store TABLE1 Into $(PathPruebasGL)TABLE1$(xxPeriodo).qvd;&lt;BR /&gt;Drop Table A;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error that QV thrown me is Failed Script. Is this possible to do in QlikView?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jun 2012 18:11:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-Dates/m-p/358050#M132885</guid>
      <dc:creator>pgalvezt</dc:creator>
      <dc:date>2012-06-18T18:11:49Z</dc:date>
    </item>
    <item>
      <title>Re: Load Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Load-Dates/m-p/358051#M132886</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;where is the Select sentence?? SQL Select * From.....&lt;/P&gt;&lt;P&gt;What is the format of PERIOD_NAME ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;SQL &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;From&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;XXSOCD_GL_SALDOS_APERTURA sa,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;XXSOCD_GL_COMBINACIONES_CONT co&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;where&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jun 2012 18:25:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-Dates/m-p/358051#M132886</guid>
      <dc:creator>chematos</dc:creator>
      <dc:date>2012-06-18T18:25:22Z</dc:date>
    </item>
    <item>
      <title>Re: Load Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Load-Dates/m-p/358052#M132887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG style="font-size: 8pt;"&gt;SQL &lt;BR /&gt;select &lt;BR /&gt;sa.*,&lt;BR /&gt;ID, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; The format is: &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN id="mce_marker"&gt;&lt;SPAN id="mce_marker"&gt;num(Month(Date#(PERIOD_NAME,'MMM-YYYY')),'00')&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #008000; font-size: 8pt;"&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #008000; font-size: 8pt;"&gt;&lt;STRONG style=": ; color: #008000; font-size: 8pt;"&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #008000; font-size: 8pt;"&gt;&lt;SPAN&gt;&lt;SPAN&gt;﻿&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jun 2012 18:41:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-Dates/m-p/358052#M132887</guid>
      <dc:creator>pgalvezt</dc:creator>
      <dc:date>2012-06-18T18:41:26Z</dc:date>
    </item>
    <item>
      <title>Re: Load Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Load-Dates/m-p/358053#M132888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I put &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;&amp;nbsp; &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Let xPeriodo&amp;nbsp; = 'JUN-2011';&lt;/P&gt;&lt;P&gt;Let xxPeriodo = 'MAY-2011';&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just Jun is loaded. But not May. Is there any way to extract in the same time those 2 datatimes?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #808080; font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jun 2012 19:33:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-Dates/m-p/358053#M132888</guid>
      <dc:creator>pgalvezt</dc:creator>
      <dc:date>2012-06-18T19:33:12Z</dc:date>
    </item>
    <item>
      <title>Re: Load Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Load-Dates/m-p/358054#M132889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Must be a sql error, because the Load sentence of QV only get the data that is read from the SQL, so if there is no data of May is because is not bringing from SQL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you run your SQL sentence on your database system with that periods as conditions?&lt;/P&gt;&lt;P&gt;Is working fine?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the load sentece, I recommend you to read all the information and after that, create both tables with where conditions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jun-11:&lt;/P&gt;&lt;P&gt;Load *,&lt;/P&gt;&lt;P&gt;resident TABLE1&lt;/P&gt;&lt;P&gt;where PeriodNum = 06;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is a static option for testing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jun 2012 19:42:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-Dates/m-p/358054#M132889</guid>
      <dc:creator>chematos</dc:creator>
      <dc:date>2012-06-18T19:42:13Z</dc:date>
    </item>
    <item>
      <title>Re: Load Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Load-Dates/m-p/358055#M132890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for you reply,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have checked the 2 months load one bye one and every month has information. The thing is I can´t read all the information because is too much. The server is going to collapse if I do that. If anyone know the way to extract this 2 months no matters how I will thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jun 2012 20:09:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-Dates/m-p/358055#M132890</guid>
      <dc:creator>pgalvezt</dc:creator>
      <dc:date>2012-06-18T20:09:22Z</dc:date>
    </item>
    <item>
      <title>Re: Load Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Load-Dates/m-p/358056#M132891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why don´t you make two charges?? One for each month, so you don´t collapse the server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;let xPeriodo = date(today()+(day(today())-14));&lt;BR /&gt;let xxPeriodo = date(MonthStart(today(),-13));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;TABLE1:&lt;BR /&gt;LOAD&lt;BR /&gt;...,&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;...,&lt;BR /&gt;SALDO; &lt;BR /&gt;SQL &lt;BR /&gt;From&lt;BR /&gt;XXSOCD_GL_SALDOS_APERTURA sa,&lt;BR /&gt;XXSOCD_GL_COMBINACIONES_CONT co&lt;BR /&gt;where&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; (PERIOD_NAME)= '$(xxPeriodo)' &lt;BR /&gt;&amp;nbsp;&amp;nbsp; ...; &lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;Store TABLE1 Into $(PathPruebasGL)TABLE1$(xxPeriodo).qvd;&lt;BR /&gt;Drop Table A;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;TABLE2:&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;NoConcatenate&lt;BR /&gt;LOAD&lt;BR /&gt;...,&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;...,&lt;BR /&gt;SALDO; &lt;BR /&gt;SQL &lt;BR /&gt;From&lt;BR /&gt;XXSOCD_GL_SALDOS_APERTURA sa,&lt;BR /&gt;XXSOCD_GL_COMBINACIONES_CONT co&lt;BR /&gt;where&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; (PERIOD_NAME)= '$(xPeriodo)' &lt;BR /&gt;&amp;nbsp;&amp;nbsp; ...; &lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;Store TABLE1 Into $(PathPruebasGL)TABLE1$(xPeriodo).qvd;&lt;BR /&gt;Drop Table A;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;Store TABLE2 Into $(PathPruebasGL)TABLE2$(xPeriodo).qvd;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jun 2012 20:13:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-Dates/m-p/358056#M132891</guid>
      <dc:creator>chematos</dc:creator>
      <dc:date>2012-06-18T20:13:46Z</dc:date>
    </item>
    <item>
      <title>Re: Load Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Load-Dates/m-p/358057#M132892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Many Thanks...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2012 15:28:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-Dates/m-p/358057#M132892</guid>
      <dc:creator>pgalvezt</dc:creator>
      <dc:date>2012-06-19T15:28:30Z</dc:date>
    </item>
  </channel>
</rss>

