<?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: Comparing previous periods if current period has no data in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Comparing-previous-periods-if-current-period-has-no-data/m-p/521585#M194912</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Hans,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will need to create those records in the script. Here you have a couple of good blog posts on how to do this by Henric Cronström:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/blogs/qlikviewdesignblog/2013/06/10/relative-calendar-fields"&gt;Relative Calendar Fields&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/docs/DOC-3786"&gt;Generating Missing Data in QlikView&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Jul 2013 22:55:49 GMT</pubDate>
    <dc:creator>Miguel_Angel_Baeyens</dc:creator>
    <dc:date>2013-07-24T22:55:49Z</dc:date>
    <item>
      <title>Comparing previous periods if current period has no data</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-previous-periods-if-current-period-has-no-data/m-p/521584#M194911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi. I have a table where I'm displaying current period product sales and past periods product sales. &lt;/P&gt;&lt;P&gt;The records where the product has no current sales but had sales on past periods, are not displayed if the current period is selected.&lt;/P&gt;&lt;P&gt;Only if I unselect the current period, all records are displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So in short, what I need, is to display all records, regardless if they were sold or not. Hint: The source of the data does not include records of products with no sales.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried selecting and unselecting those boxes to display null/zero values but nothing happened.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for you help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jul 2013 22:16:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-previous-periods-if-current-period-has-no-data/m-p/521584#M194911</guid>
      <dc:creator />
      <dc:date>2013-07-24T22:16:58Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing previous periods if current period has no data</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-previous-periods-if-current-period-has-no-data/m-p/521585#M194912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Hans,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will need to create those records in the script. Here you have a couple of good blog posts on how to do this by Henric Cronström:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/blogs/qlikviewdesignblog/2013/06/10/relative-calendar-fields"&gt;Relative Calendar Fields&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/docs/DOC-3786"&gt;Generating Missing Data in QlikView&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jul 2013 22:55:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-previous-periods-if-current-period-has-no-data/m-p/521585#M194912</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2013-07-24T22:55:49Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing previous periods if current period has no data</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-previous-periods-if-current-period-has-no-data/m-p/521586#M194913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if you found a solution , pls share here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jul 2013 00:03:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-previous-periods-if-current-period-has-no-data/m-p/521586#M194913</guid>
      <dc:creator>paulyeo11</dc:creator>
      <dc:date>2013-07-25T00:03:36Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing previous periods if current period has no data</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-previous-periods-if-current-period-has-no-data/m-p/521587#M194914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is a common problem in period over period analysis. As an example, let's say today is July 15, 2013. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;YTD is sum(Sales) through July 15, 2013.&lt;/P&gt;&lt;P&gt;Previous YTD is sum(Sales) through July 15, 2012. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What happens if you select Product=Bikes, and the last 2013 sale for bikes was June 20? The typical Set Analysis approach (max(Date)) would incorrectly (for most customers) calculate:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;YTD = June 20, 2013&lt;/P&gt;&lt;P&gt;Previous YTD = June 20, 2012. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;What is desired is the same date range when no products are selected -- that is, July 15 for both years. The syntax to do this right can get complicated. You shoud ignore the Product selection in calculating date, as well an any other selections that may impact the date. Fortunately, the latest (V7)&amp;nbsp; version of QVV (&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://qlikviiewcomponents.org"&gt;&lt;/A&gt;&lt;A class="loading" href="http://qlikviewcomponents.org" title="http://qlikviewcomponents.org"&gt;http://qlikviewcomponents.org&lt;/A&gt;&lt;SPAN&gt;) generates the correct expressions in it's Calendar routines. Only selections in the Master Calendar table are used to constrain the date range. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jul 2013 02:48:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-previous-periods-if-current-period-has-no-data/m-p/521587#M194914</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2013-07-25T02:48:21Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing previous periods if current period has no data</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-previous-periods-if-current-period-has-no-data/m-p/521588#M194915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rob&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your detail explanation. this is the reasons using Flag can solve the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By the way when i try to click on the link you point to us , it re-direct to below link :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="loading" href="http://mercusuar.info/?url=qlikviiewcomponents.org"&gt;http://mercusuar.info/?url=qlikviiewcomponents.org&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it is correct ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jul 2013 03:25:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-previous-periods-if-current-period-has-no-data/m-p/521588#M194915</guid>
      <dc:creator>paulyeo11</dc:creator>
      <dc:date>2013-07-25T03:25:47Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing previous periods if current period has no data</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-previous-periods-if-current-period-has-no-data/m-p/521589#M194916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, I mispelled the link. I've corrected it in my post. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jul 2013 04:11:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-previous-periods-if-current-period-has-no-data/m-p/521589#M194916</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2013-07-25T04:11:00Z</dc:date>
    </item>
  </channel>
</rss>

