<?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 Quarter period in Set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Quarter-period-in-Set-Analysis/m-p/403618#M485624</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a dataset that includes period and quarter.&amp;nbsp; I'm trying to create dynamic reports like in the Whats new in QV11 App.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem I have is when showing metrics only by quarter, for one of the metrics I want to only show the value for the last period in that quarter, so Q1 would show value for period 3, Q2 would show period 6, Q3 would show period 9 etc.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is the additional spanner in the works of when a YTD period is selected (data island), then for the quarter that includes this show this period and not the last in the quarter, so for example if the YTD period selected was 8 then for Q3 the value shown would be for 8 and not 9.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I came up with this which shows the correct value period in an expression but I want to use this as part of a set analysis and can't get it to work:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;=&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;rangemin&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;max&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Time Period]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),&lt;/SPAN&gt;&lt;STRONG style="color: #808080; font-size: 8pt;"&gt;&lt;EM&gt;&lt;STRONG style="color: #808080; font-size: 8pt;"&gt;&lt;EM&gt;$(=zzzPeriod))&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope someone can interpret what I'm trying to get at, am happy to elaborate!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Apr 2013 11:08:14 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-04-26T11:08:14Z</dc:date>
    <item>
      <title>Quarter period in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Quarter-period-in-Set-Analysis/m-p/403618#M485624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a dataset that includes period and quarter.&amp;nbsp; I'm trying to create dynamic reports like in the Whats new in QV11 App.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem I have is when showing metrics only by quarter, for one of the metrics I want to only show the value for the last period in that quarter, so Q1 would show value for period 3, Q2 would show period 6, Q3 would show period 9 etc.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is the additional spanner in the works of when a YTD period is selected (data island), then for the quarter that includes this show this period and not the last in the quarter, so for example if the YTD period selected was 8 then for Q3 the value shown would be for 8 and not 9.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I came up with this which shows the correct value period in an expression but I want to use this as part of a set analysis and can't get it to work:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;=&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;rangemin&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;max&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Time Period]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),&lt;/SPAN&gt;&lt;STRONG style="color: #808080; font-size: 8pt;"&gt;&lt;EM&gt;&lt;STRONG style="color: #808080; font-size: 8pt;"&gt;&lt;EM&gt;$(=zzzPeriod))&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope someone can interpret what I'm trying to get at, am happy to elaborate!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Apr 2013 11:08:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Quarter-period-in-Set-Analysis/m-p/403618#M485624</guid>
      <dc:creator />
      <dc:date>2013-04-26T11:08:14Z</dc:date>
    </item>
  </channel>
</rss>

