<?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 How to define the months in a time-aware chart? in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/How-to-define-the-months-in-a-time-aware-chart/m-p/19573#M1301</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am relatively new to Qlik, I've only been using it for a couple of months, so I am far from an experienced user. I would appreciate any help you could give me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am building a trend line to display sales for my company, in the trendline I would like to build the following granularity for time: YEAR, MONTH and WEEK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Ideally, I would like to take advantage of the continuous aspect of a &lt;/SPAN&gt;&lt;STRONG style="font-size: 10pt;"&gt;time aware &lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;chart in Qlik Sense so that the user can 'zoom' in to the granularity desired.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;The problem I've encountered is that my 'sales month' is not defined by the calendar month that Qlik employs in time aware charts. For my purpose the end of the month is defined as the last Friday of the month, all remaining calendar days get pushed to the following month. For example, I would only attribute sales from 01/01/2018 - 27/01/2018 for January 2018, sales through the 28th to the 31st would go towards my February total. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Now, my question is if there is any way I can alter the script so that the month defined in the autocalendar follow this same logic to define the start and end dates of the months in a year? The underlying goal being that by doing so I would be able to use a time aware trendline that would give the users the ability to 'zoom' in to the granularity desired for time while having the monthly total displayed follow the logic desired.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;P.S I've explored the alternative of using &lt;STRONG&gt;drill-down dimensions&lt;/STRONG&gt; to achieve this, however, I am not entirely satisfied with this option as once you select a level to drill into you lose the view into any data that was in the upper level. For example say my dimensions are the following:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;YEAR -&amp;gt; MONTH -&amp;gt; WEEK -&amp;gt; DAY&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;If I were to select a specific month in the year, my view would be limited only to that month (and the weeks in that month, I could then drill into a specific week --but all limited to be a subset of that month). Ideally I would like to be able to let the user to explore different &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;granularity&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; without limiting to a subset of the data.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Hope this is clear, I would appreciate any help!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thank you,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Gustavo&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Jan 2018 09:54:57 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-01-30T09:54:57Z</dc:date>
    <item>
      <title>How to define the months in a time-aware chart?</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-define-the-months-in-a-time-aware-chart/m-p/19573#M1301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am relatively new to Qlik, I've only been using it for a couple of months, so I am far from an experienced user. I would appreciate any help you could give me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am building a trend line to display sales for my company, in the trendline I would like to build the following granularity for time: YEAR, MONTH and WEEK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Ideally, I would like to take advantage of the continuous aspect of a &lt;/SPAN&gt;&lt;STRONG style="font-size: 10pt;"&gt;time aware &lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;chart in Qlik Sense so that the user can 'zoom' in to the granularity desired.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;The problem I've encountered is that my 'sales month' is not defined by the calendar month that Qlik employs in time aware charts. For my purpose the end of the month is defined as the last Friday of the month, all remaining calendar days get pushed to the following month. For example, I would only attribute sales from 01/01/2018 - 27/01/2018 for January 2018, sales through the 28th to the 31st would go towards my February total. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Now, my question is if there is any way I can alter the script so that the month defined in the autocalendar follow this same logic to define the start and end dates of the months in a year? The underlying goal being that by doing so I would be able to use a time aware trendline that would give the users the ability to 'zoom' in to the granularity desired for time while having the monthly total displayed follow the logic desired.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;P.S I've explored the alternative of using &lt;STRONG&gt;drill-down dimensions&lt;/STRONG&gt; to achieve this, however, I am not entirely satisfied with this option as once you select a level to drill into you lose the view into any data that was in the upper level. For example say my dimensions are the following:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;YEAR -&amp;gt; MONTH -&amp;gt; WEEK -&amp;gt; DAY&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;If I were to select a specific month in the year, my view would be limited only to that month (and the weeks in that month, I could then drill into a specific week --but all limited to be a subset of that month). Ideally I would like to be able to let the user to explore different &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;granularity&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; without limiting to a subset of the data.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Hope this is clear, I would appreciate any help!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thank you,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Gustavo&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jan 2018 09:54:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-define-the-months-in-a-time-aware-chart/m-p/19573#M1301</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-30T09:54:57Z</dc:date>
    </item>
  </channel>
</rss>

