<?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 Problem with set analysis formula in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-with-set-analysis-formula/m-p/228355#M500335</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Paul,&lt;/P&gt;&lt;P&gt;see the attached example for more help.&lt;/P&gt;&lt;P&gt;Do you have still trouble upload a short example (*.qvw application will be the best).&lt;/P&gt;&lt;P&gt;I´m sure we can help and solve your issue.&lt;/P&gt;&lt;P&gt;Rainer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Feb 2011 15:09:38 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-02-24T15:09:38Z</dc:date>
    <item>
      <title>Problem with set analysis formula</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-set-analysis-formula/m-p/228351#M500331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the following Set analysis formula which works as expected :&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;FromCurrency={'$(vCURR)'},Type = {'Forecast'},ForecastEntryPeriod={$(LastForecast)}&amp;gt;} GBPForecastRevenue *PeriodAverageRate)&lt;/P&gt;&lt;P&gt;I am looking to add futther set analysis to the above command that will filter the returned data further so that only entries with a FYP field greater or Equal to the variable vFinanceYearPeriod are selected&lt;/P&gt;&lt;P&gt;FYP={"&amp;gt;= $(vFinanceYearPeriod)"}&lt;/P&gt;&lt;P&gt;When I enter this as part of the formula&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;FromCurrency={'$(vCURR)'},Type = {'Forecast'},ForecastEntryPeriod={$(LastForecast)}&lt;B&gt;,FYP={"&amp;gt;= $(vFinanceYearPeriod)"}&lt;/B&gt;&amp;gt;} GBPForecastRevenue *PeriodAverageRate)&lt;/P&gt;&lt;P&gt;I keep getting an answer of 0. I have checked all of the variables and data individually and all appears OK. The issue only arises with this portion of the formula.&lt;/P&gt;&lt;P&gt;Am I using the correct syntax for &amp;gt;= calculations ?&lt;/P&gt;&lt;P&gt;ps the FYP and vFinanceYearPeriod fields are in the format yyyymmdd e.g. 20110506&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is greatly appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Feb 2011 11:30:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-set-analysis-formula/m-p/228351#M500331</guid>
      <dc:creator />
      <dc:date>2011-02-24T11:30:38Z</dc:date>
    </item>
    <item>
      <title>Problem with set analysis formula</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-set-analysis-formula/m-p/228352#M500332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Off the top of my head, I don't think you can do &amp;gt;= in set analysis. What you can do is&lt;/P&gt;&lt;P&gt;The way around this is to do analysis where you look for either ,(FYP&amp;gt; {'#'} or FYP= {'#'}) You might need to tweek that a little, but that's the concept.&lt;/P&gt;&lt;P&gt;Some goes for &amp;lt;&amp;gt;, you have to do =- or -= (can't remember which one) instead.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Feb 2011 11:58:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-set-analysis-formula/m-p/228352#M500332</guid>
      <dc:creator />
      <dc:date>2011-02-24T11:58:57Z</dc:date>
    </item>
    <item>
      <title>Problem with set analysis formula</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-set-analysis-formula/m-p/228353#M500333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ronnie,&lt;/P&gt;&lt;P&gt;be sure it´s possible to work with &amp;gt;= in a Set Analysis expression.&lt;/P&gt;&lt;P&gt;Paul,&lt;/P&gt;&lt;P&gt;try to control your expression. Create a table diagram. No lable for the expression. Now you can see if your variable contains the value you expect.&lt;/P&gt;&lt;P&gt;Or create a short example and post it here.&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;&lt;P&gt;Rainer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Feb 2011 12:14:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-set-analysis-formula/m-p/228353#M500333</guid>
      <dc:creator />
      <dc:date>2011-02-24T12:14:13Z</dc:date>
    </item>
    <item>
      <title>Problem with set analysis formula</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-set-analysis-formula/m-p/228354#M500334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rainer,&lt;/P&gt;&lt;P&gt;Thanks for your help. I have verified the information in the variable and it is correct. I have verified the FYP field using another chart and this is correct my issue is that when I try to use the &amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Feb 2011 13:59:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-set-analysis-formula/m-p/228354#M500334</guid>
      <dc:creator />
      <dc:date>2011-02-24T13:59:40Z</dc:date>
    </item>
    <item>
      <title>Problem with set analysis formula</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-set-analysis-formula/m-p/228355#M500335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Paul,&lt;/P&gt;&lt;P&gt;see the attached example for more help.&lt;/P&gt;&lt;P&gt;Do you have still trouble upload a short example (*.qvw application will be the best).&lt;/P&gt;&lt;P&gt;I´m sure we can help and solve your issue.&lt;/P&gt;&lt;P&gt;Rainer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Feb 2011 15:09:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-set-analysis-formula/m-p/228355#M500335</guid>
      <dc:creator />
      <dc:date>2011-02-24T15:09:38Z</dc:date>
    </item>
    <item>
      <title>Problem with set analysis formula</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-set-analysis-formula/m-p/228356#M500336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I do this all the time: Year={"&amp;gt;=$(=year(today()))"} and it works fine. Maybe if you try FYP={"&amp;gt;=$(= $(vFinanceYearPeriod))"}?? Where '$(=' will evaluate your expression '$(vFinanceYearPeriod)'...&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;&lt;P&gt;Cristian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Feb 2011 15:28:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-set-analysis-formula/m-p/228356#M500336</guid>
      <dc:creator />
      <dc:date>2011-02-24T15:28:41Z</dc:date>
    </item>
  </channel>
</rss>

