<?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 Using data comparision with set analysis within a nested IF in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-data-comparision-with-set-analysis-within-a-nested-IF/m-p/634671#M1087738</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please see attachment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a nested IF and will first check for override price.&amp;nbsp; If null, check to see if a purchase price exists where the last purchase price date &amp;lt; a benchmark date field.&amp;nbsp; If this is null, then use receipt price.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having syntax issues with the If regarding the purchase price.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 May 2014 19:45:58 GMT</pubDate>
    <dc:creator>triciagdaly</dc:creator>
    <dc:date>2014-05-30T19:45:58Z</dc:date>
    <item>
      <title>Using data comparision with set analysis within a nested IF</title>
      <link>https://community.qlik.com/t5/QlikView/Using-data-comparision-with-set-analysis-within-a-nested-IF/m-p/634671#M1087738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please see attachment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a nested IF and will first check for override price.&amp;nbsp; If null, check to see if a purchase price exists where the last purchase price date &amp;lt; a benchmark date field.&amp;nbsp; If this is null, then use receipt price.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having syntax issues with the If regarding the purchase price.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 May 2014 19:45:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-data-comparision-with-set-analysis-within-a-nested-IF/m-p/634671#M1087738</guid>
      <dc:creator>triciagdaly</dc:creator>
      <dc:date>2014-05-30T19:45:58Z</dc:date>
    </item>
    <item>
      <title>Re: Using data comparision with set analysis within a nested IF</title>
      <link>https://community.qlik.com/t5/QlikView/Using-data-comparision-with-set-analysis-within-a-nested-IF/m-p/634672#M1087739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can only use set expression in an aggregation function like sum(), count(), only() etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It looks like in your expression,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;IsNull&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;CURRENT_PURCHASE_PRICE&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;({&amp;lt;LAST_PURCH_PRICE_TRAN={&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;"&amp;lt;=$(=date(vBenchmarkDate))"&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;}&amp;gt;} ))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;it's not valid syntax. Maybe you want something like&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;IsNull&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(only(&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;{&amp;lt;LAST_PURCH_PRICE_TRAN={&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;"&amp;lt;=$(=date(vBenchmarkDate))"&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;}&amp;gt;}&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;CURRENT_PURCHASE_PRICE))&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 May 2014 19:56:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-data-comparision-with-set-analysis-within-a-nested-IF/m-p/634672#M1087739</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2014-05-30T19:56:29Z</dc:date>
    </item>
  </channel>
</rss>

