<?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: Set Analysis Syntax in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Syntax/m-p/1161286#M378592</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure I understand your second issue. Check the attached file for the first issue:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Round(Sum({&amp;lt;FCST_DATE = {"$(=Date(Max(&lt;SPAN style="color: #ff0000;"&gt;{&amp;lt;FISCAL_YEAR&amp;gt;}&lt;/SPAN&gt; FCST_DATE), 'MM-DD-YYYY'))"}, IS_CUR_FCST = {'Y'}&lt;SPAN style="color: #ff0000;"&gt;, FISCAL_YEAR&lt;/SPAN&gt;&amp;gt;} FCST_AMT), 1000)/1000&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Aug 2016 22:55:42 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-08-09T22:55:42Z</dc:date>
    <item>
      <title>Set Analysis Syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Syntax/m-p/1161285#M378591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See attached example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Lifetime Expressions in GRAPH A should not change even if a Fiscal Year selection is made. The numbers should always read:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lifetime Actuals: $881&lt;/P&gt;&lt;P&gt;Lifetime Estimate to Complete: $40&lt;/P&gt;&lt;P&gt;Lifetime Estimate at Completion: $921&lt;/P&gt;&lt;P&gt;Lifetime Funding: $0&lt;/P&gt;&lt;P&gt;Lifetime Variance to Funding: ($921)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The numbers look right when no Fiscal Year is selected or if FY17 is selected. &lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;They are NOT correct when FY15 or FY16 is showing. Any idea how to modify the expression?&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;Lifetime Estimate to Complete=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;round&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;FCST_DATE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"$(=date(max(FCST_DATE), 'MM-DD-YYYY'))"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;IS_CUR_FCST&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {'Y'}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;FCST_AMT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;), 1000)/1000&amp;nbsp; &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;I thought it would be the following but then the FY17 Lifetime Estimate to Complete shows 0?????&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Lifetime Estimate to Complete=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;round&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;FISCAL_YEAR&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;MONTH_1&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;APP_DATE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"&amp;gt;$(=Max({&amp;lt;ACT_AMT={'&amp;gt;0'}&amp;gt;}APP_DATE))"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;IS_CUR_FCST&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'y'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;FCST_AMT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;), 1000)/1000 &lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;he FY expressions in GRAPH A should change based on Fiscal Year Selections. All FY numbers should be blank if one FY is not selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CORRECT FY17:&lt;/P&gt;&lt;P&gt;FY Actuals: $0&lt;/P&gt;&lt;P&gt;FY Estimate to Complete: $40&lt;/P&gt;&lt;P&gt;FY Estimate At Completion: $40&lt;/P&gt;&lt;P&gt;FY Budget: $284&lt;/P&gt;&lt;P&gt;FY Variance to Budget: $244&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Aug 2016 22:02:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Syntax/m-p/1161285#M378591</guid>
      <dc:creator>cbaqir</dc:creator>
      <dc:date>2016-08-09T22:02:18Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Syntax/m-p/1161286#M378592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure I understand your second issue. Check the attached file for the first issue:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Round(Sum({&amp;lt;FCST_DATE = {"$(=Date(Max(&lt;SPAN style="color: #ff0000;"&gt;{&amp;lt;FISCAL_YEAR&amp;gt;}&lt;/SPAN&gt; FCST_DATE), 'MM-DD-YYYY'))"}, IS_CUR_FCST = {'Y'}&lt;SPAN style="color: #ff0000;"&gt;, FISCAL_YEAR&lt;/SPAN&gt;&amp;gt;} FCST_AMT), 1000)/1000&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Aug 2016 22:55:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Syntax/m-p/1161286#M378592</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-08-09T22:55:42Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Syntax/m-p/1161287#M378593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That works. Thanks Sunny. I'm not sure I understand why but I am happy it does!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2016 14:39:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Syntax/m-p/1161287#M378593</guid>
      <dc:creator>cbaqir</dc:creator>
      <dc:date>2016-08-10T14:39:53Z</dc:date>
    </item>
  </channel>
</rss>

