<?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: formula neded in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/formula-neded/m-p/567665#M211690</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you provide sample data ... Rate and your Fact Table with say... 10-15 lines.&lt;/P&gt;&lt;P&gt;It is difficult to understand from your above question.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 12 Apr 2014 07:18:30 GMT</pubDate>
    <dc:creator>MK_QSL</dc:creator>
    <dc:date>2014-04-12T07:18:30Z</dc:date>
    <item>
      <title>formula neded</title>
      <link>https://community.qlik.com/t5/QlikView/formula-neded/m-p/567663#M211688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have weekly rates input sheet that will be fed to Qlikview in form of QVD. based on weekly rates i have to calculation needs to be done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="border: 0px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;TBODY style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD class="xl66" colspan="5" height="20" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;" width="559"&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;User will enter this info on weekly basis. Based on the input, qvd generator will append weekly rates into a qvd file. Qlikview dashboard will access these rates from table called Rates. Each calculation within chart now needs to be based on rates that falls in period 1 and week 1 (for exampe)&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD height="20" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;Period No&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;Week No&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;Canadian Dollar rate&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;US Dollar Rate&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;British Pound Rate&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD align="right" height="20" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;1&lt;/TD&gt;&lt;TD align="right" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;1&lt;/TD&gt;&lt;TD align="right" class="xl67" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;10%&lt;/TD&gt;&lt;TD align="right" class="xl67" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;10%&lt;/TD&gt;&lt;TD align="right" class="xl67" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;10%&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD align="right" height="20" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;1&lt;/TD&gt;&lt;TD align="right" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;2&lt;/TD&gt;&lt;TD align="right" class="xl67" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;20%&lt;/TD&gt;&lt;TD align="right" class="xl67" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;20%&lt;/TD&gt;&lt;TD align="right" class="xl67" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;20%&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD align="right" height="20" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;1&lt;/TD&gt;&lt;TD align="right" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;3&lt;/TD&gt;&lt;TD align="right" class="xl67" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;30%&lt;/TD&gt;&lt;TD align="right" class="xl67" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;30%&lt;/TD&gt;&lt;TD align="right" class="xl67" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;30%&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD align="right" height="20" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;1&lt;/TD&gt;&lt;TD align="right" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;4&lt;/TD&gt;&lt;TD align="right" class="xl67" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;40%&lt;/TD&gt;&lt;TD align="right" class="xl67" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;40%&lt;/TD&gt;&lt;TD align="right" class="xl67" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;40%&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD align="right" height="20" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;2&lt;/TD&gt;&lt;TD align="right" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;5&lt;/TD&gt;&lt;TD align="right" class="xl67" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;50%&lt;/TD&gt;&lt;TD align="right" class="xl67" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;50%&lt;/TD&gt;&lt;TD align="right" class="xl67" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;50%&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Within Dashboard Period, Week No corresponds to set of dates in a month. For all those days above rate apply to all the calculations. How can make the formula. Let say for exampe i want to calculate:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jan-01-2014&amp;nbsp; CanadianGood=$100%(rate)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now rate needs to fetch from rates qvd based on date it corresponds. How can i write a formula.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Apr 2014 06:34:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/formula-neded/m-p/567663#M211688</guid>
      <dc:creator />
      <dc:date>2014-04-12T06:34:19Z</dc:date>
    </item>
    <item>
      <title>Re: formula neded</title>
      <link>https://community.qlik.com/t5/QlikView/formula-neded/m-p/567664#M211689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have date in that so on basis of date field what you can do is that take max(date) and then take rates of that max rate&lt;/P&gt;&lt;P&gt;Let say&lt;/P&gt;&lt;P&gt;date&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; US$ Rate&lt;/P&gt;&lt;P&gt;1-jan-2014&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100&lt;/P&gt;&lt;P&gt;2-jan-2014&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 101&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what max do is that take the max date on daily basis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Apr 2014 07:00:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/formula-neded/m-p/567664#M211689</guid>
      <dc:creator>arsal_90</dc:creator>
      <dc:date>2014-04-12T07:00:17Z</dc:date>
    </item>
    <item>
      <title>Re: formula neded</title>
      <link>https://community.qlik.com/t5/QlikView/formula-neded/m-p/567665#M211690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you provide sample data ... Rate and your Fact Table with say... 10-15 lines.&lt;/P&gt;&lt;P&gt;It is difficult to understand from your above question.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Apr 2014 07:18:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/formula-neded/m-p/567665#M211690</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-04-12T07:18:30Z</dc:date>
    </item>
    <item>
      <title>Re: Re: formula neded</title>
      <link>https://community.qlik.com/t5/QlikView/formula-neded/m-p/567666#M211691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;User will go into weekly excel spreadsheet and enter new rates for that whole week like below.&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;TBODY style="font-family: inherit;"&gt;&lt;TR style="font-family: inherit;"&gt;&lt;TD height="20" style="padding-left: 4px; padding-right: 4px; font-family: inherit; border: black 0px solid;"&gt;Period No&lt;/TD&gt;&lt;TD style="padding-left: 4px; padding-right: 4px; font-family: inherit; border: black 0px solid;"&gt;Week No&lt;/TD&gt;&lt;TD style="padding-left: 4px; padding-right: 4px; font-family: inherit; border: black 0px solid;"&gt;Canadian Dollar rate&lt;/TD&gt;&lt;TD style="padding-left: 4px; padding-right: 4px; font-family: inherit; border: black 0px solid;"&gt;US Dollar Rate&lt;/TD&gt;&lt;TD style="padding-left: 4px; padding-right: 4px; font-family: inherit; border: black 0px solid;"&gt;British Pound Rate&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="font-family: inherit;"&gt;&lt;TD align="right" height="20" style="padding-left: 4px; padding-right: 4px; font-family: inherit; border: black 0px solid;"&gt;1&lt;/TD&gt;&lt;TD align="right" style="padding-left: 4px; padding-right: 4px; font-family: inherit; border: black 0px solid;"&gt;1&lt;/TD&gt;&lt;TD align="right" class="xl67" style="padding-left: 4px; padding-right: 4px; font-family: inherit; border: black 0px solid;"&gt;1.5%&lt;/TD&gt;&lt;TD align="right" class="xl67" style="padding-left: 4px; padding-right: 4px; font-family: inherit; border: black 0px solid;"&gt;1%&lt;/TD&gt;&lt;TD align="right" class="xl67" style="padding-left: 4px; padding-right: 4px; font-family: inherit; border: black 0px solid;"&gt;0.6%&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="font-family: inherit;"&gt;&lt;TD align="right" height="20" style="padding-left: 4px; padding-right: 4px; font-family: inherit; border: black 0px solid;"&gt;1&lt;/TD&gt;&lt;TD align="right" style="padding-left: 4px; padding-right: 4px; font-family: inherit; border: black 0px solid;"&gt;2&lt;/TD&gt;&lt;TD align="right" class="xl67" style="padding-left: 4px; padding-right: 4px; font-family: inherit; border: black 0px solid;"&gt;1.42%&lt;/TD&gt;&lt;TD align="right" class="xl67" style="padding-left: 4px; padding-right: 4px; font-family: inherit; border: black 0px solid;"&gt;1%&lt;/TD&gt;&lt;TD align="right" class="xl67" style="padding-left: 4px; padding-right: 4px; font-family: inherit; border: black 0px solid;"&gt;0.65%&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;P&gt;Now based on that, my qlikview dashboard chart needs to calculate output. Chart looks like below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Customer#&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CustomerName&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Candian$Amount&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; US$Amount&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BritishAmount&lt;/P&gt;&lt;P&gt;--------------------------------------------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Jan-02-2014&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $20X(rate)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $20X(rate)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $20x(rate)&lt;BR /&gt;Jan-03-2014&lt;/P&gt;&lt;P&gt;Jan-04-2014&lt;/P&gt;&lt;P&gt;Jan-05-2014&lt;/P&gt;&lt;P&gt;Jan-06-2014&lt;/P&gt;&lt;P&gt;Jan-29-2014&amp;nbsp;&amp;nbsp;&amp;nbsp; (here Period1 Week2 rates will apply because Jan-29-2014 falls in Week 2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now based on user input in excel spredsheet, formula needs to determine what the rate is for that day. If Jan-02-2014 falls in PeriodNo1 and WeekNo1 then multiply $20 with the rate of that matching week from spreadsheet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is week#, Period# field in my dashboard.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Apr 2014 15:20:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/formula-neded/m-p/567666#M211691</guid>
      <dc:creator />
      <dc:date>2014-04-12T15:20:26Z</dc:date>
    </item>
    <item>
      <title>Re: Re: formula neded</title>
      <link>https://community.qlik.com/t5/QlikView/formula-neded/m-p/567667#M211692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alongwith Period and Week NO in rate table, add one more column with WeekStart Date and WeekEnd Date.&lt;/P&gt;&lt;P&gt;Now you can use IntervalMatch Function.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Apr 2014 15:44:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/formula-neded/m-p/567667#M211692</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-04-12T15:44:07Z</dc:date>
    </item>
    <item>
      <title>Re: formula neded</title>
      <link>https://community.qlik.com/t5/QlikView/formula-neded/m-p/567668#M211693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I understand &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you have to transform your Rates table joning with a Calendar and get a new Rates&amp;nbsp; table similar to&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Date&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Period No&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Week No&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Canadian ..............&lt;/P&gt;&lt;P&gt;(see below image)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then your chart should be simple to create because of the association between Date (in new table Rate) and Date in Fact Table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it's not clear how to generate the new Rates table: &lt;/P&gt;&lt;P&gt;why is &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Jan-29-2014&amp;nbsp; in Period1 Week2?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;what's Period?&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: 10pt; line-height: 1.5em;"&gt;is this a correct Rates table?&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: 10pt; line-height: 1.5em;"&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;"&gt;&lt;IMG alt="1.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/57130_1.png" style="width: 620px; height: 312px;" /&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;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Apr 2014 16:07:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/formula-neded/m-p/567668#M211693</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-04-12T16:07:36Z</dc:date>
    </item>
    <item>
      <title>Re: formula neded</title>
      <link>https://community.qlik.com/t5/QlikView/formula-neded/m-p/567669#M211694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok i have adjusted my input table to include week start and week end. how can i now use interval match to get results like dashboard chart below. &lt;/P&gt;&lt;P&gt;What will formula be for Canadian Sales, US Sales, Sales in Pound.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Weekly input table&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="630"&gt;&lt;TBODY&gt;&lt;TR style="font-weight: inherit; font-style: inherit;"&gt;&lt;TD height="20" style="font-style: inherit;" width="69"&gt;Period No&lt;/TD&gt;&lt;TD style="font-style: inherit;" width="64"&gt;Week No&lt;/TD&gt;&lt;TD class="xl67" width="75"&gt;Week Start&lt;/TD&gt;&lt;TD class="xl65" width="70"&gt;Week end&lt;/TD&gt;&lt;TD class="xl65" style="font-style: inherit;" width="134"&gt;Canadian Dollar rate&lt;/TD&gt;&lt;TD class="xl65" style="font-style: inherit;" width="95"&gt;US Dollar Rate&lt;/TD&gt;&lt;TD class="xl66" style="font-style: inherit;" width="123"&gt;British Pound Rate&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="font-weight: inherit; font-style: inherit;"&gt;&lt;TD align="right" height="20" style="font-style: inherit;"&gt;1&lt;/TD&gt;&lt;TD align="right" style="font-style: inherit;"&gt;1&lt;/TD&gt;&lt;TD align="right" class="xl67"&gt;2-Jan-14&lt;/TD&gt;&lt;TD align="right" class="xl67"&gt;5-Jan-14&lt;/TD&gt;&lt;TD align="right" class="xl66" style="font-style: inherit;"&gt;92.00%&lt;/TD&gt;&lt;TD align="right" class="xl66" style="font-style: inherit;"&gt;100.00%&lt;/TD&gt;&lt;TD align="right" class="xl66" style="font-style: inherit;"&gt;122.00%&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="font-weight: inherit; font-style: inherit;"&gt;&lt;TD align="right" height="20" style="font-style: inherit;"&gt;1&lt;/TD&gt;&lt;TD align="right" style="font-style: inherit;"&gt;2&lt;/TD&gt;&lt;TD align="right" class="xl67"&gt;6-Jan-14&lt;/TD&gt;&lt;TD align="right" class="xl67"&gt;12-Jan-14&lt;/TD&gt;&lt;TD align="right" class="xl66" style="font-style: inherit;"&gt;95.00%&lt;/TD&gt;&lt;TD align="right" class="xl66" style="font-style: inherit;"&gt;100.00%&lt;/TD&gt;&lt;TD align="right" class="xl66" style="font-style: inherit;"&gt;127.00%&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="font-weight: inherit; font-style: inherit;"&gt;&lt;TD align="right" height="20" style="font-style: inherit;"&gt;1&lt;/TD&gt;&lt;TD align="right" style="font-style: inherit;"&gt;3&lt;/TD&gt;&lt;TD align="right" class="xl67"&gt;14-Jan-14&lt;/TD&gt;&lt;TD align="right" class="xl67"&gt;19-Jan-14&lt;/TD&gt;&lt;TD align="right" class="xl66" style="font-style: inherit;"&gt;90.00%&lt;/TD&gt;&lt;TD align="right" class="xl66" style="font-style: inherit;"&gt;100.00%&lt;/TD&gt;&lt;TD align="right" class="xl66" style="font-style: inherit;"&gt;133.00%&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dashboard Chart.&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 768px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl67" height="20" style="font-style: inherit;" width="82"&gt;Date&lt;/TD&gt;&lt;TD class="xl67" width="116"&gt;Customer #&lt;/TD&gt;&lt;TD class="xl68" width="108"&gt;Customer Name&lt;/TD&gt;&lt;TD class="xl70" width="108"&gt;Sales Total&lt;/TD&gt;&lt;TD class="xl70" width="138"&gt;Canadian Sales&lt;/TD&gt;&lt;TD class="xl70" width="108"&gt;US sales&lt;/TD&gt;&lt;TD class="xl70" width="108"&gt;Sales in Pound&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20" style="font-style: inherit;"&gt;Jan-02-2014&lt;/TD&gt;&lt;TD align="right"&gt;123&lt;/TD&gt;&lt;TD class="xl69"&gt;abc&lt;/TD&gt;&lt;TD class="xl71"&gt;100.00&lt;/TD&gt;&lt;TD class="xl72"&gt;$92.00&lt;/TD&gt;&lt;TD class="xl72"&gt;$100.00&lt;/TD&gt;&lt;TD class="xl72"&gt;$122.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20" style="font-style: inherit;"&gt;Jan-03-2014&lt;/TD&gt;&lt;TD align="right"&gt;124&lt;/TD&gt;&lt;TD class="xl69"&gt;abd&lt;/TD&gt;&lt;TD class="xl71"&gt;200.00&lt;/TD&gt;&lt;TD class="xl72"&gt;$184.00&lt;/TD&gt;&lt;TD class="xl72"&gt;$200.00&lt;/TD&gt;&lt;TD class="xl72"&gt;$244.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20" style="font-style: inherit;"&gt;Jan-04-2014&lt;/TD&gt;&lt;TD align="right"&gt;125&lt;/TD&gt;&lt;TD class="xl69"&gt;abe&lt;/TD&gt;&lt;TD class="xl71"&gt;300.00&lt;/TD&gt;&lt;TD class="xl72"&gt;$276.00&lt;/TD&gt;&lt;TD class="xl72"&gt;$300.00&lt;/TD&gt;&lt;TD class="xl72"&gt;$366.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;Jan-07-2014&lt;/TD&gt;&lt;TD align="right"&gt;126&lt;/TD&gt;&lt;TD class="xl69"&gt;abf&lt;/TD&gt;&lt;TD class="xl71"&gt;400.00&lt;/TD&gt;&lt;TD class="xl72"&gt;$380.00&lt;/TD&gt;&lt;TD class="xl72"&gt;$400.00&lt;/TD&gt;&lt;TD class="xl72"&gt;$508.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;Jan-18-2014&lt;/TD&gt;&lt;TD align="right"&gt;127&lt;/TD&gt;&lt;TD class="xl69"&gt;abg&lt;/TD&gt;&lt;TD class="xl71"&gt;500.00&lt;/TD&gt;&lt;TD class="xl72"&gt;$450.00&lt;/TD&gt;&lt;TD class="xl72"&gt;$500.00&lt;/TD&gt;&lt;TD class="xl72"&gt;$665.00&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Apr 2014 17:42:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/formula-neded/m-p/567669#M211694</guid>
      <dc:creator />
      <dc:date>2014-04-12T17:42:57Z</dc:date>
    </item>
    <item>
      <title>Re: formula neded</title>
      <link>https://community.qlik.com/t5/QlikView/formula-neded/m-p/567670#M211695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am outside and don't have laptop.&amp;nbsp; You can try below link.&amp;nbsp; If you not get success will do for you tomorrow &lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="loading" href="https://community.qlik.com/blogs/qlikviewdesignblog/2013/04/04/intervalmatch" title="http://community.qlik.com/blogs/qlikviewdesignblog/2013/04/04/intervalmatch"&gt;http://community.qlik.com/blogs/qlikviewdesignblog/2013/04/04/intervalmatch&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Apr 2014 19:11:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/formula-neded/m-p/567670#M211695</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-04-12T19:11:40Z</dc:date>
    </item>
    <item>
      <title>Re: formula neded</title>
      <link>https://community.qlik.com/t5/QlikView/formula-neded/m-p/567671#M211696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use below script...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;===================&lt;/P&gt;&lt;P&gt;Rate:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp; [Period No],&lt;/P&gt;&lt;P&gt;&amp;nbsp; [Week No],&lt;/P&gt;&lt;P&gt;&amp;nbsp; Date(Date#([Week Start],'D-MMM-YY')) as [Week Start],&lt;/P&gt;&lt;P&gt;&amp;nbsp; Date(Date#([Week end],'D-MMM-YY')) as [Week End],&lt;/P&gt;&lt;P&gt;&amp;nbsp; [Canadian Dollar rate],&lt;/P&gt;&lt;P&gt;&amp;nbsp; [US Dollar Rate],&lt;/P&gt;&lt;P&gt;&amp;nbsp; [British Pound Rate]&lt;/P&gt;&lt;P&gt;Inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;&amp;nbsp; Period No, Week No, Week Start, Week end, Canadian Dollar rate, US Dollar Rate, British Pound Rate&lt;/P&gt;&lt;P&gt;&amp;nbsp; 1, 1, 2-Jan-14, 5-Jan-14, 92.00%, 100.00%, 122.00%,&lt;/P&gt;&lt;P&gt;&amp;nbsp; 1, 2, 6-Jan-14, 12-Jan-14, 95.00%, 100.00%, 127.00%,&lt;/P&gt;&lt;P&gt;&amp;nbsp; 1, 3, 14-Jan-14, 19-Jan-14, 90.00%, 100.00%, 133.00%,&lt;/P&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;&lt;P&gt;Sales:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp; Date(Date#(Date,'MMM-DD-YYYY')) as Date,&lt;/P&gt;&lt;P&gt;&amp;nbsp; [Customer #],&lt;/P&gt;&lt;P&gt;&amp;nbsp; [Customer Name],&lt;/P&gt;&lt;P&gt;&amp;nbsp; [Sales Total]&lt;/P&gt;&lt;P&gt;Inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;&amp;nbsp; Date, Customer #, Customer Name, Sales Total&lt;/P&gt;&lt;P&gt;&amp;nbsp; Jan-02-2014, 123, abc, 100.00&lt;/P&gt;&lt;P&gt;&amp;nbsp; Jan-03-2014, 124, abd, 200.00&lt;/P&gt;&lt;P&gt;&amp;nbsp; Jan-04-2014, 125, abe, 300.00&lt;/P&gt;&lt;P&gt;&amp;nbsp; Jan-07-2014, 126, abf, 400.00&lt;/P&gt;&lt;P&gt;&amp;nbsp; Jan-18-2014, 127, abg, 500.00&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Join IntervalMatch (Date) Load [Week Start],[Week End] Resident Rate;&lt;/P&gt;&lt;P&gt;Left Join (Sales) Load * Resident Rate;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop Table Rate;&lt;/P&gt;&lt;P&gt;==========================================&lt;/P&gt;&lt;P&gt;Now create a straight table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimension&lt;/P&gt;&lt;P&gt;Customer #&lt;/P&gt;&lt;P&gt;Customer Name&lt;/P&gt;&lt;P&gt;Date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression&lt;/P&gt;&lt;P&gt;Total Sale&lt;/P&gt;&lt;P&gt;SUM([Sales Total])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sales in CAND&lt;/P&gt;&lt;P&gt;SUM([Sales Total]*[Canadian Dollar rate])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sales in USD&lt;/P&gt;&lt;P&gt;SUM([Sales Total]*[US Dollar Rate])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sales in GBP&lt;/P&gt;&lt;P&gt;SUM([Sales Total]*[British Pound Rate])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Apr 2014 08:11:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/formula-neded/m-p/567671#M211696</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-04-13T08:11:54Z</dc:date>
    </item>
  </channel>
</rss>

