<?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: QVD Load with where clause in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/QVD-Load-with-where-clause/m-p/995324#M338769</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lolla,&lt;/P&gt;&lt;P&gt;Applymap is different from IntervalMatch, In your scenario you would need to match Accdate between the interval value FromDate and ToDate. Try the below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Item, AccDate, Customer, OrderNo, Qty, SalesPrice&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;From Data_Table;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Intervals:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Load &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Item, StdCost, FromDate, ToDate&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;From Stdcost_Interval_Table;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;BridgeTable:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Left Join IntervalMatch (&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;AccDate, Item)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Load Distinct &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;FromDate,&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;ToDate, Item Resident &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Intervals;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Sep 2015 13:44:18 GMT</pubDate>
    <dc:creator>malini_qlikview</dc:creator>
    <dc:date>2015-09-08T13:44:18Z</dc:date>
    <item>
      <title>QVD Load with where clause</title>
      <link>https://community.qlik.com/t5/QlikView/QVD-Load-with-where-clause/m-p/995320#M338765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a QVD with Standard Costs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Item, StdCost, FromDate, ToDate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am loading the Sales transactions with SQL from a a table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Item, AccDate, Customer, OrderNo, Qty, SalesPrice&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I join/load the StandardCost QVD where the AccDate is between the FromDate and Todate?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Sep 2015 12:59:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QVD-Load-with-where-clause/m-p/995320#M338765</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-08T12:59:30Z</dc:date>
    </item>
    <item>
      <title>Re: QVD Load with where clause</title>
      <link>https://community.qlik.com/t5/QlikView/QVD-Load-with-where-clause/m-p/995321#M338766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should take advantage of the powerful IntervalMatch() function. Let the Standard Costs QVD be a Mapping table and use IntervalMatch().&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Sep 2015 13:09:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QVD-Load-with-where-clause/m-p/995321#M338766</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2015-09-08T13:09:57Z</dc:date>
    </item>
    <item>
      <title>Re: QVD Load with where clause</title>
      <link>https://community.qlik.com/t5/QlikView/QVD-Load-with-where-clause/m-p/995322#M338767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Petter, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An absolute novice with Qlikview so excuse any 'stupid' questions. My understanding is that a Mapping table can only have 2 columns. How would I load the Standard Costs QVD as a mapping table?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Sep 2015 13:28:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QVD-Load-with-where-clause/m-p/995322#M338767</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-08T13:28:50Z</dc:date>
    </item>
    <item>
      <title>Re: QVD Load with where clause</title>
      <link>https://community.qlik.com/t5/QlikView/QVD-Load-with-where-clause/m-p/995323#M338768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Peter is referring to a script like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// Load intervals from QVD&lt;/P&gt;&lt;P&gt;Intervals:&lt;/P&gt;&lt;P&gt;LOAD Item, StdCost, FromDate, ToDate&lt;/P&gt;&lt;P&gt;FROM StandardCosts.qvd (qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Load your transaction data / fact table&lt;/P&gt;&lt;P&gt;Sales:&lt;/P&gt;&lt;P&gt;LOAD Item, &lt;/P&gt;&lt;P&gt;&amp;nbsp; AccDate, &lt;/P&gt;&lt;P&gt;&amp;nbsp; Customer, &lt;/P&gt;&lt;P&gt;&amp;nbsp; OrderNo, &lt;/P&gt;&lt;P&gt;&amp;nbsp; Qty, &lt;/P&gt;&lt;P&gt;&amp;nbsp; SalesPrice&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;SQL SELECT * &lt;/P&gt;&lt;P&gt;FROM MyTable;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// Match the AccDate to the intervals&lt;/P&gt;&lt;P&gt;Left JOIN (Sales)&lt;/P&gt;&lt;P&gt;IntervalMatch(&lt;SPAN style="font-size: 13.3333px;"&gt;AccDate&lt;/SPAN&gt;, Item)&lt;/P&gt;&lt;P&gt;LOAD FromDate, ToDate, Item&lt;/P&gt;&lt;P&gt;Resident Intervals;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// optional BEGIN - This brings the StdCost into the main table&lt;/P&gt;&lt;P&gt;Left JOIN (Sales)&lt;/P&gt;&lt;P&gt;LOAD * &lt;/P&gt;&lt;P&gt;Resident Intervals;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP Table Intervals;&lt;/P&gt;&lt;P&gt;// optional END&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Sep 2015 13:40:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QVD-Load-with-where-clause/m-p/995323#M338768</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-09-08T13:40:03Z</dc:date>
    </item>
    <item>
      <title>Re: QVD Load with where clause</title>
      <link>https://community.qlik.com/t5/QlikView/QVD-Load-with-where-clause/m-p/995324#M338769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lolla,&lt;/P&gt;&lt;P&gt;Applymap is different from IntervalMatch, In your scenario you would need to match Accdate between the interval value FromDate and ToDate. Try the below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Item, AccDate, Customer, OrderNo, Qty, SalesPrice&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;From Data_Table;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Intervals:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Load &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Item, StdCost, FromDate, ToDate&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;From Stdcost_Interval_Table;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;BridgeTable:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Left Join IntervalMatch (&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;AccDate, Item)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Load Distinct &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;FromDate,&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;ToDate, Item Resident &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Intervals;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Sep 2015 13:44:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QVD-Load-with-where-clause/m-p/995324#M338769</guid>
      <dc:creator>malini_qlikview</dc:creator>
      <dc:date>2015-09-08T13:44:18Z</dc:date>
    </item>
    <item>
      <title>Re: QVD Load with where clause</title>
      <link>https://community.qlik.com/t5/QlikView/QVD-Load-with-where-clause/m-p/995325#M338770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Sep 2015 13:49:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QVD-Load-with-where-clause/m-p/995325#M338770</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-08T13:49:47Z</dc:date>
    </item>
    <item>
      <title>Re: QVD Load with where clause</title>
      <link>https://community.qlik.com/t5/QlikView/QVD-Load-with-where-clause/m-p/995326#M338771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am sorry that I mislead you. You are absolutely right and there is no need for a mapping load with IntervalMatch()...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Sep 2015 13:53:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QVD-Load-with-where-clause/m-p/995326#M338771</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2015-09-08T13:53:06Z</dc:date>
    </item>
    <item>
      <title>Re: QVD Load with where clause</title>
      <link>https://community.qlik.com/t5/QlikView/QVD-Load-with-where-clause/m-p/995327#M338772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Malini, how do I save the StdCost in the Sales QVD? Need this for another dashboard as well.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2015 08:09:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QVD-Load-with-where-clause/m-p/995327#M338772</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-09T08:09:40Z</dc:date>
    </item>
  </channel>
</rss>

