<?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: Load data which is less then today() in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Load-data-which-is-less-then-today/m-p/1540161#M599142</link>
    <description>&lt;P&gt;In the data set there is no date field, have to create a date field using Week column hence used week start date.&amp;nbsp;&lt;/P&gt;&lt;P&gt;removed text also it did not work.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The week is based on this column&amp;nbsp; 'W06-19' create a date and load only those data which is less then or equal to today.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The data set has history, current and future data&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 06 Feb 2019 11:26:20 GMT</pubDate>
    <dc:creator>bushpalaamarnat</dc:creator>
    <dc:date>2019-02-06T11:26:20Z</dc:date>
    <item>
      <title>Load data which is less then today()</title>
      <link>https://community.qlik.com/t5/QlikView/Load-data-which-is-less-then-today/m-p/1540097#M599133</link>
      <description>&lt;P&gt;Hi, could any one help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have been trying this for past 2 weeks now in different way. am trying to create a qvd file based on date, by function week start date.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;let vDateStamp = Text(date(today(), 'DD-MM-YYYY'));&lt;BR /&gt;let vDateStamp2 = Text(WeekStart((today()-46), 'DD-MM-YYYY'));&lt;/P&gt;&lt;P&gt;Weekload:&lt;/P&gt;&lt;P&gt;LOAD *,&lt;BR /&gt;//date(MakeWeekDate((2000+right(Week,2)),mid(Week,2,2),0), 'MM/DD/YYYY')+ 46 as WeekStart_Date2,&lt;BR /&gt;Date#(MakeWeekDate((2000+right(Week,2)),mid(Week,2,2),0), 'DD-MM-YYYY')as WeekStart_Date&lt;BR /&gt;&lt;BR /&gt;FROM&lt;BR /&gt;[\\uk2dsntv001.corpnet2.com\GMS_SCLDesign\Work In Progress\Respiratory\Neelima Bushpala-BPS\Work Package\Inventory Corridor Dashboard\Output QVD\ICR_Load.qvd]&lt;BR /&gt;(qvd)&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;ICRLoad:&lt;BR /&gt;NoConcatenate&lt;BR /&gt;load&lt;BR /&gt;*,&lt;BR /&gt;Text(Date(WeekStart_Date,'DD-MM-YYYY')) as WeekStart&lt;/P&gt;&lt;P&gt;Resident Weekload;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ICR:&lt;BR /&gt;NoConcatenate&lt;BR /&gt;load&lt;BR /&gt;*&lt;BR /&gt;Resident ICRLoad&lt;BR /&gt;Where ("WeekStart" &amp;lt;= $(vDateStamp) )&lt;BR /&gt;and ("WeekStart" &amp;gt;= $(vDateStamp2))&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;STORE ICR into \\uk2dsntv001.corpnet2.com\GMS_SCLDesign\Work In Progress\Respiratory\Neelima Bushpala-BPS\Work Package\Inventory Corridor Dashboard\Output QVD\History.qvd(qvd);&lt;/P&gt;&lt;P&gt;Drop Tables Weekload;&lt;BR /&gt;Drop Tables ICRLoad;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Feb 2019 10:04:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-data-which-is-less-then-today/m-p/1540097#M599133</guid>
      <dc:creator>bushpalaamarnat</dc:creator>
      <dc:date>2019-02-06T10:04:18Z</dc:date>
    </item>
    <item>
      <title>Re: Load data which is less then today()</title>
      <link>https://community.qlik.com/t5/QlikView/Load-data-which-is-less-then-today/m-p/1540108#M599134</link>
      <description>My first concern would be using text(date(...)) both in the LOAD and in the variables. I would skip the text() and only used Date(...) hence you are trying to do numeric comparisons between the field and variables at the end.</description>
      <pubDate>Wed, 06 Feb 2019 10:15:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-data-which-is-less-then-today/m-p/1540108#M599134</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2019-02-06T10:15:54Z</dc:date>
    </item>
    <item>
      <title>Re: Load data which is less then today()</title>
      <link>https://community.qlik.com/t5/QlikView/Load-data-which-is-less-then-today/m-p/1540109#M599135</link>
      <description>remove the text() befoe the dates in the variable as wellas in the week start</description>
      <pubDate>Wed, 06 Feb 2019 10:16:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-data-which-is-less-then-today/m-p/1540109#M599135</guid>
      <dc:creator>pradosh_thakur</dc:creator>
      <dc:date>2019-02-06T10:16:22Z</dc:date>
    </item>
    <item>
      <title>Re: Load data which is less then today()</title>
      <link>https://community.qlik.com/t5/QlikView/Load-data-which-is-less-then-today/m-p/1540111#M599136</link>
      <description>&lt;P&gt;let vDateStamp = date(today(), 'DD-MM-YYYY');&lt;BR /&gt;let vDateStamp2 = WeekStart((today()-46), 'DD-MM-YYYY');&lt;/P&gt;&lt;P&gt;Weekload:&lt;/P&gt;&lt;P&gt;LOAD *,&lt;BR /&gt;//date(MakeWeekDate((2000+right(Week,2)),mid(Week,2,2),0), 'MM/DD/YYYY')+ 46 as WeekStart_Date2,&lt;BR /&gt;Date#(MakeWeekDate((2000+right(Week,2)),mid(Week,2,2),0), 'DD-MM-YYYY')as WeekStart_Date&lt;BR /&gt;&lt;BR /&gt;FROM&lt;BR /&gt;[\\uk2dsntv001.corpnet2.com\GMS_SCLDesign\Work In Progress\Respiratory\Neelima Bushpala-BPS\Work Package\Inventory Corridor Dashboard\Output QVD\ICR_Load.qvd]&lt;BR /&gt;(qvd)&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;ICRLoad:&lt;BR /&gt;NoConcatenate&lt;BR /&gt;load&lt;BR /&gt;*,&lt;BR /&gt;Date(WeekStart_Date,'DD-MM-YYYY') as WeekStart&lt;/P&gt;&lt;P&gt;Resident Weekload;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ICR:&lt;BR /&gt;NoConcatenate&lt;BR /&gt;load&lt;BR /&gt;*&lt;BR /&gt;Resident ICRLoad&lt;BR /&gt;Where ("WeekStart" &amp;lt;= $(vDateStamp) )&lt;BR /&gt;and ("WeekStart" &amp;gt;= $(vDateStamp2))&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;STORE ICR into \\uk2dsntv001.corpnet2.com\GMS_SCLDesign\Work In Progress\Respiratory\Neelima Bushpala-BPS\Work Package\Inventory Corridor Dashboard\Output QVD\History.qvd(qvd);&lt;/P&gt;&lt;P&gt;Drop Tables Weekload;&lt;BR /&gt;Drop Tables ICRLoad;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Feb 2019 10:17:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-data-which-is-less-then-today/m-p/1540111#M599136</guid>
      <dc:creator>pradosh_thakur</dc:creator>
      <dc:date>2019-02-06T10:17:27Z</dc:date>
    </item>
    <item>
      <title>Re: Load data which is less then today()</title>
      <link>https://community.qlik.com/t5/QlikView/Load-data-which-is-less-then-today/m-p/1540156#M599137</link>
      <description>&lt;P&gt;I tried with out text and still nothing is loading&lt;/P&gt;</description>
      <pubDate>Wed, 06 Feb 2019 11:21:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-data-which-is-less-then-today/m-p/1540156#M599137</guid>
      <dc:creator>bushpalaamarnat</dc:creator>
      <dc:date>2019-02-06T11:21:54Z</dc:date>
    </item>
    <item>
      <title>Re: Load data which is less then today()</title>
      <link>https://community.qlik.com/t5/QlikView/Load-data-which-is-less-then-today/m-p/1540159#M599138</link>
      <description>change this and try&lt;BR /&gt;let vDateStamp2 = WeekStart(date(today()-46, 'DD-MM-YYYY'));</description>
      <pubDate>Wed, 06 Feb 2019 11:24:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-data-which-is-less-then-today/m-p/1540159#M599138</guid>
      <dc:creator>pradosh_thakur</dc:creator>
      <dc:date>2019-02-06T11:24:57Z</dc:date>
    </item>
    <item>
      <title>Re: Load data which is less then today()</title>
      <link>https://community.qlik.com/t5/QlikView/Load-data-which-is-less-then-today/m-p/1540160#M599139</link>
      <description>&lt;P&gt;In the data set there is no date field, have to create a date field using Week coloum hence used week start date.&amp;nbsp;&lt;/P&gt;&lt;P&gt;removed text also it did not work.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The week is based on this column&amp;nbsp; W06-19 create a date and load only those data which is less then or equal to today.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The data set has history, current and future data&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Feb 2019 11:25:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-data-which-is-less-then-today/m-p/1540160#M599139</guid>
      <dc:creator>bushpalaamarnat</dc:creator>
      <dc:date>2019-02-06T11:25:05Z</dc:date>
    </item>
    <item>
      <title>Re: Load data which is less then today()</title>
      <link>https://community.qlik.com/t5/QlikView/Load-data-which-is-less-then-today/m-p/1540161#M599142</link>
      <description>&lt;P&gt;In the data set there is no date field, have to create a date field using Week column hence used week start date.&amp;nbsp;&lt;/P&gt;&lt;P&gt;removed text also it did not work.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The week is based on this column&amp;nbsp; 'W06-19' create a date and load only those data which is less then or equal to today.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The data set has history, current and future data&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Feb 2019 11:26:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-data-which-is-less-then-today/m-p/1540161#M599142</guid>
      <dc:creator>bushpalaamarnat</dc:creator>
      <dc:date>2019-02-06T11:26:20Z</dc:date>
    </item>
    <item>
      <title>Re: Load data which is less then today()</title>
      <link>https://community.qlik.com/t5/QlikView/Load-data-which-is-less-then-today/m-p/1540167#M599144</link>
      <description>let vDateStamp2 = WeekStart(date(today()-46, 'DD-MM-YYYY'));&lt;BR /&gt;&lt;BR /&gt;and make sure your date is a date and nut a text. check this bu using num(date) in filter or max(date ) in text box</description>
      <pubDate>Wed, 06 Feb 2019 11:38:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-data-which-is-less-then-today/m-p/1540167#M599144</guid>
      <dc:creator>pradosh_thakur</dc:creator>
      <dc:date>2019-02-06T11:38:00Z</dc:date>
    </item>
    <item>
      <title>Re: Load data which is less then today()</title>
      <link>https://community.qlik.com/t5/QlikView/Load-data-which-is-less-then-today/m-p/1540171#M599145</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="I tired as suggested with let vDateStamp2 =   WeekStart(date(today()-46), 'DD-MM-YYYY');" style="width: 316px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/5290i99FEDC6F173F4D3F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="I tired as suggested with let vDateStamp2 =   WeekStart(date(today()-46), 'DD-MM-YYYY');" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;I tired as suggested with let vDateStamp2 =   WeekStart(date(today()-46), 'DD-MM-YYYY');&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Feb 2019 11:42:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-data-which-is-less-then-today/m-p/1540171#M599145</guid>
      <dc:creator>bushpalaamarnat</dc:creator>
      <dc:date>2019-02-06T11:42:36Z</dc:date>
    </item>
    <item>
      <title>Re: Load data which is less then today()</title>
      <link>https://community.qlik.com/t5/QlikView/Load-data-which-is-less-then-today/m-p/1540175#M599146</link>
      <description>Check in the variable overview what value do you see for vDateStamp2.</description>
      <pubDate>Wed, 06 Feb 2019 11:50:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-data-which-is-less-then-today/m-p/1540175#M599146</guid>
      <dc:creator>pradosh_thakur</dc:creator>
      <dc:date>2019-02-06T11:50:27Z</dc:date>
    </item>
    <item>
      <title>Re: Load data which is less then today()</title>
      <link>https://community.qlik.com/t5/QlikView/Load-data-which-is-less-then-today/m-p/1540829#M599147</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="let vDateStamp =    date#(today()  , 'DD-MM-YYYY'); //let vDateStamp2 =   WeekStart((today()-46), 'DD-MM-YYYY');   Weekload:  LOAD *,  Date#(MakeWeekDate((2000+right(Week,2)),mid(Week,2,2),0), 'DD-MM-YYYY')as WeekStart_Date       FROM [\\uk2dsntv001.corpnet2.com\GMS_SCLDesign\Work In Progress\Respiratory\Neelima Bushpala-BPS\Work Package\Inventory Corridor Dashboard\Output QVD\ICR_Load.qvd] (qvd) ;  ICRLoad: NoConcatenate load  *, WeekStart(date(WeekStart_Date,'DD-MM-YYYY')) as WeekStartdate  Resident Weekload;      ICR: NoConcatenate load * Resident ICRLoad Where  (&amp;quot;WeekStartsate&amp;quot; &amp;lt;= $(vDateStamp) ) //and (&amp;quot;WeekStartdate&amp;quot; &amp;gt;= $(vDateStamp2)) ;  STORE ICR into \\uk2dsntv001.corpnet2.com\GMS_SCLDesign\Work In Progress\Respiratory\Neelima Bushpala-BPS\Work Package\Inventory Corridor Dashboard\Output QVD\History.qvd(qvd);  Drop Tables Weekload; Drop Tables ICRLoad;" style="width: 757px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/5416iDDAABF3C4F6E65BE/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="let vDateStamp =    date#(today()  , 'DD-MM-YYYY'); //let vDateStamp2 =   WeekStart((today()-46), 'DD-MM-YYYY');   Weekload:  LOAD *,  Date#(MakeWeekDate((2000+right(Week,2)),mid(Week,2,2),0), 'DD-MM-YYYY')as WeekStart_Date       FROM [\\uk2dsntv001.corpnet2.com\GMS_SCLDesign\Work In Progress\Respiratory\Neelima Bushpala-BPS\Work Package\Inventory Corridor Dashboard\Output QVD\ICR_Load.qvd] (qvd) ;  ICRLoad: NoConcatenate load  *, WeekStart(date(WeekStart_Date,'DD-MM-YYYY')) as WeekStartdate  Resident Weekload;      ICR: NoConcatenate load * Resident ICRLoad Where  (&amp;quot;WeekStartsate&amp;quot; &amp;lt;= $(vDateStamp) ) //and (&amp;quot;WeekStartdate&amp;quot; &amp;gt;= $(vDateStamp2)) ;  STORE ICR into \\uk2dsntv001.corpnet2.com\GMS_SCLDesign\Work In Progress\Respiratory\Neelima Bushpala-BPS\Work Package\Inventory Corridor Dashboard\Output QVD\History.qvd(qvd);  Drop Tables Weekload; Drop Tables ICRLoad;" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;let vDateStamp =    date#(today()  , 'DD-MM-YYYY'); //let vDateStamp2 =   WeekStart((today()-46), 'DD-MM-YYYY');   Weekload:  LOAD *,  Date#(MakeWeekDate((2000+right(Week,2)),mid(Week,2,2),0), 'DD-MM-YYYY')as WeekStart_Date       FROM [\\uk2dsntv001.corpnet2.com\GMS_SCLDesign\Work In Progress\Respiratory\Neelima Bushpala-BPS\Work Package\Inventory Corridor Dashboard\Output QVD\ICR_Load.qvd] (qvd) ;  ICRLoad: NoConcatenate load  *, WeekStart(date(WeekStart_Date,'DD-MM-YYYY')) as WeekStartdate  Resident Weekload;      ICR: NoConcatenate load * Resident ICRLoad Where  ("WeekStartsate" &amp;lt;= $(vDateStamp) ) //and ("WeekStartdate" &amp;gt;= $(vDateStamp2)) ;  STORE ICR into \\uk2dsntv001.corpnet2.com\GMS_SCLDesign\Work In Progress\Respiratory\Neelima Bushpala-BPS\Work Package\Inventory Corridor Dashboard\Output QVD\History.qvd(qvd);  Drop Tables Weekload; Drop Tables ICRLoad;&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;let vDateStamp = date#(today() , 'DD-MM-YYYY');&lt;BR /&gt;//let vDateStamp2 = WeekStart((today()-46), 'DD-MM-YYYY');&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Weekload:&lt;/P&gt;&lt;P&gt;LOAD *,&lt;/P&gt;&lt;P&gt;Date#(MakeWeekDate((2000+right(Week,2)),mid(Week,2,2),0), 'DD-MM-YYYY')as WeekStart_Date&lt;BR /&gt;&lt;BR /&gt;FROM&lt;BR /&gt;[\\uk2dsntv001.corpnet2.com\GMS_SCLDesign\Work In Progress\Respiratory\Neelima Bushpala-BPS\Work Package\Inventory Corridor Dashboard\Output QVD\ICR_Load.qvd]&lt;BR /&gt;(qvd)&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;ICRLoad:&lt;BR /&gt;NoConcatenate&lt;BR /&gt;load&lt;BR /&gt;*,&lt;BR /&gt;WeekStart(date(WeekStart_Date,'DD-MM-YYYY')) as WeekStartdate&lt;/P&gt;&lt;P&gt;Resident Weekload;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ICR:&lt;BR /&gt;NoConcatenate&lt;BR /&gt;load&lt;BR /&gt;*&lt;BR /&gt;Resident ICRLoad&lt;BR /&gt;Where ("WeekStartsate" &amp;lt;= $(vDateStamp) )&lt;BR /&gt;//and ("WeekStartdate" &amp;gt;= $(vDateStamp2))&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;STORE ICR into \\uk2dsntv001.corpnet2.com\GMS_SCLDesign\Work In Progress\Respiratory\Neelima Bushpala-BPS\Work Package\Inventory Corridor Dashboard\Output QVD\History.qvd(qvd);&lt;/P&gt;&lt;P&gt;Drop Tables Weekload;&lt;BR /&gt;Drop Tables ICRLoad;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Feb 2019 11:20:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-data-which-is-less-then-today/m-p/1540829#M599147</guid>
      <dc:creator>bushpalaamarnat</dc:creator>
      <dc:date>2019-02-07T11:20:02Z</dc:date>
    </item>
  </channel>
</rss>

