<?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: How to load qvd data based on excel field start date an end date field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-load-qvd-data-based-on-excel-field-start-date-an-end-date/m-p/1671244#M449444</link>
    <description>&lt;P&gt;can you share an example ?&lt;/P&gt;</description>
    <pubDate>Fri, 31 Jan 2020 10:57:03 GMT</pubDate>
    <dc:creator>Taoufiq_Zarra</dc:creator>
    <dc:date>2020-01-31T10:57:03Z</dc:date>
    <item>
      <title>How to load qvd data based on excel field start date an end date field</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-load-qvd-data-based-on-excel-field-start-date-an-end-date/m-p/1671211#M449443</link>
      <description>&lt;P&gt;i need to load qvd file based on date interval available in excel&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 01:22:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-load-qvd-data-based-on-excel-field-start-date-an-end-date/m-p/1671211#M449443</guid>
      <dc:creator>durga_bi13</dc:creator>
      <dc:date>2024-11-16T01:22:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to load qvd data based on excel field start date an end date field</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-load-qvd-data-based-on-excel-field-start-date-an-end-date/m-p/1671244#M449444</link>
      <description>&lt;P&gt;can you share an example ?&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jan 2020 10:57:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-load-qvd-data-based-on-excel-field-start-date-an-end-date/m-p/1671244#M449444</guid>
      <dc:creator>Taoufiq_Zarra</dc:creator>
      <dc:date>2020-01-31T10:57:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to load qvd data based on excel field start date an end date field</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-load-qvd-data-based-on-excel-field-start-date-an-end-date/m-p/1671252#M449446</link>
      <description>&lt;P&gt;i have one qvd file with product number,name,sales date&amp;nbsp;&lt;/P&gt;&lt;P&gt;and another excel sheet with start date and end date and product number.&lt;/P&gt;&lt;P&gt;now i want to load only data of qvd file with salesdata in between of start date and end date of excel sheet&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jan 2020 11:11:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-load-qvd-data-based-on-excel-field-start-date-an-end-date/m-p/1671252#M449446</guid>
      <dc:creator>durga_bi13</dc:creator>
      <dc:date>2020-01-31T11:11:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to load qvd data based on excel field start date an end date field</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-load-qvd-data-based-on-excel-field-start-date-an-end-date/m-p/1671280#M449447</link>
      <description>&lt;P&gt;attached :&lt;/P&gt;&lt;P&gt;QVD file -&amp;gt;product number,name,sales date&amp;nbsp;&lt;/P&gt;&lt;P&gt;Excel -&amp;gt;start date and end date and product number&lt;/P&gt;&lt;P&gt;Qlikview file -&amp;gt;oad only data of qvd file with salesdata in between of start date and end date of excel sheet&lt;/P&gt;&lt;LI-CODE lang="python"&gt;StartEnd:
LOAD [product number] as Pn, 
     Date([start date])as Sd, 
     Date([end date])as Ed
     
FROM
.\qlik_1671252.xlsx
(ooxml, embedded labels, table is Feuil1);



FOR i = 0 to NoOfRows('StartEnd')-1

LET Startdate = Date(peek('Sd', $(i), 'StartEnd'));

LET Enddate= Date(peek('Ed', $(i), 'StartEnd'));

LET ProductNumber= peek('Pn', $(i), 'StartEnd');


Data: 

LOAD [product number], 
     name, 
     Date([sales date]) as [sales date]
FROM
.\qvd_1671252.qvd (qvd)
where [product number]='$(ProductNumber)' and [sales date]&amp;gt;='$(Startdate)' and [sales date]&amp;lt;='$(Enddate)';


NEXT i


