<?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 Set Analysis statement not working in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-statement-not-working/m-p/171377#M41396</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-style: italic"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Based on user's fiscal quater selection application shold display inventory start amount in one column and end amount in other column. I am not able to get any field values for the below set analysis statments. I don't want to sum values, but to show expression total.&lt;/P&gt;&lt;P&gt;Example user select Q2 FY2009, first statement should display 7/1/2009 and second statment should display 9/1/2009.This based on fiscal calendar starting in April.&lt;/P&gt;&lt;P&gt;Can someone please tell me what is wrong with my syntax?&lt;/P&gt;&lt;P&gt;=({$&amp;lt;&lt;/P&gt;&lt;P&gt;FiscalQuarter = {&lt;B&gt;&lt;I&gt;$(=only(FiscalQuarter))&lt;/I&gt;&lt;/B&gt;}, FY_QtrStart = {"&amp;lt;=$(=only({&amp;lt;FiscalQuarter={$(=only(FiscalQuarter))}&amp;gt;} FY_QtrStart))&amp;gt;$(=only({&amp;lt;FiscalQuarter={$(=only(FiscalQuarter))}&amp;gt;} FY_QtrStart))"}&amp;gt;} Start_Amount), '$#,##0;($#,##0)'&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;=({$&amp;lt;FiscalQuarter = {&lt;B&gt;&lt;I&gt;$(=only(FiscalQuarter))&lt;/I&gt;&lt;/B&gt;}, FY_QtrEnd = {"&amp;lt;=$(=only({&amp;lt;FiscalQuarter={$(=only(FiscalQuarter))}&amp;gt;} FY_QtrEnd))&amp;gt;$(=only({&amp;lt;FiscalQuarter={$(=only(FiscalQuarter))}&amp;gt;} FY_QtrEndt))"}&amp;gt;} End_Amount), '$#,##0;($#,##0)'&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 31 Aug 2009 22:44:21 GMT</pubDate>
    <dc:creator>karensmith</dc:creator>
    <dc:date>2009-08-31T22:44:21Z</dc:date>
    <item>
      <title>Set Analysis statement not working</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-statement-not-working/m-p/171377#M41396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-style: italic"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Based on user's fiscal quater selection application shold display inventory start amount in one column and end amount in other column. I am not able to get any field values for the below set analysis statments. I don't want to sum values, but to show expression total.&lt;/P&gt;&lt;P&gt;Example user select Q2 FY2009, first statement should display 7/1/2009 and second statment should display 9/1/2009.This based on fiscal calendar starting in April.&lt;/P&gt;&lt;P&gt;Can someone please tell me what is wrong with my syntax?&lt;/P&gt;&lt;P&gt;=({$&amp;lt;&lt;/P&gt;&lt;P&gt;FiscalQuarter = {&lt;B&gt;&lt;I&gt;$(=only(FiscalQuarter))&lt;/I&gt;&lt;/B&gt;}, FY_QtrStart = {"&amp;lt;=$(=only({&amp;lt;FiscalQuarter={$(=only(FiscalQuarter))}&amp;gt;} FY_QtrStart))&amp;gt;$(=only({&amp;lt;FiscalQuarter={$(=only(FiscalQuarter))}&amp;gt;} FY_QtrStart))"}&amp;gt;} Start_Amount), '$#,##0;($#,##0)'&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;=({$&amp;lt;FiscalQuarter = {&lt;B&gt;&lt;I&gt;$(=only(FiscalQuarter))&lt;/I&gt;&lt;/B&gt;}, FY_QtrEnd = {"&amp;lt;=$(=only({&amp;lt;FiscalQuarter={$(=only(FiscalQuarter))}&amp;gt;} FY_QtrEnd))&amp;gt;$(=only({&amp;lt;FiscalQuarter={$(=only(FiscalQuarter))}&amp;gt;} FY_QtrEndt))"}&amp;gt;} End_Amount), '$#,##0;($#,##0)'&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Aug 2009 22:44:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-statement-not-working/m-p/171377#M41396</guid>
      <dc:creator>karensmith</dc:creator>
      <dc:date>2009-08-31T22:44:21Z</dc:date>
    </item>
    <item>
      <title>Set Analysis statement not working</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-statement-not-working/m-p/171378#M41397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;I&gt;&lt;/I&gt;&lt;I&gt;&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried using this statment, but I'm not getting sum(startAmount Values:&lt;/P&gt;&lt;P&gt;Sum&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;({$&amp;lt;FiscalQuarter={&lt;B&gt;&lt;I&gt;$(=maxstring([FiscalQuarter]))&lt;/I&gt;&lt;/B&gt;},FY_QtrStart ={&lt;B&gt;&lt;I&gt;$(=min([FY_QtrStart]))&lt;/I&gt;&lt;/B&gt;} &amp;gt;} Start_Amount&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;This expression result:&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;FiscalQuarter={Q1},FY_QtrStart ={4/1/2009} &amp;gt;} Start_Amount)&lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Sep 2009 00:51:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-statement-not-working/m-p/171378#M41397</guid>
      <dc:creator>karensmith</dc:creator>
      <dc:date>2009-09-01T00:51:40Z</dc:date>
    </item>
    <item>
      <title>Set Analysis statement not working</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-statement-not-working/m-p/171379#M41398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;({&amp;lt;MonthStart={'&amp;gt;=$(=Min(MonthStart)) &amp;lt;=$(=min(MonthStart))'}&amp;gt;} Start_Amount &lt;P&gt;)&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;SUM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;({&amp;lt;MonthStart={'&amp;gt;=$(=Max(MonthStart)) &amp;lt;=$(=Max(MonthStart))'}&amp;gt;} End_Amount+EndX_Amount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got my statements to work, but now I need to calculate the avg between the set analysis fields. How canI calculate the avg of the two fields?&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Sep 2009 02:03:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-statement-not-working/m-p/171379#M41398</guid>
      <dc:creator>karensmith</dc:creator>
      <dc:date>2009-09-01T02:03:12Z</dc:date>
    </item>
  </channel>
</rss>

