<?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: Calendar or diary view in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calendar-or-diary-view/m-p/285809#M106300</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;or this also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stefano&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Sep 2011 14:35:39 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-09-23T14:35:39Z</dc:date>
    <item>
      <title>Calendar or diary view</title>
      <link>https://community.qlik.com/t5/QlikView/Calendar-or-diary-view/m-p/285807#M106298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the following two tables:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;Appointment:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ID, Appointment, Weekday, Time, Transportation&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1, Library, Tuesday, 7:00, Bike&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2, Birthday, Thursday, 9:00, Car&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3, Shopping, Monday, 10:00, Car&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4, Work, Monday, 8:00, Walk&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5, Store, Tuesday, 7:00, Bus&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6, School, Wednesday, 7:00, Bike&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Weekday:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Weekday no, Weekday&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1, Monday&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2, Tuesday&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3, Wednesday&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4, Thursday&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5, Friday&lt;BR /&gt;];&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to display a table which shows the appointments and the transportation per week day and time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See the images below for two possiblities:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="table.JPG" class="jive-image-thumbnail jive-image" onclick="" src="https://community.qlik.com/legacyfs/online/7504_table.JPG" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="table2.JPG" class="jive-image-thumbnail jive-image" onclick="" src="https://community.qlik.com/legacyfs/online/7505_table2.JPG" width="450" /&gt;&lt;/P&gt;&lt;P&gt;The difference between the tables is in the red numbered rectangles. Either option would work for me, but I did not get it to work myself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anybody now how to create a table that looks similar to the examples?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Sep 2011 10:13:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calendar-or-diary-view/m-p/285807#M106298</guid>
      <dc:creator />
      <dc:date>2011-09-23T10:13:19Z</dc:date>
    </item>
    <item>
      <title>Re: Calendar or diary view</title>
      <link>https://community.qlik.com/t5/QlikView/Calendar-or-diary-view/m-p/285808#M106299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;i hope this is near to your idea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;C u,&lt;/P&gt;&lt;P&gt;Stefano&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Sep 2011 14:21:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calendar-or-diary-view/m-p/285808#M106299</guid>
      <dc:creator />
      <dc:date>2011-09-23T14:21:55Z</dc:date>
    </item>
    <item>
      <title>Re: Calendar or diary view</title>
      <link>https://community.qlik.com/t5/QlikView/Calendar-or-diary-view/m-p/285809#M106300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;or this also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stefano&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Sep 2011 14:35:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calendar-or-diary-view/m-p/285809#M106300</guid>
      <dc:creator />
      <dc:date>2011-09-23T14:35:39Z</dc:date>
    </item>
    <item>
      <title>Calendar or diary view</title>
      <link>https://community.qlik.com/t5/QlikView/Calendar-or-diary-view/m-p/285810#M106301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hello Stefano,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply. The two examples you provide are pretty close, but I would like to see the appointment name and the transportation type in one cell. The examples you provide only shows the appointment name. I would like the cells to display something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Library&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Bike&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Store&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Bus&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your first example you concatenate the appointments names with a comma. Because I want to see the transportation type also, I don't think this one will work for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your second example uses the ID field as an extra dimension. Because of this Monday gets two columns, but these are really not needed, since they fit in one column. If I would have ten appointments on different times on Monday, I would get ten columns. The only time a new column is needed is when the appointment is on the same time and day as another one (see first example image).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope you understand what I mean.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Sep 2011 14:51:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calendar-or-diary-view/m-p/285810#M106301</guid>
      <dc:creator />
      <dc:date>2011-09-23T14:51:57Z</dc:date>
    </item>
    <item>
      <title>Re: Calendar or diary view</title>
      <link>https://community.qlik.com/t5/QlikView/Calendar-or-diary-view/m-p/285811#M106302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This one?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stefano.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Sep 2011 14:56:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calendar-or-diary-view/m-p/285811#M106302</guid>
      <dc:creator />
      <dc:date>2011-09-23T14:56:47Z</dc:date>
    </item>
    <item>
      <title>Calendar or diary view</title>
      <link>https://community.qlik.com/t5/QlikView/Calendar-or-diary-view/m-p/285812#M106303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; I rewrote it to this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;CONCAT(Appointment &amp;amp; CHR(10) &amp;amp; Transportation &amp;amp; CHR(10) &amp;amp; CHR(10))&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is pretty much what I want to see, but the downside remains that it is all in the same cell. Would you think it is possible to somehow create two cells?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Sep 2011 15:20:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calendar-or-diary-view/m-p/285812#M106303</guid>
      <dc:creator />
      <dc:date>2011-09-23T15:20:51Z</dc:date>
    </item>
    <item>
      <title>Re: Calendar or diary view</title>
      <link>https://community.qlik.com/t5/QlikView/Calendar-or-diary-view/m-p/285813#M106304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this,&lt;/P&gt;&lt;P&gt;but it creates 3 rows on monday.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U can add some '----------------------' to the concat also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Otherwise i think u have to do something by script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stefano.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Sep 2011 15:40:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calendar-or-diary-view/m-p/285813#M106304</guid>
      <dc:creator />
      <dc:date>2011-09-23T15:40:41Z</dc:date>
    </item>
    <item>
      <title>Re: Calendar or diary view</title>
      <link>https://community.qlik.com/t5/QlikView/Calendar-or-diary-view/m-p/285814#M106305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanx Stefano! You pointed me in the right direction. I have altered your last file a bit and got to the result I wanted (see attached qvw).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I added a Group field to the table by using the following code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;Calendar:&lt;BR /&gt;LOAD&amp;nbsp; *,&lt;BR /&gt;&amp;nbsp;&amp;nbsp; IF(Weekday = PREVIOUS(Weekday) AND Time = PREVIOUS(Time), PEEK('Group') + 1, 1) AS Group&lt;BR /&gt;RESIDENT Appointment&lt;BR /&gt;ORDER BY Weekday, Time;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP TABLE Appointment;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;In the table I replaced the ID field with this newly added group field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This does the trick. Pretty simple and obvious actually. Thanks again for you help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Sep 2011 06:33:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calendar-or-diary-view/m-p/285814#M106305</guid>
      <dc:creator />
      <dc:date>2011-09-26T06:33:44Z</dc:date>
    </item>
  </channel>
</rss>

