<?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 Expression help in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expression-help/m-p/536620#M1134507</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;I am trying to match trades based on the following logic:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Match Buy Trades with Sell Trades on the same Commodity, Unit of Measure, Desk, Office and Line of Business. Also match on Volume (with a 10% variance) and Transaction Date (same as the Contract Date) within 1 working day variance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Tahoma;"&gt;My approach would be to create an 'INDEX' field, however I'm not sure how to state in the expression that the Buy/Sell indicator should be different.&amp;nbsp; I'm also not sure how to look at trades that have a Contract Date variance of +/- 1 day.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Tahoma;"&gt;Any pointers as to how to approach the above will be much appreciated.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Tahoma;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Tahoma;"&gt;Daniel&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Nov 2013 13:24:42 GMT</pubDate>
    <dc:creator>danielnevitt</dc:creator>
    <dc:date>2013-11-18T13:24:42Z</dc:date>
    <item>
      <title>Expression help</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-help/m-p/536620#M1134507</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;I am trying to match trades based on the following logic:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Match Buy Trades with Sell Trades on the same Commodity, Unit of Measure, Desk, Office and Line of Business. Also match on Volume (with a 10% variance) and Transaction Date (same as the Contract Date) within 1 working day variance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Tahoma;"&gt;My approach would be to create an 'INDEX' field, however I'm not sure how to state in the expression that the Buy/Sell indicator should be different.&amp;nbsp; I'm also not sure how to look at trades that have a Contract Date variance of +/- 1 day.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Tahoma;"&gt;Any pointers as to how to approach the above will be much appreciated.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Tahoma;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Tahoma;"&gt;Daniel&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Nov 2013 13:24:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-help/m-p/536620#M1134507</guid>
      <dc:creator>danielnevitt</dc:creator>
      <dc:date>2013-11-18T13:24:42Z</dc:date>
    </item>
    <item>
      <title>Re: Expression help</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-help/m-p/536621#M1134508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;do you have a QVW to see the data and créate the expression???&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Nov 2013 14:56:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-help/m-p/536621#M1134508</guid>
      <dc:creator />
      <dc:date>2013-11-18T14:56:41Z</dc:date>
    </item>
    <item>
      <title>Re: Expression help</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-help/m-p/536622#M1134509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi Luis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an example qvw file, but I am not sure how to attach it to this forum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Nov 2013 14:47:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-help/m-p/536622#M1134509</guid>
      <dc:creator>danielnevitt</dc:creator>
      <dc:date>2013-11-19T14:47:21Z</dc:date>
    </item>
    <item>
      <title>Re: Expression help</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-help/m-p/536623#M1134510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Click on "Use advanced editor" in the top right:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Advanced editor.PNG.png" class="jive-image" src="/legacyfs/online/49201_Advanced editor.PNG.png" style="width: 620px; height: 349px;" /&gt;&lt;/P&gt;&lt;P&gt;Then click on Attach on the bottom right:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Attach.PNG.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/49211_Attach.PNG.png" style="width: 620px; height: 446px;" /&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Nov 2013 15:20:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-help/m-p/536623#M1134510</guid>
      <dc:creator>jerem1234</dc:creator>
      <dc:date>2013-11-19T15:20:06Z</dc:date>
    </item>
    <item>
      <title>Re: Expression help</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-help/m-p/536624#M1134511</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;For some reason I don't have the attach option on this question.&amp;nbsp; I'll close this one and start a new thread (and attach the file).&amp;nbsp; Thanks for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Nov 2013 15:45:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-help/m-p/536624#M1134511</guid>
      <dc:creator>danielnevitt</dc:creator>
      <dc:date>2013-11-19T15:45:25Z</dc:date>
    </item>
  </channel>
</rss>

