<?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: Master vs AutoCalendar &amp; two date dimensions in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Master-vs-AutoCalendar-two-date-dimensions/m-p/1411877#M33181</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After some additional trial &amp;amp; error, probably based on my non-expert knowledge, the canonical date seems to do the trick.&lt;/P&gt;&lt;P&gt;I still have some weird behaviour in data visualisation, but will have to dig deeper to be able to find the issue there.&lt;/P&gt;&lt;P&gt;Thanks for your input, i'll mark this question as resolved.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Apr 2018 09:23:32 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-04-04T09:23:32Z</dc:date>
    <item>
      <title>Master vs AutoCalendar &amp; two date dimensions</title>
      <link>https://community.qlik.com/t5/App-Development/Master-vs-AutoCalendar-two-date-dimensions/m-p/1411873#M33177</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;First question posted here. I've been browsing the various sources for a solution and have found various possible solutions, but i'm not sure what would be the best solution/combination for my case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The case in itself is simple, i've got a table (Order), with two datefields: OrderCreateDate and OrderFinishDate.&lt;/P&gt;&lt;P&gt;I want to create on chart with both combined, so for each (ie) month, a calculation of all created and all finished orders. Or even calculated (Current Portfolio size is all orders which have a createdate but not yet a finishdate at a set moment in time).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've found the master calendar options as well as the &lt;A _jive_internal="true" href="https://community.qlik.com/blogs/qlikviewdesignblog/2014/02/17/canonical-date"&gt;canonical date&lt;/A&gt;‌ and the blog regarding &lt;A _jive_internal="true" href="https://community.qlik.com/blogs/qlikviewdesignblog/2012/08/30/master-table-with-multiple-roles"&gt;Master Table with multiple roles.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;All combined making for some light reading... &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&amp;nbsp; Unfortunately, for me, not light enough...&lt;/P&gt;&lt;P&gt;So with the goal mentioned above, &lt;/P&gt;&lt;P&gt;- what approach should I take, taken into account that i'm using Qlik Sense. &lt;/P&gt;&lt;P&gt;- do I have to do something with AutoCalendar, does it conflict with a master calendar?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks for your reply.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Dec 2017 15:09:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Master-vs-AutoCalendar-two-date-dimensions/m-p/1411873#M33177</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-01T15:09:09Z</dc:date>
    </item>
    <item>
      <title>Re: Master vs AutoCalendar &amp; two date dimensions</title>
      <link>https://community.qlik.com/t5/App-Development/Master-vs-AutoCalendar-two-date-dimensions/m-p/1411874#M33178</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've had to figure out a similar function to combine several date fields (up to twelve at a time) into the same timeline, and this is what I have come up with. If I understand your question well, this will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You want to combine the two timelines into one, so you'll need to create a cross table using the CROSSTABLE function in the script. Let's say your data is separated into the following fields:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OrderID&lt;/P&gt;&lt;P&gt;OrderCreateDate&lt;/P&gt;&lt;P&gt;OrderFinishDate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm sure there are more fields, but for the sake of simplicity, we'll continue with this. To combine the two date fields, use this function in the load script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[&lt;EM&gt;Table Name&lt;/EM&gt;]&lt;/P&gt;&lt;P&gt;CROSSTABLE(Event,Date,1)&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OrderID&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OrderCreateDate AS [Order Created]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OrderFinishDate AS [Order Finished]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From [&lt;EM&gt;source reference&lt;/EM&gt;]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is the simple version. It will likely have to be edited to fit the data that you have, but you should be able to understand it well if you check out these videos:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://youtu.be/xkBFyNys1LI" title="https://youtu.be/xkBFyNys1LI"&gt;The Power of Qlik Script - Reshaping Data using Crosstable - YouTube&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://youtu.be/YjATejfEOxc" title="https://youtu.be/YjATejfEOxc"&gt;The Power of Qlik Script - Reshaping Data - Part 2 - YouTube&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://youtu.be/dhJv4A2eQz8" title="https://youtu.be/dhJv4A2eQz8"&gt;The Power of Qlik Script - Reshaping Data - Part 3 - YouTube&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope that helps! If it wasn't clear enough, let me know!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Dec 2017 01:10:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Master-vs-AutoCalendar-two-date-dimensions/m-p/1411874#M33178</guid>
      <dc:creator>acbishop2</dc:creator>
      <dc:date>2017-12-19T01:10:58Z</dc:date>
    </item>
    <item>
      <title>Re: Master vs AutoCalendar &amp; two date dimensions</title>
      <link>https://community.qlik.com/t5/App-Development/Master-vs-AutoCalendar-two-date-dimensions/m-p/1411875#M33179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jacob-Jan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would advise you to never use AutoCalendars. They can be a pain in the butt when doing anything that is just a little bit complicated. For your usecase you should probably use the "canonical date" option.&lt;/P&gt;&lt;P&gt;The AutoCalendar can be ignored or removed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this answers your question. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Dec 2017 07:07:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Master-vs-AutoCalendar-two-date-dimensions/m-p/1411875#M33179</guid>
      <dc:creator>bramkn</dc:creator>
      <dc:date>2017-12-19T07:07:04Z</dc:date>
    </item>
    <item>
      <title>Re: Master vs AutoCalendar &amp; two date dimensions</title>
      <link>https://community.qlik.com/t5/App-Development/Master-vs-AutoCalendar-two-date-dimensions/m-p/1411876#M33180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you guys for your reply.&lt;/P&gt;&lt;P&gt;I went on the 'drop autocalendar and start with master calendar' road.&lt;/P&gt;&lt;P&gt;However, i've got an issue in my loadscript, not sure if it's because of the field type in my database or my loadscript, but i'm getting an error in my master calendar script.&lt;/P&gt;&lt;P&gt;Will post that as a new question and get back to this as soon as i've been able to solve it (with the communities help &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Dec 2017 13:49:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Master-vs-AutoCalendar-two-date-dimensions/m-p/1411876#M33180</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-27T13:49:18Z</dc:date>
    </item>
    <item>
      <title>Re: Master vs AutoCalendar &amp; two date dimensions</title>
      <link>https://community.qlik.com/t5/App-Development/Master-vs-AutoCalendar-two-date-dimensions/m-p/1411877#M33181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After some additional trial &amp;amp; error, probably based on my non-expert knowledge, the canonical date seems to do the trick.&lt;/P&gt;&lt;P&gt;I still have some weird behaviour in data visualisation, but will have to dig deeper to be able to find the issue there.&lt;/P&gt;&lt;P&gt;Thanks for your input, i'll mark this question as resolved.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Apr 2018 09:23:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Master-vs-AutoCalendar-two-date-dimensions/m-p/1411877#M33181</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-04T09:23:32Z</dc:date>
    </item>
    <item>
      <title>Re: Master vs AutoCalendar &amp; two date dimensions</title>
      <link>https://community.qlik.com/t5/App-Development/Master-vs-AutoCalendar-two-date-dimensions/m-p/1411878#M33182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Goodluck! If I got time And see your question I will try to help of course. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Apr 2018 09:50:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Master-vs-AutoCalendar-two-date-dimensions/m-p/1411878#M33182</guid>
      <dc:creator>bramkn</dc:creator>
      <dc:date>2018-04-04T09:50:05Z</dc:date>
    </item>
  </channel>
</rss>

