<?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 Drill Down by date problem? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Drill-Down-by-date-problem/m-p/889556#M309943</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello World!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm currently developing a report that requires some Drill Down options and I'm struggling with the following problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently we get the data based on days, so my granularity is based on day. To easy navigate, I created a Drill Down group as follows&lt;/P&gt;&lt;P&gt; &lt;IMG alt="" class="jive-image image-1" height="301" src="https://community.qlik.com/legacyfs/online/88052_pastedImage_0.png" style="width: 432.993px; height: 301px;" width="433" /&gt;&lt;/P&gt;&lt;P&gt;The problem happens when I select a week between Months like Week 2015/18, then the drill down jumps back to Months instead of showing me the days.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/88054_pastedImage_2.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It also happens to don't show properly the weekly values from the month perspective as it is not counting the full Week 2015/18&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/88053_pastedImage_1.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As a workaround I simply remove the Month view and then I get the data correctly. The problem is that then I miss the Monthly dimension, that in some cases it is required.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-4" src="https://community.qlik.com/legacyfs/online/88058_pastedImage_3.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-5 jive-image" src="https://community.qlik.com/legacyfs/online/88059_pastedImage_4.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;My question:&lt;/P&gt;&lt;P&gt;- Am I doing correctly the Drill Down?&lt;/P&gt;&lt;P&gt;- If so, is it possible to create a bug with this case and have it fixed for future versions?&lt;/P&gt;&lt;P&gt;- Is there any alternative to add the monthly view with the correct weekly overview?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance, I'm just 2 months working with QlikView no previous training, so forgive me any rookie mistake!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Julio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 Jun 2015 13:43:42 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-06-01T13:43:42Z</dc:date>
    <item>
      <title>Drill Down by date problem?</title>
      <link>https://community.qlik.com/t5/QlikView/Drill-Down-by-date-problem/m-p/889556#M309943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello World!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm currently developing a report that requires some Drill Down options and I'm struggling with the following problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently we get the data based on days, so my granularity is based on day. To easy navigate, I created a Drill Down group as follows&lt;/P&gt;&lt;P&gt; &lt;IMG alt="" class="jive-image image-1" height="301" src="https://community.qlik.com/legacyfs/online/88052_pastedImage_0.png" style="width: 432.993px; height: 301px;" width="433" /&gt;&lt;/P&gt;&lt;P&gt;The problem happens when I select a week between Months like Week 2015/18, then the drill down jumps back to Months instead of showing me the days.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/88054_pastedImage_2.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It also happens to don't show properly the weekly values from the month perspective as it is not counting the full Week 2015/18&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/88053_pastedImage_1.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As a workaround I simply remove the Month view and then I get the data correctly. The problem is that then I miss the Monthly dimension, that in some cases it is required.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-4" src="https://community.qlik.com/legacyfs/online/88058_pastedImage_3.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-5 jive-image" src="https://community.qlik.com/legacyfs/online/88059_pastedImage_4.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;My question:&lt;/P&gt;&lt;P&gt;- Am I doing correctly the Drill Down?&lt;/P&gt;&lt;P&gt;- If so, is it possible to create a bug with this case and have it fixed for future versions?&lt;/P&gt;&lt;P&gt;- Is there any alternative to add the monthly view with the correct weekly overview?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance, I'm just 2 months working with QlikView no previous training, so forgive me any rookie mistake!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Julio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 13:43:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Drill-Down-by-date-problem/m-p/889556#M309943</guid>
      <dc:creator />
      <dc:date>2015-06-01T13:43:42Z</dc:date>
    </item>
    <item>
      <title>Re: Drill Down by date problem?</title>
      <link>https://community.qlik.com/t5/QlikView/Drill-Down-by-date-problem/m-p/889557#M309944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've being looking into this problem since then, I conclude that Weeks and Monts/Quarters exclude each other. Thus if you want to add Quarter/Months and Weeks in the same QlikView App my best workaround is to add a rule at document level that clear the excluding filters ( selecting Month or Quarter clear Week and viceversa).&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="111251" alt="Doc Properties Triggers.png" class="jive-image image-3" src="/legacyfs/online/111251_Doc Properties Triggers.png" style="height: 541px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="111247" alt="Doc Properties Triggers Actions.png" class="jive-image image-2" src="/legacyfs/online/111247_Doc Properties Triggers Actions.png" style="height: 432px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;By doing that everytime a week is selected, automatically the Quarter and Month are cleared avoiding any possible missleading and viceversa. The problem still remains at drill down option.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jan 2016 14:21:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Drill-Down-by-date-problem/m-p/889557#M309944</guid>
      <dc:creator />
      <dc:date>2016-01-11T14:21:37Z</dc:date>
    </item>
    <item>
      <title>Re: Drill Down by date problem?</title>
      <link>https://community.qlik.com/t5/QlikView/Drill-Down-by-date-problem/m-p/889558#M309945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try posting this in the QlikView forum not Qlik Sense.&amp;nbsp; You will get the proper help there.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jan 2016 14:38:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Drill-Down-by-date-problem/m-p/889558#M309945</guid>
      <dc:creator>ogster1974</dc:creator>
      <dc:date>2016-01-11T14:38:20Z</dc:date>
    </item>
    <item>
      <title>Re: Drill Down by date problem?</title>
      <link>https://community.qlik.com/t5/QlikView/Drill-Down-by-date-problem/m-p/889559#M309946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you base each level on the lower level, rather than the base level?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g. Week is WeekStart([Date])&lt;/P&gt;&lt;P&gt;Month is MonthName(WeekStart([Date]))&lt;/P&gt;&lt;P&gt;etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you materialise these fields into your load script, it should give a valid hierarchy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jan 2016 15:11:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Drill-Down-by-date-problem/m-p/889559#M309946</guid>
      <dc:creator />
      <dc:date>2016-01-11T15:11:12Z</dc:date>
    </item>
    <item>
      <title>Re: Drill Down by date problem?</title>
      <link>https://community.qlik.com/t5/QlikView/Drill-Down-by-date-problem/m-p/889560#M309947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, I didn't realize I was in the wrong place .. I'll see how to move that to the right place.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jan 2016 15:28:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Drill-Down-by-date-problem/m-p/889560#M309947</guid>
      <dc:creator />
      <dc:date>2016-01-11T15:28:57Z</dc:date>
    </item>
    <item>
      <title>Re: Drill Down by date problem?</title>
      <link>https://community.qlik.com/t5/QlikView/Drill-Down-by-date-problem/m-p/889561#M309948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selecting in calculated dimensions actually selects in the fields used in these calculations.&lt;/P&gt;&lt;P&gt;As all of your drill down dimensions are derived from your date field, each selection changes the previous selection in the same field.&lt;/P&gt;&lt;P&gt;Selecting a week that spans over two months selects dates in those two months.&lt;/P&gt;&lt;P&gt;The upmost dimension in your group having more than one value will then be "MonthName" again.&lt;/P&gt;&lt;P&gt;So I guess it works as designed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My suggestion would be to precalculate your calendar fields in the script using some code like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14525601942357220 jive_text_macro" jivemacro_uid="_14525601942357220"&gt;
