<?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: IntervallMatch in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/IntervallMatch/m-p/482790#M180435</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, I don't understand what you want to do here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have a transaction table with purchase timestamps, ok.&lt;/P&gt;&lt;P&gt;How do you want to determine the length of the rental from that? Are there any conditions they sign?&lt;/P&gt;&lt;P&gt;If you know the allowed rental period, you can just create a new field for the end date adding the rental period to the start timestamp:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Let vRentalPeriod = 2.5; // days&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD Xstream_Purchase__User_ID, &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Xstream_Purchase__Date, &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Xstream_Purchase__Time, &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Xstream_Purchase__Movie_ID,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; timestamp(Xstream_Purchase__Date+Xstream_Purchase__Time) as PurchaseDateTime,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; timestamp(Xstream_Purchase__Date+Xstream_Purchase__Time+$(vRentalPeriod)) as RentalEndDateTime&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;FROM&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;[IntervallMatch.xlsx]&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;(ooxml, embedded labels, table is Sheet1);&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 23 Nov 2013 12:38:20 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2013-11-23T12:38:20Z</dc:date>
    <item>
      <title>IntervallMatch</title>
      <link>https://community.qlik.com/t5/QlikView/IntervallMatch/m-p/482789#M180434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Based on daily data from a TV distributor, they offer people to rent movies. I have a discrete table with a Date_Time stamp when a movie is rented. &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;The discrete table does not have a start and end time for rental, but I was thinking about generate a INLINE table with four different timeintervalls. I have not succeded on this, Can anyone give me a hint how to cope with this. The onle exmples I have seen is based on Start and End time in the transactionsdata. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tormod Hanstad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Nov 2013 09:08:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IntervallMatch/m-p/482789#M180434</guid>
      <dc:creator>thanstad</dc:creator>
      <dc:date>2013-11-23T09:08:38Z</dc:date>
    </item>
    <item>
      <title>Re: IntervallMatch</title>
      <link>https://community.qlik.com/t5/QlikView/IntervallMatch/m-p/482790#M180435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, I don't understand what you want to do here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have a transaction table with purchase timestamps, ok.&lt;/P&gt;&lt;P&gt;How do you want to determine the length of the rental from that? Are there any conditions they sign?&lt;/P&gt;&lt;P&gt;If you know the allowed rental period, you can just create a new field for the end date adding the rental period to the start timestamp:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Let vRentalPeriod = 2.5; // days&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD Xstream_Purchase__User_ID, &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Xstream_Purchase__Date, &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Xstream_Purchase__Time, &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Xstream_Purchase__Movie_ID,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; timestamp(Xstream_Purchase__Date+Xstream_Purchase__Time) as PurchaseDateTime,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; timestamp(Xstream_Purchase__Date+Xstream_Purchase__Time+$(vRentalPeriod)) as RentalEndDateTime&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;FROM&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;[IntervallMatch.xlsx]&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;(ooxml, embedded labels, table is Sheet1);&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Nov 2013 12:38:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IntervallMatch/m-p/482790#M180435</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2013-11-23T12:38:20Z</dc:date>
    </item>
    <item>
      <title>Re: IntervallMatch</title>
      <link>https://community.qlik.com/t5/QlikView/IntervallMatch/m-p/482791#M180436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for reply and suggestion. Well I was thinking about to split the Date/Time into groups Morning,Afternoon, Night etc. But I see now that an loose table generated by inline with this groups and use this one to make this split. &lt;/P&gt;&lt;P&gt;Split_hrs:&lt;/P&gt;&lt;P&gt;LOAD INLINE[Group,Description&lt;/P&gt;&lt;P&gt;0,Morning&lt;/P&gt;&lt;P&gt;1,Afternoon&lt;/P&gt;&lt;P&gt;2,Evening&lt;/P&gt;&lt;P&gt;3,Night&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;Tormod &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Nov 2013 07:40:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IntervallMatch/m-p/482791#M180436</guid>
      <dc:creator>thanstad</dc:creator>
      <dc:date>2013-11-24T07:40:03Z</dc:date>
    </item>
  </channel>
</rss>

