<?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 set analysis using QuarterStart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-set-analysis-using-QuarterStart/m-p/292148#M499118</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Arial; color: #929292;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;For an application I want to show data from the currently selected quarter and from previous quarters based on the selection. I've create a field StartQuarter within the master Calendar which hold the juliandate for the start of the Quarter. Now I use the set analysis displayed below.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Arial; color: #929292;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;Current month:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Arial; color: #929292;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="color: #000000;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #3300ff;"&gt;SUM&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #a10000;"&gt;StartQuarter&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; = {&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM&gt;$(=QuarterStart(StartQuarter,0)*1)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="color: #000000;"&gt;}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #a10000;"&gt;SumSales&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;Previous Month:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="color: #000000;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #3300ff;"&gt;SUM&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #a10000;"&gt;StartQuarter&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; = {&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM&gt;$(=QuarterStart(StartQuarter,-1)*1)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="color: #000000;"&gt;}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #a10000;"&gt;SumSales&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know that for the first expression the set analysis is unnecessary but I did this for uniformity. The problem with the expression is that it won't display the value when I use -1 instead of 0 for the QuarterStart command. I checked the output from the QuarterStart outside the set analysis and it does return the correct JulianDate however it won't work in the set analysis. Any suggestions? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2011 20:48:45 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-06-15T20:48:45Z</dc:date>
    <item>
      <title>Problem set analysis using QuarterStart</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-set-analysis-using-QuarterStart/m-p/292148#M499118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Arial; color: #929292;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;For an application I want to show data from the currently selected quarter and from previous quarters based on the selection. I've create a field StartQuarter within the master Calendar which hold the juliandate for the start of the Quarter. Now I use the set analysis displayed below.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Arial; color: #929292;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;Current month:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Arial; color: #929292;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="color: #000000;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #3300ff;"&gt;SUM&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #a10000;"&gt;StartQuarter&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; = {&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM&gt;$(=QuarterStart(StartQuarter,0)*1)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="color: #000000;"&gt;}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #a10000;"&gt;SumSales&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;Previous Month:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="color: #000000;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #3300ff;"&gt;SUM&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #a10000;"&gt;StartQuarter&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; = {&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM&gt;$(=QuarterStart(StartQuarter,-1)*1)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="color: #000000;"&gt;}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #a10000;"&gt;SumSales&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know that for the first expression the set analysis is unnecessary but I did this for uniformity. The problem with the expression is that it won't display the value when I use -1 instead of 0 for the QuarterStart command. I checked the output from the QuarterStart outside the set analysis and it does return the correct JulianDate however it won't work in the set analysis. Any suggestions? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2011 20:48:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-set-analysis-using-QuarterStart/m-p/292148#M499118</guid>
      <dc:creator />
      <dc:date>2011-06-15T20:48:45Z</dc:date>
    </item>
  </channel>
</rss>