&lt;P&gt;table1:&lt;/P&gt;
&lt;P&gt;LOAD Date,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Values&lt;/P&gt;
&lt;P&gt;FROM&lt;/P&gt;
&lt;P&gt;bogus_adata.xlsx&lt;/P&gt;
&lt;P&gt;(ooxml, embedded labels);&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;tabCalendar: &lt;/P&gt;
&lt;P&gt;LOAD *, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Day(Date) as Day, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WeekDay(Date) as WeekDay, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Week(Date) as Week, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WeekName(Date) as WeekName, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month(Date) as Month, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthName(Date) as MonthName, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dual('Q'&amp;amp;Ceil(Month(Date)/3),Ceil(Month(Date)/3)) as Quarter, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; QuarterName(Date) as QuarterName, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year(Date) as Year, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WeekYear(Date) as WeekYear;&amp;nbsp;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;LOAD Date(MinDate+IterNo()-1) as Date &lt;/P&gt;
&lt;P&gt;While MinDate+IterNo()-1 &amp;lt;= MaxDate; &lt;/P&gt;
&lt;P&gt;LOAD Min(Date) as MinDate, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Max(Date) as MaxDate &lt;/P&gt;
&lt;P&gt;Resident table1;&lt;/P&gt;

&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;resulting behaviour:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="111303" alt="QlikCommunity_Thread_166320_Pic2.JPG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/111303_QlikCommunity_Thread_166320_Pic2.JPG" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="111302" alt="QlikCommunity_Thread_166320_Pic1.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/111302_QlikCommunity_Thread_166320_Pic1.JPG" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="111304" alt="QlikCommunity_Thread_166320_Pic4.JPG" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/111304_QlikCommunity_Thread_166320_Pic4.JPG" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="111305" alt="QlikCommunity_Thread_166320_Pic3.JPG" class="image-4 jive-image" src="https://community.qlik.com/legacyfs/online/111305_QlikCommunity_Thread_166320_Pic3.JPG" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&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;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jan 2016 00:58:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Drill-Down-by-date-problem/m-p/889561#M309948</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2016-01-12T00:58:23Z</dc:date>
    </item>
    <item>
      <title>Re: Drill Down by date problem?</title>
      <link>https://community.qlik.com/t5/QlikView/Drill-Down-by-date-problem/m-p/889562#M309949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;UPDATE&lt;/STRONG&gt;: WeekStart(Date) also in year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Andrew,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now is working for me, here you have the script I use and now I can easily drill down including week&lt;/P&gt;&lt;PRE __default_attr="xml" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14525870451532568" jivemacro_uid="_14525870451532568" modifiedtitle="true"&gt;
