<?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 Pivot Table - working with strings in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Pivot-Table-working-with-strings/m-p/461388#M172283</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;I am very new to Qlickview and would much appreciate some help !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to create a pivot table that tracks activity.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The data contains the following fields (all strings) :&lt;/P&gt;&lt;P&gt;- Activity &lt;/P&gt;&lt;P&gt;- Date Occurred (format = yyyymmdd)&lt;/P&gt;&lt;P&gt;- Time Occurred (format = hhmmss - if the hour is a single value ie 01 then the format would be hmmss -11355 = 01:13:55)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like the pivot table to :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Group by Date (i have this working)&lt;/P&gt;&lt;P&gt;- Show activity (i have this working)&lt;/P&gt;&lt;P&gt;- Order by the time (i have this working)&lt;/P&gt;&lt;P&gt;- For each day show the amount of time between the first activity and the last activity (i am stuck on this)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be much appreciated !!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Jan 2013 09:53:06 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-01-28T09:53:06Z</dc:date>
    <item>
      <title>Pivot Table - working with strings</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-working-with-strings/m-p/461388#M172283</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;I am very new to Qlickview and would much appreciate some help !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to create a pivot table that tracks activity.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The data contains the following fields (all strings) :&lt;/P&gt;&lt;P&gt;- Activity &lt;/P&gt;&lt;P&gt;- Date Occurred (format = yyyymmdd)&lt;/P&gt;&lt;P&gt;- Time Occurred (format = hhmmss - if the hour is a single value ie 01 then the format would be hmmss -11355 = 01:13:55)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like the pivot table to :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Group by Date (i have this working)&lt;/P&gt;&lt;P&gt;- Show activity (i have this working)&lt;/P&gt;&lt;P&gt;- Order by the time (i have this working)&lt;/P&gt;&lt;P&gt;- For each day show the amount of time between the first activity and the last activity (i am stuck on this)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be much appreciated !!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jan 2013 09:53:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-working-with-strings/m-p/461388#M172283</guid>
      <dc:creator />
      <dc:date>2013-01-28T09:53:06Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table - working with strings</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-working-with-strings/m-p/461389#M172284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi we can use calculated dimensions and use interval() function to find the day diff.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jan 2013 09:57:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-working-with-strings/m-p/461389#M172284</guid>
      <dc:creator>sujeetsingh</dc:creator>
      <dc:date>2013-01-28T09:57:56Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table - working with strings</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-working-with-strings/m-p/461390#M172285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having trouble with the interval() function because of the format of my time fields (Its a string).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eg : 11355 - 161355 &lt;/P&gt;&lt;P&gt;This should be 01:13:55 - 16:13:55&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible for the interval function to understand the format.&lt;/P&gt;&lt;P&gt;Or do i need to do some string manipulation myself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the answer is string manipulation do you have any tips ?&lt;/P&gt;&lt;P&gt;My main problem is the variability between a 5 an 6 char string stops me using a standard function eg Right('11355',2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jan 2013 14:27:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-working-with-strings/m-p/461390#M172285</guid>
      <dc:creator />
      <dc:date>2013-01-28T14:27:31Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table - working with strings</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-working-with-strings/m-p/461391#M172286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;subfield('&lt;SPAN style="color: #737373; font-family: Arial; font-size: 12.727272033691406px; background-color: #ffffff;"&gt;11355 - 161355&lt;/SPAN&gt;','-',1)&lt;/P&gt;&lt;P&gt;will give you &lt;SPAN style="color: #737373; font-family: Arial; font-size: 12.727272033691406px; background-color: #ffffff;"&gt;11355 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;subfield('&lt;SPAN style="color: #737373; font-family: Arial; font-size: 12.727272033691406px; background-color: #ffffff;"&gt;11355 - 161355&lt;/SPAN&gt;','-',2)&lt;/P&gt;&lt;P&gt;will give you &lt;SPAN style="color: #737373; font-size: 12.727272033691406px; background-color: #ffffff; font-family: Arial;"&gt;161355&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jan 2013 14:56:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-working-with-strings/m-p/461391#M172286</guid>
      <dc:creator>RedSky001</dc:creator>
      <dc:date>2013-01-28T14:56:23Z</dc:date>
    </item>
  </channel>
</rss>

