<?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: Straight table with different attributes in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Straight-table-with-different-attributes/m-p/1066106#M356399</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, with your idea I got it working! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers, &lt;/P&gt;&lt;P&gt;Inês&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Jan 2016 14:28:59 GMT</pubDate>
    <dc:creator>inescastelhano</dc:creator>
    <dc:date>2016-01-12T14:28:59Z</dc:date>
    <item>
      <title>Straight table with different attributes</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-table-with-different-attributes/m-p/1066101#M356394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to have a table relative to an hospital priorization (triage) according to manchester priorization (like red bracelet - emergency, orange bracelet - very urgent, yellow -urgent , green - not urgent). This triage can occur several times, if the patient's health gets worse.&lt;/P&gt;&lt;P&gt;So , lets imagine that a patient gets a green bracelet at 15:00:00h. At 16:00:00h, he gets a new, orange bracelet. I would like to have a table where I display the last colour of the bracelet (orange) but calculate the time difference between now (18:00:00h) and the time of the first bracelet assignment (16:00:00h). Something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ID&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Colour&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Waiting Time&lt;/P&gt;&lt;P&gt;123&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; John&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Orange&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2:00:00h (18:00:00h - 15:00:00)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know if I can get this in a table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;Inês Castelhano&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jan 2016 17:59:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-table-with-different-attributes/m-p/1066101#M356394</guid>
      <dc:creator>inescastelhano</dc:creator>
      <dc:date>2016-01-11T17:59:02Z</dc:date>
    </item>
    <item>
      <title>Re: Straight table with different attributes</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-table-with-different-attributes/m-p/1066102#M356395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;based on your example, wouldnt the first bracelet time be 15:00 - that is when he got the green bracelet.&amp;nbsp; Would you also want to keep track of the different bracelets the person receives?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jan 2016 19:20:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-table-with-different-attributes/m-p/1066102#M356395</guid>
      <dc:creator />
      <dc:date>2016-01-11T19:20:34Z</dc:date>
    </item>
    <item>
      <title>Re: Straight table with different attributes</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-table-with-different-attributes/m-p/1066103#M356396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use the FirstSortedValue function to retrieve the last colour: FirstSortedValue(Colour, -Time). The waiting time can be calculated with something like Interval(Now()- Max(Time),'hh:mm:ss')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jan 2016 19:23:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-table-with-different-attributes/m-p/1066103#M356396</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-01-11T19:23:34Z</dc:date>
    </item>
    <item>
      <title>Re: Straight table with different attributes</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-table-with-different-attributes/m-p/1066104#M356397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Inês,&lt;/P&gt;&lt;P&gt;Do you want a histoy of that? Or just the last?&lt;/P&gt;&lt;P&gt;Where QlikView enters here? This sheet will be updated manually?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QV has a function called Interval that you can use to show the "Waiting Time".&lt;/P&gt;&lt;P&gt;Something like this:&lt;/P&gt;&lt;P&gt;interval(vWaitingTime - now(), 'hh:mm:ss') &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Giba&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jan 2016 19:24:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-table-with-different-attributes/m-p/1066104#M356397</guid>
      <dc:creator />
      <dc:date>2016-01-11T19:24:26Z</dc:date>
    </item>
    <item>
      <title>Re: Straight table with different attributes</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-table-with-different-attributes/m-p/1066105#M356398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Correct, should be 15:00:00. I corrected it already. I don't want to keep track, I just want to show in the same row last colour and waiting time (using first hour/time).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jan 2016 10:14:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-table-with-different-attributes/m-p/1066105#M356398</guid>
      <dc:creator>inescastelhano</dc:creator>
      <dc:date>2016-01-12T10:14:29Z</dc:date>
    </item>
    <item>
      <title>Re: Straight table with different attributes</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-table-with-different-attributes/m-p/1066106#M356399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, with your idea I got it working! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers, &lt;/P&gt;&lt;P&gt;Inês&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jan 2016 14:28:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-table-with-different-attributes/m-p/1066106#M356399</guid>
      <dc:creator>inescastelhano</dc:creator>
      <dc:date>2016-01-12T14:28:59Z</dc:date>
    </item>
  </channel>
</rss>