&lt;P&gt;LOAD Date&lt;/P&gt;
&lt;P&gt;&amp;nbsp; ,Year(&lt;SPAN style="color: rgba(0, 0, 0, 0); font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px;"&gt;WeekStart(&lt;/SPAN&gt;Date)) as Year&lt;/P&gt;
&lt;P&gt;&amp;nbsp; ,QuarterName(WeekStart(Date)) as Quarter&lt;/P&gt;
&lt;P&gt;&amp;nbsp; ,Month(WeekStart(Date)) as Month&lt;/P&gt;
&lt;P&gt;&amp;nbsp; ,Week(Date) as Week&lt;/P&gt;
&lt;P&gt;&amp;nbsp; ,Day(Date) as Day&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,Values&lt;/P&gt;
&lt;P&gt;FROM&lt;/P&gt;
&lt;P&gt;bogus_adata.xlsx&lt;/P&gt;
&lt;P&gt;(ooxml, embedded labels);&lt;/P&gt;

&lt;/PRE&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jan 2016 08:14:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Drill-Down-by-date-problem/m-p/889562#M309949</guid>
      <dc:creator />
      <dc:date>2016-01-12T08:14:03Z</dc:date>
    </item>
    <item>
      <title>Re: Drill Down by date problem?</title>
      <link>https://community.qlik.com/t5/QlikView/Drill-Down-by-date-problem/m-p/889563#M309950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your feedback, I'll have a look at it too!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I solved the case with Andrews feedback, in my case it was very simple, when I drill down from month to week based on Date it was pre-selecting the month and excluding the days from the previous month, by using the week function within the month function it doesn't exclude the days from the previous month giving me the desired behaviour.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Julio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jan 2016 08:22:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Drill-Down-by-date-problem/m-p/889563#M309950</guid>
      <dc:creator />
      <dc:date>2016-01-12T08:22:35Z</dc:date>
    </item>
  </channel>
</rss>

