<?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: Generate missing date for exchange date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Generate-missing-date-for-exchange-date/m-p/543363#M203059</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;Please find below URL, hope it helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="loading active_link" href="https://community.qlik.com/docs/DOC-3858"&gt;http://community.qlik.com/docs/DOC-3858&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 31 Jul 2013 08:18:34 GMT</pubDate>
    <dc:creator>jagan</dc:creator>
    <dc:date>2013-07-31T08:18:34Z</dc:date>
    <item>
      <title>Generate missing date for exchange date</title>
      <link>https://community.qlik.com/t5/QlikView/Generate-missing-date-for-exchange-date/m-p/543361#M203057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Title :- How to fill my exchange rate date for the month of Jan 2013&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi All &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have make use of excel table to input monthly exchange rate into QV. for example 1 Jan 2013 rate = 2.1 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But my invoice date for Jan 2013 have many date. not just 1 Jan 2013.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is how to make my exchange rate fill all invoice date ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rainer recommend me to look at page 7 of below doc :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://community.qlik.com/people/hic?view=documents"&gt;http://community.qlik.com/people/hic?view=documents&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is the code should work :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TempTable_Rates:&lt;/P&gt;&lt;P&gt;Load date, EXCHANGE from sales_table;&lt;/P&gt;&lt;P&gt;MinMaxDate:&lt;/P&gt;&lt;P&gt;Load Min(Date) as MinDate,Max(Date)as MaxDate resident TempTable_Rates;&lt;/P&gt;&lt;P&gt;Let vMinDate=Peek('MinDate',-1,'MinMaxDate')-1;&lt;/P&gt;&lt;P&gt;Let vMaxDate=Peek('MaxDate',-1,'MinMaxDate');&lt;/P&gt;&lt;P&gt;Drop Table MinMaxDate;&lt;/P&gt;&lt;P&gt;Join(TempTable_Rate)&lt;/P&gt;&lt;P&gt;Load Date(recno()+$(vMinDate)) as Date Autogenerate vMaxDate - vMinDate;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i am stuck with first 2 line of the script and cannot move on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope some one can advise me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jul 2013 07:43:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Generate-missing-date-for-exchange-date/m-p/543361#M203057</guid>
      <dc:creator>paulyeo11</dc:creator>
      <dc:date>2013-07-31T07:43:46Z</dc:date>
    </item>
    <item>
      <title>Re: Generate missing date for exchange date</title>
      <link>https://community.qlik.com/t5/QlikView/Generate-missing-date-for-exchange-date/m-p/543362#M203058</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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Have a look at the example attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The logic is, you join your master cal with the exchange table with monthstart date. So when ever you select the date from master cal of that month, you will get the exchange rate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jul 2013 08:12:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Generate-missing-date-for-exchange-date/m-p/543362#M203058</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2013-07-31T08:12:42Z</dc:date>
    </item>
    <item>
      <title>Re: Generate missing date for exchange date</title>
      <link>https://community.qlik.com/t5/QlikView/Generate-missing-date-for-exchange-date/m-p/543363#M203059</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;Please find below URL, hope it helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="loading active_link" href="https://community.qlik.com/docs/DOC-3858"&gt;http://community.qlik.com/docs/DOC-3858&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jul 2013 08:18:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Generate-missing-date-for-exchange-date/m-p/543363#M203059</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2013-07-31T08:18:34Z</dc:date>
    </item>
    <item>
      <title>Re: Generate missing date for exchange date</title>
      <link>https://community.qlik.com/t5/QlikView/Generate-missing-date-for-exchange-date/m-p/543364#M203060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kau&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thank for your help. with your sample using my data , it help me understand a lot. now i should work back ward to add my sales order data.&amp;nbsp; reservese engineering.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jul 2013 08:22:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Generate-missing-date-for-exchange-date/m-p/543364#M203060</guid>
      <dc:creator>paulyeo11</dc:creator>
      <dc:date>2013-07-31T08:22:50Z</dc:date>
    </item>
    <item>
      <title>Re: Generate missing date for exchange date</title>
      <link>https://community.qlik.com/t5/QlikView/Generate-missing-date-for-exchange-date/m-p/543365#M203061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jagan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the link.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my org QV doc i already implemented master calendar script as you share i in the link.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;May i know how what is the different between your and below ? it is identical ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;TempTable_Rates:&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;Load date, EXCHANGE from sales_table;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;MinMaxDate:&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;Load Min(Date) as MinDate,Max(Date)as MaxDate resident TempTable_Rates;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;Let vMinDate=Peek('MinDate',-1,'MinMaxDate')-1;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;Let vMaxDate=Peek('MaxDate',-1,'MinMaxDate');&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;Drop Table MinMaxDate;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;Join(TempTable_Rate)&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;Load Date(recno()+$(vMinDate)) as Date Autogenerate vMaxDate - vMinDate;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i look thru both look quite the same to me , because it have min and max date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just confuse.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jul 2013 08:27:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Generate-missing-date-for-exchange-date/m-p/543365#M203061</guid>
      <dc:creator>paulyeo11</dc:creator>
      <dc:date>2013-07-31T08:27:10Z</dc:date>
    </item>
  </channel>
</rss>

