<?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: Expression in chart pivot with different dates in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expression-in-chart-pivot-with-different-dates/m-p/375811#M574107</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your KeyDate should be in a separate table with every date between you min and max posting and clearing dates at least. You need to use an Autogenerate() while IterNo etc etc piece of script to generate your calendar. There are many examples of this script on the forum. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jason&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Jul 2012 07:23:09 GMT</pubDate>
    <dc:creator>Jason_Michaelides</dc:creator>
    <dc:date>2012-07-03T07:23:09Z</dc:date>
    <item>
      <title>Expression in chart pivot with different dates</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-in-chart-pivot-with-different-dates/m-p/375808#M574104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the following issue:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my script I have 3 different dates:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. KeyDate&lt;/P&gt;&lt;P&gt;2. Posting Date&lt;/P&gt;&lt;P&gt;3. Clearing Date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use the KeyDate in my calender and users can then select a Year and a Month that is linked to the KeyDate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I would like to have in my expression in my pivot table is: when an user selects a year and a month, all items with a Posting Date before the last day of that month, but at the same time only the items with a Clearing Date after the last day of that month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So if for instance March 2012 is selected, I would like to have all items with a Posting Date before 31-03-2012 and also have a Clearing Date after 31-03-2012.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know how to do this??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2012 15:08:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-in-chart-pivot-with-different-dates/m-p/375808#M574104</guid>
      <dc:creator />
      <dc:date>2012-07-02T15:08:53Z</dc:date>
    </item>
    <item>
      <title>Re: Expression in chart pivot with different dates</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-in-chart-pivot-with-different-dates/m-p/375809#M574105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As your chart dimension, try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF([Posting Date] &amp;lt; MonthEnd(Max(KeyDate)) AND [Clearing Date] &amp;gt; MonthEnd(Max(KeyDate)),YourRequiredDimensionField)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may be better served by using Set Analysis in your expressions, however.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jason&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2012 16:01:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-in-chart-pivot-with-different-dates/m-p/375809#M574105</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2012-07-02T16:01:48Z</dc:date>
    </item>
    <item>
      <title>Re: Expression in chart pivot with different dates</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-in-chart-pivot-with-different-dates/m-p/375810#M574106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jason,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your post!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only problem is when a month and a year are selected, this selection is also applied to the Posting Date. I think this is caused by the fact that my KeyDate is based on the Posting Date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So if March 2012 is selected I want to have all the items with a Posting Date before 31-03-2012, but now I only get the items with a Posting Date in March.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know how to solve this??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2012 07:05:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-in-chart-pivot-with-different-dates/m-p/375810#M574106</guid>
      <dc:creator />
      <dc:date>2012-07-03T07:05:23Z</dc:date>
    </item>
    <item>
      <title>Re: Expression in chart pivot with different dates</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-in-chart-pivot-with-different-dates/m-p/375811#M574107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your KeyDate should be in a separate table with every date between you min and max posting and clearing dates at least. You need to use an Autogenerate() while IterNo etc etc piece of script to generate your calendar. There are many examples of this script on the forum. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jason&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2012 07:23:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-in-chart-pivot-with-different-dates/m-p/375811#M574107</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2012-07-03T07:23:09Z</dc:date>
    </item>
    <item>
      <title>Re: Expression in chart pivot with different dates</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-in-chart-pivot-with-different-dates/m-p/375812#M574108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thx, I have now made an additonal loose calender and then it works!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2012 11:13:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-in-chart-pivot-with-different-dates/m-p/375812#M574108</guid>
      <dc:creator />
      <dc:date>2012-07-03T11:13:47Z</dc:date>
    </item>
    <item>
      <title>Re: Expression in chart pivot with different dates</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-in-chart-pivot-with-different-dates/m-p/375813#M574109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I still have one issue with the data based on the formula.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the attached example I made a very simple pivot, but when I collapse the first Column called 'Item' then line '1' disappears.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea why this happens?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2012 14:17:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-in-chart-pivot-with-different-dates/m-p/375813#M574109</guid>
      <dc:creator />
      <dc:date>2012-07-03T14:17:33Z</dc:date>
    </item>
  </channel>
</rss>