drop table StartEnd;&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 31 Jan 2020 12:17:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-load-qvd-data-based-on-excel-field-start-date-an-end-date/m-p/1671280#M449447</guid>
      <dc:creator>Taoufiq_Zarra</dc:creator>
      <dc:date>2020-01-31T12:17:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to load qvd data based on excel field start date an end date field</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-load-qvd-data-based-on-excel-field-start-date-an-end-date/m-p/1671281#M449448</link>
      <description />
      <pubDate>Fri, 31 Jan 2020 12:18:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-load-qvd-data-based-on-excel-field-start-date-an-end-date/m-p/1671281#M449448</guid>
      <dc:creator>Taoufiq_Zarra</dc:creator>
      <dc:date>2020-01-31T12:18:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to load qvd data based on excel field start date an end date field</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-load-qvd-data-based-on-excel-field-start-date-an-end-date/m-p/1675666#M449748</link>
      <description>&lt;P&gt;Thank you. but because of for loop it takes more time to load&lt;/P&gt;</description>
      <pubDate>Fri, 14 Feb 2020 07:28:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-load-qvd-data-based-on-excel-field-start-date-an-end-date/m-p/1675666#M449748</guid>
      <dc:creator>durga_bi13</dc:creator>
      <dc:date>2020-02-14T07:28:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to load qvd data based on excel field start date an end date field</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-load-qvd-data-based-on-excel-field-start-date-an-end-date/m-p/1675672#M449750</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;use like this,&lt;/P&gt;&lt;P&gt;DateFilter:&lt;BR /&gt;Load [product number]&amp;amp;Num(Date) as Date_Filter;&lt;BR /&gt;LOAD [product number],&lt;BR /&gt;IterNo() as Day,&lt;BR /&gt;Date( [start date] + IterNo() - 1 ) as Date&lt;BR /&gt;While [start date] + IterNo() - 1 &amp;lt;= [end date];&lt;BR /&gt;LOAD [product number],&lt;BR /&gt;Date([start date]),&lt;BR /&gt;Date([end date])&lt;BR /&gt;FROM&lt;BR /&gt;.\qlik_1671252.xlsx&lt;BR /&gt;(ooxml, embedded labels, table is Feuil1);&lt;/P&gt;&lt;P&gt;Data:&lt;BR /&gt;LOAD [product number],&lt;BR /&gt;name,&lt;BR /&gt;Date([sales date]) as [sales date]&lt;BR /&gt;FROM&lt;BR /&gt;.\qvd_1671252.qvd (qvd)&lt;BR /&gt;where Exists(Date_Filter,[product number]&amp;amp;Num(date([sales date])));&lt;/P&gt;&lt;P&gt;Drop Table DateFilter;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Feb 2020 07:49:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-load-qvd-data-based-on-excel-field-start-date-an-end-date/m-p/1675672#M449750</guid>
      <dc:creator>muthukumar77</dc:creator>
      <dc:date>2020-02-14T07:49:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to load qvd data based on excel field start date an end date field</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-load-qvd-data-based-on-excel-field-start-date-an-end-date/m-p/1675679#M449752</link>
      <description>&lt;P&gt;SalesInvoice:&lt;BR /&gt;load *,&lt;BR /&gt;[ProductNumber] &amp;amp; Num([SalesDate]) as Promo_Key&lt;BR /&gt;From&lt;BR /&gt;[........\SALES.Qvd]&lt;BR /&gt;(QVD);&lt;/P&gt;&lt;P&gt;Program:&lt;BR /&gt;LOAD [Product Name],&lt;BR /&gt;[Product Number],&lt;BR /&gt;[Start Date],&lt;BR /&gt;[End Date],&lt;BR /&gt;Year([Start Date]) as StartYear,&lt;BR /&gt;Year([End Date]) as EndYear,&lt;BR /&gt;Date([Start Date] + IterNo() - 1) as TempDate,&lt;BR /&gt;[Item Number] &amp;amp; Num([Start Date] + IterNo() - 1) as Promo_Key&lt;BR /&gt;While [Start Date] +IterNo()-1&amp;lt;=[End Date];&lt;/P&gt;&lt;P&gt;Load *&lt;BR /&gt;FROM&lt;BR /&gt;$(vExcelDocuments)\$(PromoProgram_Data)&lt;BR /&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but right now my date filter of -7 days, -21 days not working now&lt;/P&gt;</description>
      <pubDate>Fri, 14 Feb 2020 08:12:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-load-qvd-data-based-on-excel-field-start-date-an-end-date/m-p/1675679#M449752</guid>
      <dc:creator>durga_bi13</dc:creator>
      <dc:date>2020-02-14T08:12:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to load qvd data based on excel field start date an end date field</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-load-qvd-data-based-on-excel-field-start-date-an-end-date/m-p/1675687#M449754</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Can you explain your req clearly?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Feb 2020 08:34:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-load-qvd-data-based-on-excel-field-start-date-an-end-date/m-p/1675687#M449754</guid>
      <dc:creator>muthukumar77</dc:creator>
      <dc:date>2020-02-14T08:34:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to load qvd data based on excel field start date an end date field</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-load-qvd-data-based-on-excel-field-start-date-an-end-date/m-p/1676593#M449788</link>
      <description>&lt;P&gt;i have date filter like start date and end date&lt;/P&gt;&lt;P&gt;For Start Date filters are like -7 days and&amp;nbsp; -21 days&lt;/P&gt;&lt;P&gt;For End date as +7 days and +21 days&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a straight table which contains Product id and year basis sales like sales date, and 2017 sales,2018 sales,2019 sales.&lt;/P&gt;&lt;P&gt;In the straight table sum of year based sales are calculated based on sales date between start and end date.&lt;/P&gt;&lt;P&gt;My expression in straight table&lt;/P&gt;&lt;P&gt;sum({&amp;lt;StartYear ={'$(vLY2)'},TempDate = {"&amp;lt;=$(=Date(max({&amp;lt;StartYear={'$(vLY2)'}&amp;gt;}[End Date])+$(vEnd)))&amp;gt;=$(=Date(min({&amp;lt;StartYear={'$(vLY2)'}&amp;gt;}[Start Date])-$(vStart)))"}&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;start year- year of start datae&lt;/P&gt;&lt;P&gt;vLY2- Today()-2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;for filter '-7',&amp;nbsp; i have three actions&lt;/P&gt;&lt;P&gt;select in field -field name is&amp;nbsp; [Sales Date] , search in string is&amp;nbsp; &amp;nbsp;=if(YearPeriod= StartYear,date(min([Start Date])-7))&lt;/P&gt;&lt;P&gt;set variable variable- vStart,&amp;nbsp; value = 7&lt;/P&gt;&lt;P&gt;select in field - Field is negative which is created on inline basis with value -7&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my straight table i get year basis sales between start and end date based on year&lt;/P&gt;&lt;P&gt;if my default min (start date) is 1/1/2018 and my end date with 2/1/2018&amp;nbsp; it displays records in straight table with this interval for each product&lt;/P&gt;&lt;P&gt;on clicking to -7 , i need to get sales from 12/25/2017. so the sum of values need to get added in existing year based sales.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Feb 2020 11:19:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-load-qvd-data-based-on-excel-field-start-date-an-end-date/m-p/1676593#M449788</guid>
      <dc:creator>durga_bi13</dc:creator>
      <dc:date>2020-02-18T11:19:03Z</dc:date>
    </item>
  </channel>
</rss>

