<?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 Activity timeline help in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Activity-timeline-help/m-p/840563#M295408</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-size: 12pt;"&gt;Hi.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-size: 12pt;"&gt;I’d like to build a timeline showing hospital activity. The timeline should return one row per patient.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-size: 12pt;"&gt;My dataset includes PatientID, EventType, DayNumber (DayNumber being the number of the day on which the activity occurred).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-size: 12pt;"&gt;One patient may have many events. One patient may have the same event repeated on several occasions and in any order. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-size: 12pt;"&gt;The attached is based on an example from John Wetherspoon, I’d like some help with the following:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #1f497d; font-size: 12pt;"&gt;1) I'd like to show a different colour/symbol for each EventType (this seems to work if there is just one PatientID selected).&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt; &lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #1f497d; font-size: 12pt;"&gt;2) I'd like PatientIDs to be distributed evenly along the Y axis (this is a real problem when PatientIDs are separated by several thousand units). Scroll bars would be fine.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt; &lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #1f497d; font-size: 12pt;"&gt;3) I'd like to display activity where a PatientID is associated several times with the same EventType – currently the graph returns nothing in this instance (eg Event type F for PatientID 1010).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-size: 12pt;"&gt;Many thanks in advance, Michael.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Apr 2015 12:08:21 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-04-28T12:08:21Z</dc:date>
    <item>
      <title>Activity timeline help</title>
      <link>https://community.qlik.com/t5/QlikView/Activity-timeline-help/m-p/840563#M295408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-size: 12pt;"&gt;Hi.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-size: 12pt;"&gt;I’d like to build a timeline showing hospital activity. The timeline should return one row per patient.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-size: 12pt;"&gt;My dataset includes PatientID, EventType, DayNumber (DayNumber being the number of the day on which the activity occurred).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-size: 12pt;"&gt;One patient may have many events. One patient may have the same event repeated on several occasions and in any order. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-size: 12pt;"&gt;The attached is based on an example from John Wetherspoon, I’d like some help with the following:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #1f497d; font-size: 12pt;"&gt;1) I'd like to show a different colour/symbol for each EventType (this seems to work if there is just one PatientID selected).&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt; &lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #1f497d; font-size: 12pt;"&gt;2) I'd like PatientIDs to be distributed evenly along the Y axis (this is a real problem when PatientIDs are separated by several thousand units). Scroll bars would be fine.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt; &lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #1f497d; font-size: 12pt;"&gt;3) I'd like to display activity where a PatientID is associated several times with the same EventType – currently the graph returns nothing in this instance (eg Event type F for PatientID 1010).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-size: 12pt;"&gt;Many thanks in advance, Michael.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2015 12:08:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Activity-timeline-help/m-p/840563#M295408</guid>
      <dc:creator />
      <dc:date>2015-04-28T12:08:21Z</dc:date>
    </item>
    <item>
      <title>Re: Activity timeline help</title>
      <link>https://community.qlik.com/t5/QlikView/Activity-timeline-help/m-p/840564#M295409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See if the attached helps, at least in some way.&amp;nbsp; I used line chart instead of the scatter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.Color expression:&lt;BR /&gt;color(match("Event Type",'A','B','C','D','E','F'))&lt;/P&gt;&lt;P&gt;Also checked persistent colors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Added "Order" field for even distribution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. I don't get ths one &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;MS &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, 28 Apr 2015 13:21:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Activity-timeline-help/m-p/840564#M295409</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-28T13:21:42Z</dc:date>
    </item>
    <item>
      <title>Re: Activity timeline help</title>
      <link>https://community.qlik.com/t5/QlikView/Activity-timeline-help/m-p/840565#M295410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; color: #1f497d; font-size: 11pt;"&gt;Thanks very much for taking the time to look at this Michael, I really appreciate it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; color: #1f497d; font-size: 11pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; color: #1f497d; font-size: 11pt;"&gt;1) This is good, but can we make the line black? The legend would also need to represent EventType rather than PatientD.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; color: #1f497d; font-size: 11pt;"&gt;2) I think the problem persists as there are hundreds of thousands of PatientIDs (and therefore by extension Order). If a user selects 2 PatientIDs where the Order value is separated by 10,000 units we still get a lot of white space.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; color: #1f497d; font-size: 11pt;"&gt;3) Nice one, you fixed this!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; color: #1f497d; font-size: 11pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; color: #1f497d; font-size: 11pt;"&gt;Thanks again, &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; color: #1f497d; font-size: 11pt;"&gt;Michael.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2015 14:02:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Activity-timeline-help/m-p/840565#M295410</guid>
      <dc:creator />
      <dc:date>2015-04-28T14:02:50Z</dc:date>
    </item>
    <item>
      <title>Re: Activity timeline help</title>
      <link>https://community.qlik.com/t5/QlikView/Activity-timeline-help/m-p/840566#M295411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Michael.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had a very similar request for Secondary care info, i.e how many A&amp;amp;E / In Patient / Out Patient attendances for a GP Practice list. It is meant to focus on one patient and has lots of entries for each type for each patient, over time, with the associated costs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I kludged it by doing something similar to the attached - &lt;A href="https://community.qlik.com/qlik-users/3931"&gt;msolomov&lt;/A&gt; has done it more elegantly, 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>Tue, 28 Apr 2015 14:17:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Activity-timeline-help/m-p/840566#M295411</guid>
      <dc:creator>ThornOfCrowns</dc:creator>
      <dc:date>2015-04-28T14:17:59Z</dc:date>
    </item>
    <item>
      <title>Re: Activity timeline help</title>
      <link>https://community.qlik.com/t5/QlikView/Activity-timeline-help/m-p/840567#M295412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've tried some changes, but not much I can do.&amp;nbsp; Also experimented with a scatter.&lt;/P&gt;&lt;P&gt;If you improve it further - share please &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, 28 Apr 2015 14:54:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Activity-timeline-help/m-p/840567#M295412</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-28T14:54:38Z</dc:date>
    </item>
    <item>
      <title>Re: Activity timeline help</title>
      <link>https://community.qlik.com/t5/QlikView/Activity-timeline-help/m-p/840568#M295413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm a little late this thread, but perhaps this would be of interest. I just learned of this Timeline extension available on Qlik Branch that might be home run for this type of analysis in healthcare. It's for Qlik Sense, so you can simply move your QVW over and adapt the data to use this extension: &lt;A href="http://branch.qlik.com/projects/showthread.php?643-Qlik-Sense-interactve-Timeline" style="font-size: 10pt; line-height: 1.5em;" title="http://branch.qlik.com/projects/showthread.php?643-Qlik-Sense-interactve-Timeline"&gt;http://branch.qlik.com/projects/showthread.php?643-Qlik-Sense-interactve-Timeline&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What are your thoughts?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Timeline.gif" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/101318_Timeline.gif" style="height: 250px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can download the extension and an example Qlik Sense app to try it out.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2015 16:22:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Activity-timeline-help/m-p/840568#M295413</guid>
      <dc:creator>joe_warbington</dc:creator>
      <dc:date>2015-10-07T16:22:30Z</dc:date>
    </item>
    <item>
      <title>Re: Activity timeline help</title>
      <link>https://community.qlik.com/t5/QlikView/Activity-timeline-help/m-p/840569#M295414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I realize this is an old thread, but I have a similar issue and am hoping someone has more ideas...&lt;/P&gt;&lt;P&gt;The objective is to display a timeline of events to give a visual indication of what's going on. Here's what I was able to create:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="timeline1.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/119723_timeline1.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did this by creating a Line Chart with EventTime as the dimension, and an expression as =Dual(Left(EventDesc,40),EventTime). Values on Data points, display symbol circles. The x-axis has a range with static min = =ArrivalDateTime-.01 and static max =now() &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The graph above is not bad, but you can imagine that when time is compressed, the labels overwrite. It would work better if there were a way to have vertical lines and horizontal, stacked text like the movie above.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Mar 2016 17:53:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Activity-timeline-help/m-p/840569#M295414</guid>
      <dc:creator>daveatkins</dc:creator>
      <dc:date>2016-03-29T17:53:50Z</dc:date>
    </item>
  </channel>
</rss>

