<?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: Dollar Sign Expansion in Set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dollar-Sign-Expansion-in-Set-Analysis/m-p/391303#M145938</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Getting this to work with set analysis is more trouble than it's worth. You'll need an if statement (or pick-match combination) to create a different set for each quarter. Far easier is to add a table in the script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Report:&lt;/P&gt;&lt;P&gt;load Quarter as ReportQuarter, max(Month) as Month&lt;/P&gt;&lt;P&gt;resident &lt;EM&gt;...tablewithmonthsandquarters...&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;group by Quarter;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you can use ReportQuarter instead of Quarter in your chart.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 May 2013 13:32:54 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2013-05-21T13:32:54Z</dc:date>
    <item>
      <title>Dollar Sign Expansion in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Dollar-Sign-Expansion-in-Set-Analysis/m-p/391300#M145935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've never been able to get this work the way I want it to, so I've always found a workaround, but now I'm really wondering what I need to do to make it work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Say I have a bunch of stuff that is scored on a monthly basis.&amp;nbsp; If I look at it by month, I see the score for that month; however, if I look at it by quarter, I want to see the score for the latest month in that quarter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would expect that the set analysis in the following expression would work for this:&lt;/P&gt;&lt;P&gt;only({&amp;lt;Month = {'$(=max(Month))'}&amp;gt;} Score)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, this expression returns the Score for the latest Month in all of the data, not the latest Month of the quarter (if my data is from Jan 2012 to Dec 2012, it only returns the Dec 2012 data, not Mar 2012, Jun 2012, Sep 2012, and Dec 2012).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody please help me out with this?&amp;nbsp; I hope it's something easy that I'm just overlooking...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 May 2013 12:46:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dollar-Sign-Expansion-in-Set-Analysis/m-p/391300#M145935</guid>
      <dc:creator>Nicole-Smith</dc:creator>
      <dc:date>2013-05-21T12:46:50Z</dc:date>
    </item>
    <item>
      <title>Re: Dollar Sign Expansion in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Dollar-Sign-Expansion-in-Set-Analysis/m-p/391301#M145936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I forgot to mention that Quarter is a Dimension on the chart for this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 May 2013 12:50:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dollar-Sign-Expansion-in-Set-Analysis/m-p/391301#M145936</guid>
      <dc:creator>Nicole-Smith</dc:creator>
      <dc:date>2013-05-21T12:50:06Z</dc:date>
    </item>
    <item>
      <title>Re: Dollar Sign Expansion in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Dollar-Sign-Expansion-in-Set-Analysis/m-p/391302#M145937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you using MonthName to create Month field.&lt;/P&gt;&lt;P&gt;Try with this&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;Month={"=Month=MonthName(QuarterEnd(Month))"}&amp;gt;} Score)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If possible try to create a flag to determine QuarterEnd month in script itself.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 May 2013 13:21:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dollar-Sign-Expansion-in-Set-Analysis/m-p/391302#M145937</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2013-05-21T13:21:15Z</dc:date>
    </item>
    <item>
      <title>Re: Dollar Sign Expansion in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Dollar-Sign-Expansion-in-Set-Analysis/m-p/391303#M145938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Getting this to work with set analysis is more trouble than it's worth. You'll need an if statement (or pick-match combination) to create a different set for each quarter. Far easier is to add a table in the script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Report:&lt;/P&gt;&lt;P&gt;load Quarter as ReportQuarter, max(Month) as Month&lt;/P&gt;&lt;P&gt;resident &lt;EM&gt;...tablewithmonthsandquarters...&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;group by Quarter;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you can use ReportQuarter instead of Quarter in your chart.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 May 2013 13:32:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dollar-Sign-Expansion-in-Set-Analysis/m-p/391303#M145938</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-05-21T13:32:54Z</dc:date>
    </item>
    <item>
      <title>Re: Dollar Sign Expansion in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Dollar-Sign-Expansion-in-Set-Analysis/m-p/391304#M145939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you all for your responses!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 May 2013 13:51:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dollar-Sign-Expansion-in-Set-Analysis/m-p/391304#M145939</guid>
      <dc:creator>Nicole-Smith</dc:creator>
      <dc:date>2013-05-21T13:51:26Z</dc:date>
    </item>
  </channel>
</rss>

