<?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: If then statement? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/If-then-statement/m-p/596131#M681658</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Second tab on excel file is what I’m getting in Qlikview table.  Tab 3 is what I’m looking for.  This is a single trade.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tim Lathrop&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fax: 1+ 832.251.8947&lt;/P&gt;&lt;P&gt;Mobile: 1+ 281.650.6901&lt;/P&gt;&lt;P&gt;www.Valprime.com&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Mar 2014 18:56:04 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-03-19T18:56:04Z</dc:date>
    <item>
      <title>If then statement?</title>
      <link>https://community.qlik.com/t5/QlikView/If-then-statement/m-p/596127#M681654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have three tables.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Trade data&lt;/LI&gt;&lt;LI&gt;Published prices&lt;/LI&gt;&lt;LI&gt;Mapping table&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I want to add the appropriate published price to the trade data table when I select the specific published date.&amp;nbsp; When I select the appropriate published date in Qlikview the system populates the most current price.&amp;nbsp; I want the published price to be tied to the range begin date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something like this:&lt;/P&gt;&lt;P&gt;If Range begin is &amp;lt; or = published price date then use range date as published price date and return published price for that date. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2014 15:43:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-then-statement/m-p/596127#M681654</guid>
      <dc:creator />
      <dc:date>2014-03-19T15:43:55Z</dc:date>
    </item>
    <item>
      <title>Re: If then statement?</title>
      <link>https://community.qlik.com/t5/QlikView/If-then-statement/m-p/596128#M681655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You're going to need to use interval match in the load script.&amp;nbsp; Something along these lines:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/blogs/qlikviewdesignblog/2013/02/25/creating-intervals-from-change-dates" title="http://community.qlik.com/blogs/qlikviewdesignblog/2013/02/25/creating-intervals-from-change-dates"&gt;http://community.qlik.com/blogs/qlikviewdesignblog/2013/02/25/creating-intervals-from-change-dates&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EDIT: I originally posted the wrong article.&amp;nbsp; This is what you should be looking for:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-4310"&gt;IntervalMatch and Slowly Changing Dimensions&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2014 15:48:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-then-statement/m-p/596128#M681655</guid>
      <dc:creator>Nicole-Smith</dc:creator>
      <dc:date>2014-03-19T15:48:24Z</dc:date>
    </item>
    <item>
      <title>Re: Re: If then statement?</title>
      <link>https://community.qlik.com/t5/QlikView/If-then-statement/m-p/596129#M681656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm sorry.&amp;nbsp; I am a newbie.&amp;nbsp; Assuming I am able to get the interval date correct, how would I query the correct price in my published price table?&amp;nbsp; I have attached a sample of the table and what I want to return.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2014 17:47:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-then-statement/m-p/596129#M681656</guid>
      <dc:creator />
      <dc:date>2014-03-19T17:47:00Z</dc:date>
    </item>
    <item>
      <title>Re: If then statement?</title>
      <link>https://community.qlik.com/t5/QlikView/If-then-statement/m-p/596130#M681657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The interval match will link things properly in the QV data model so that the correct price is linked to the correct date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need further help, please give an example of Trade Data to go along with the Published Prices data that was in your spreadsheet.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2014 18:41:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-then-statement/m-p/596130#M681657</guid>
      <dc:creator>Nicole-Smith</dc:creator>
      <dc:date>2014-03-19T18:41:56Z</dc:date>
    </item>
    <item>
      <title>Re: If then statement?</title>
      <link>https://community.qlik.com/t5/QlikView/If-then-statement/m-p/596131#M681658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Second tab on excel file is what I’m getting in Qlikview table.  Tab 3 is what I’m looking for.  This is a single trade.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tim Lathrop&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fax: 1+ 832.251.8947&lt;/P&gt;&lt;P&gt;Mobile: 1+ 281.650.6901&lt;/P&gt;&lt;P&gt;www.Valprime.com&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2014 18:56:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-then-statement/m-p/596131#M681658</guid>
      <dc:creator />
      <dc:date>2014-03-19T18:56:04Z</dc:date>
    </item>
    <item>
      <title>Re: If then statement?</title>
      <link>https://community.qlik.com/t5/QlikView/If-then-statement/m-p/596132#M681659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need raw data in order to tell you how to fix it.&amp;nbsp; What you're getting in the QV table needs to be changed...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2014 18:59:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-then-statement/m-p/596132#M681659</guid>
      <dc:creator>Nicole-Smith</dc:creator>
      <dc:date>2014-03-19T18:59:00Z</dc:date>
    </item>
    <item>
      <title>Re: If then statement?</title>
      <link>https://community.qlik.com/t5/QlikView/If-then-statement/m-p/596133#M681660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Trading info is on third tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much for looking at this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tim Lathrop&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fax: 1+ 832.251.8947&lt;/P&gt;&lt;P&gt;Mobile: 1+ 281.650.6901&lt;/P&gt;&lt;P&gt;www.Valprime.com&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2014 19:13:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-then-statement/m-p/596133#M681660</guid>
      <dc:creator />
      <dc:date>2014-03-19T19:13:28Z</dc:date>
    </item>
    <item>
      <title>Re: If then statement?</title>
      <link>https://community.qlik.com/t5/QlikView/If-then-statement/m-p/596134#M681661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is Location supposed to be part of the key between the two tables?&amp;nbsp; Because I'm noticing that the values in the Location fields don't match up for the data you gave me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2014 19:22:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-then-statement/m-p/596134#M681661</guid>
      <dc:creator>Nicole-Smith</dc:creator>
      <dc:date>2014-03-19T19:22:59Z</dc:date>
    </item>
    <item>
      <title>Re: If then statement?</title>
      <link>https://community.qlik.com/t5/QlikView/If-then-statement/m-p/596135#M681662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No.  I have a location table with a location code that maps the location to the appropriate curve.  In excel I concatenated the curve ID with the date an performed a vlookup for the appropriate price for the appropriate date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tim Lathrop&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fax: 1+ 832.251.8947&lt;/P&gt;&lt;P&gt;Mobile: 1+ 281.650.6901&lt;/P&gt;&lt;P&gt;www.Valprime.com&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2014 19:34:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-then-statement/m-p/596135#M681662</guid>
      <dc:creator />
      <dc:date>2014-03-19T19:34:28Z</dc:date>
    </item>
    <item>
      <title>Re: Re: If then statement?</title>
      <link>https://community.qlik.com/t5/QlikView/If-then-statement/m-p/596136#M681663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For the spreadsheet you gave me, this should do the trick:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;Trading:&lt;/P&gt;
&lt;P&gt;LOAD [Curve Date], &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Portfolio, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Deal Type], &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [C-Party], &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Trader, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Pipeline, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Point Name], &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Zone, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Location, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Deal #], &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [C-Party1], &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Buy/Sell], &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Description, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Portfolio1, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Trade Date], &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RiskType, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Risk Type], &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Commodity, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Pipeline1, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Point, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Range Beg], &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Range End], &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Deal Price], &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Profit Center], &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [NG Volume], &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Source, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PriceDescription&lt;/P&gt;
&lt;P&gt;FROM TB01_20140319_122410.xls&lt;/P&gt;
&lt;P&gt;(biff, embedded labels, table is [Trading Table$]);&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;PublishedPrices:&lt;/P&gt;
&lt;P&gt;LOAD [Curve date], &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Location as PricesLocation, //I had to rename this field because the Location fields (at least in the data that you gave me) don't match up&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Published Price]&lt;/P&gt;
&lt;P&gt;FROM TB01_20140319_122410.xls&lt;/P&gt;
&lt;P&gt;(biff, embedded labels, table is [Published prices$]);&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;intervalmatch([Curve date])&lt;/P&gt;
&lt;P&gt;load [Range Beg], [Range End]&lt;/P&gt;
&lt;P&gt;resident Trading;&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Then you can just create a table like normal because everything is linked properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;File is also attached.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2014 19:40:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-then-statement/m-p/596136#M681663</guid>
      <dc:creator>Nicole-Smith</dc:creator>
      <dc:date>2014-03-19T19:40:19Z</dc:date>
    </item>
    <item>
      <title>Re: If then statement?</title>
      <link>https://community.qlik.com/t5/QlikView/If-then-statement/m-p/596137#M681664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;xoxo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tim Lathrop&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fax: 1+ 832.251.8947&lt;/P&gt;&lt;P&gt;Mobile: 1+ 281.650.6901&lt;/P&gt;&lt;P&gt;www.Valprime.com&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2014 19:54:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-then-statement/m-p/596137#M681664</guid>
      <dc:creator />
      <dc:date>2014-03-19T19:54:16Z</dc:date>
    </item>
  </channel>
</rss>

