<?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: compute time between tweet and reply in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/compute-time-between-tweet-and-reply/m-p/890201#M310196</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;another solution could be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_164634_Pic1.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/87365_QlikCommunity_Thread_164634_Pic1.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14323389149203930 jive_text_macro" jivemacro_uid="_14323389149203930"&gt;
&lt;P&gt;table1:&lt;/P&gt;
&lt;P&gt;CrossTable (TimeStampType, ID)&lt;/P&gt;
&lt;P&gt;LOAD Search_created_at_timestamp_local as TimeStamp, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Search_id as Start, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Search_in_reply_to_status_id as End&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;FROM [&lt;/SPAN&gt;&lt;A class="jive-link-thread-small" data-containerid="2051" data-containertype="14" data-objectid="164634" data-objecttype="1" href="https://community.qlik.com/thread/164634"&gt;https://community.qlik.com/thread/164634&lt;/A&gt;&lt;SPAN&gt;] (html, codepage is 1252, embedded labels, table is @1);&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;table2:&lt;/P&gt;
&lt;P&gt;Generic LOAD&lt;/P&gt;
&lt;P&gt;&amp;nbsp; ID,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; TimeStampType,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; TimeStamp&lt;/P&gt;
&lt;P&gt;Resident table1;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;table3:&lt;/P&gt;
&lt;P&gt;LOAD Distinct ID Resident table1 Where Len(ID);&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;DROP Table table1;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;FOR i = NoOfTables()-1 to 0 STEP -1&lt;/P&gt;
&lt;P&gt;&amp;nbsp; LET vTable=TableName($(i));&lt;/P&gt;
&lt;P&gt;&amp;nbsp; IF WildMatch('$(vTable)', 'table2.*') THEN&lt;/P&gt;
&lt;P&gt;&amp;nbsp; LEFT JOIN (table3) LOAD * RESIDENT [$(vTable)];&lt;/P&gt;
&lt;P&gt;&amp;nbsp; DROP TABLE [$(vTable)];&lt;/P&gt;
&lt;P&gt;&amp;nbsp; ENDIF&lt;/P&gt;
&lt;P&gt;NEXT i&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Left Join (table3)&lt;/P&gt;
&lt;P&gt;LOAD Distinct&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Start,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; End,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Interval(End-Start) as TweetTime&lt;/P&gt;
&lt;P&gt;Resident table3;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_164634_Pic2.JPG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/87366_QlikCommunity_Thread_164634_Pic2.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 May 2015 23:55:50 GMT</pubDate>
    <dc:creator>MarcoWedel</dc:creator>
    <dc:date>2015-05-22T23:55:50Z</dc:date>
    <item>
      <title>compute time between tweet and reply</title>
      <link>https://community.qlik.com/t5/QlikView/compute-time-between-tweet-and-reply/m-p/890195#M310190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;/P&gt;&lt;P&gt;i am testing qvsource connector for tweeter and want to compute the time between a tweeter and its reply.&lt;/P&gt;&lt;P&gt;there is a table like this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 469px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="18" width="199"&gt;Search_created_at_timestamp_local&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="106"&gt;Search_id&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="164"&gt;Search_in_reply_to_status_id&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="18" style="border-top: none;"&gt;11/05/2015 09:41:29&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;597667829014466561&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="18" style="border-top: none;"&gt;11/05/2015 09:42:18&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;597668036955480065&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;597656467735506944&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="18" style="border-top: none;"&gt;11/05/2015 09:49:15&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;597669784596180992&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;597666804216025088&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="18" style="border-top: none;"&gt;11/05/2015 09:49:53&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;597669942742384640&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;597667829014466561&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="18" style="border-top: none;"&gt;11/05/2015 09:50:39&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;&lt;STRONG style="text-decoration: underline;"&gt;597670138431807489&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="18" style="border-top: none;"&gt;11/05/2015 09:53:31&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;597670859923398656&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;597666767603900416&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="18" style="border-top: none;"&gt;11/05/2015 09:57:23&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;597671830472765440&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;&lt;STRONG style="text-decoration: underline;"&gt;597670138431807489&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="18" style="border-top: none;"&gt;11/05/2015 10:03:42&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;597673420734730240&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;597671830472765440&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="18" style="border-top: none;"&gt;11/05/2015 10:04:36&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;597673645864034305&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;597668036955480065&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="18" style="border-top: none;"&gt;11/05/2015 10:27:41&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;597679458418589696&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;597673420734730240&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="18" style="border-top: none;"&gt;11/05/2015 10:45:28&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;597683933107585024&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="18" style="border-top: none;"&gt;11/05/2015 10:48:09&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;597684607371386880&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;597683933107585024&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="18" style="border-top: none;"&gt;11/05/2015 10:54:42&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;597686256051552256&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;597298070532001793&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i ha to look for the id of search_id_reply_to_status_id in the colum search id and make the diferents of the values of the first column of the two records.&lt;/P&gt;&lt;P&gt;for example:&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 469px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="18" width="199"&gt;11/05/2015 09:50:39&lt;/TD&gt;&lt;TD class="xl67" style="border-left: none;" width="106"&gt;597670138431807489&lt;/TD&gt;&lt;TD class="xl66" style="border-left: none;" width="164"&gt;&lt;P&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="469"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="18" width="199"&gt;11/05/2015 09:57:23&lt;/TD&gt;&lt;TD class="xl66" style="border-left: none;" width="106"&gt;597671830472765440&lt;/TD&gt;&lt;TD class="xl67" style="border-left: none;" width="164"&gt;&lt;P&gt;597670138431807489&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the tweet time is = 09:57:23 - 09:50:39&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any ideas how to do this??, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks regards&lt;/P&gt;&lt;P&gt;dcd&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2015 16:14:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/compute-time-between-tweet-and-reply/m-p/890195#M310190</guid>
      <dc:creator>dcd123456</dc:creator>
      <dc:date>2015-05-19T16:14:00Z</dc:date>
    </item>
    <item>
      <title>Re: compute time between tweet and reply</title>
      <link>https://community.qlik.com/t5/QlikView/compute-time-between-tweet-and-reply/m-p/890196#M310191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;do you want this change in the front end or the backend ?&lt;/P&gt;&lt;P&gt;I recommend doing this a backend, you can use applymap &lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/2756"&gt;Don't join - use Applymap instead&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a front end option would be using p(), though depending on the amount of data this could not be a viable solution&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2015 16:21:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/compute-time-between-tweet-and-reply/m-p/890196#M310191</guid>
      <dc:creator>ramoncova06</dc:creator>
      <dc:date>2015-05-19T16:21:12Z</dc:date>
    </item>
    <item>
      <title>Re: compute time between tweet and reply</title>
      <link>https://community.qlik.com/t5/QlikView/compute-time-between-tweet-and-reply/m-p/890197#M310192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ramón&lt;/P&gt;&lt;P&gt;Coud you explain me how to use applymap in this example, i have three fields &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="border: 0px; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;TBODY style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD class="xl63" height="18" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;" width="199"&gt;Search_created_at_timestamp_local&lt;/TD&gt;&lt;TD class="xl63" style="padding-right: 4px; padding-left: 4px; border-style: solid solid solid none; border-top-color: black; border-right-color: black; border-bottom-color: black; font-style: inherit; font-family: inherit;" width="106"&gt;Search_id&lt;/TD&gt;&lt;TD class="xl63" style="padding-right: 4px; padding-left: 4px; border-style: solid solid solid none; border-top-color: black; border-right-color: black; border-bottom-color: black; font-style: inherit; font-family: inherit;" width="164"&gt;&lt;P&gt;Search_in_reply_to_status_id&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i can define a mappinng table like this&lt;/P&gt;&lt;P&gt;t_map:&lt;/P&gt;&lt;P&gt;Mapping LOAD Search_id, Search_created_at_timestamp_local &lt;/P&gt;&lt;P&gt;Resident t_tweets;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but now how i can use applymay() ????&lt;/P&gt;&lt;P&gt;i have to look for the value of the field &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Search_in_reply_to_status_id in the field &lt;SPAN style="font-size: 13.3333330154419px;"&gt;Search_id&amp;nbsp; and return&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Search_created_at_timestamp_local&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;?¿??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2015 19:20:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/compute-time-between-tweet-and-reply/m-p/890197#M310192</guid>
      <dc:creator>dcd123456</dc:creator>
      <dc:date>2015-05-19T19:20:34Z</dc:date>
    </item>
    <item>
      <title>Re: compute time between tweet and reply</title>
      <link>https://community.qlik.com/t5/QlikView/compute-time-between-tweet-and-reply/m-p/890198#M310193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you would have to create another resident load once you have identified the field that you want, check the example below, I applied a null value for whatever the map could not find, you can change the to 'NA' or anything else you prefer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Temp:&lt;/P&gt;&lt;P&gt;load * Inline&lt;/P&gt;&lt;P&gt;[Search_created_at_timestamp_local , Search_id , Search_in_reply_to_status_id&lt;/P&gt;&lt;P&gt;11/5/2015 9:41 , 597667829014466561 ,&lt;/P&gt;&lt;P&gt;11/5/2015 9:42 , 597668036955480065 , 597656467735506944&lt;/P&gt;&lt;P&gt;11/5/2015 9:49 , 597669784596180992 , 597666804216025088&lt;/P&gt;&lt;P&gt;11/5/2015 9:49 , 597669942742384640 , 597667829014466561&lt;/P&gt;&lt;P&gt;11/5/2015 9:50 , 597670138431807489 ,&lt;/P&gt;&lt;P&gt;11/5/2015 9:53 , 597670859923398656 , 597666767603900416&lt;/P&gt;&lt;P&gt;11/5/2015 9:57 , 597671830472765440 , 597670138431807489&lt;/P&gt;&lt;P&gt;11/5/2015 10:03 , 597673420734730240 , 597671830472765440&lt;/P&gt;&lt;P&gt;11/5/2015 10:04 , 597673645864034305 , 597668036955480065&lt;/P&gt;&lt;P&gt;11/5/2015 10:27 , 597679458418589696 , 597673420734730240&lt;/P&gt;&lt;P&gt;11/5/2015 10:45 , 597683933107585024 ,&lt;/P&gt;&lt;P&gt;11/5/2015 10:48 , 597684607371386880 , 597683933107585024&lt;/P&gt;&lt;P&gt;11/5/2015 10:54 , 597686256051552256 , 597298070532001793];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mapping&lt;/P&gt;&lt;P&gt;Reply:&lt;/P&gt;&lt;P&gt;load Search_in_reply_to_status_id,&lt;/P&gt;&lt;P&gt;Search_created_at_timestamp_local&lt;/P&gt;&lt;P&gt;Resident Temp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Final:&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;*,&lt;/P&gt;&lt;P&gt;ApplyMap('Reply',Search_id,null()) as ReplyTime&lt;/P&gt;&lt;P&gt;Resident Temp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;drop table Temp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2015 21:06:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/compute-time-between-tweet-and-reply/m-p/890198#M310193</guid>
      <dc:creator>ramoncova06</dc:creator>
      <dc:date>2015-05-19T21:06:30Z</dc:date>
    </item>
    <item>
      <title>Re: compute time between tweet and reply</title>
      <link>https://community.qlik.com/t5/QlikView/compute-time-between-tweet-and-reply/m-p/890199#M310194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it works fine.&lt;/P&gt;&lt;P&gt;thanks very much for your help&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;dcd&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2015 19:32:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/compute-time-between-tweet-and-reply/m-p/890199#M310194</guid>
      <dc:creator>dcd123456</dc:creator>
      <dc:date>2015-05-20T19:32:59Z</dc:date>
    </item>
    <item>
      <title>Re: compute time between tweet and reply</title>
      <link>https://community.qlik.com/t5/QlikView/compute-time-between-tweet-and-reply/m-p/890200#M310195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Glad it helped &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2015 19:37:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/compute-time-between-tweet-and-reply/m-p/890200#M310195</guid>
      <dc:creator>ramoncova06</dc:creator>
      <dc:date>2015-05-20T19:37:50Z</dc:date>
    </item>
    <item>
      <title>Re: compute time between tweet and reply</title>
      <link>https://community.qlik.com/t5/QlikView/compute-time-between-tweet-and-reply/m-p/890201#M310196</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;another solution could be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_164634_Pic1.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/87365_QlikCommunity_Thread_164634_Pic1.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14323389149203930 jive_text_macro" jivemacro_uid="_14323389149203930"&gt;
&lt;P&gt;table1:&lt;/P&gt;
&lt;P&gt;CrossTable (TimeStampType, ID)&lt;/P&gt;
&lt;P&gt;LOAD Search_created_at_timestamp_local as TimeStamp, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Search_id as Start, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Search_in_reply_to_status_id as End&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;FROM [&lt;/SPAN&gt;&lt;A class="jive-link-thread-small" data-containerid="2051" data-containertype="14" data-objectid="164634" data-objecttype="1" href="https://community.qlik.com/thread/164634"&gt;https://community.qlik.com/thread/164634&lt;/A&gt;&lt;SPAN&gt;] (html, codepage is 1252, embedded labels, table is @1);&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;table2:&lt;/P&gt;
&lt;P&gt;Generic LOAD&lt;/P&gt;
&lt;P&gt;&amp;nbsp; ID,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; TimeStampType,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; TimeStamp&lt;/P&gt;
&lt;P&gt;Resident table1;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;table3:&lt;/P&gt;
&lt;P&gt;LOAD Distinct ID Resident table1 Where Len(ID);&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;DROP Table table1;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;FOR i = NoOfTables()-1 to 0 STEP -1&lt;/P&gt;
&lt;P&gt;&amp;nbsp; LET vTable=TableName($(i));&lt;/P&gt;
&lt;P&gt;&amp;nbsp; IF WildMatch('$(vTable)', 'table2.*') THEN&lt;/P&gt;
&lt;P&gt;&amp;nbsp; LEFT JOIN (table3) LOAD * RESIDENT [$(vTable)];&lt;/P&gt;
&lt;P&gt;&amp;nbsp; DROP TABLE [$(vTable)];&lt;/P&gt;
&lt;P&gt;&amp;nbsp; ENDIF&lt;/P&gt;
&lt;P&gt;NEXT i&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Left Join (table3)&lt;/P&gt;
&lt;P&gt;LOAD Distinct&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Start,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; End,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Interval(End-Start) as TweetTime&lt;/P&gt;
&lt;P&gt;Resident table3;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_164634_Pic2.JPG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/87366_QlikCommunity_Thread_164634_Pic2.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 May 2015 23:55:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/compute-time-between-tweet-and-reply/m-p/890201#M310196</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2015-05-22T23:55:50Z</dc:date>
    </item>
    <item>
      <title>Re: compute time between tweet and reply</title>
      <link>https://community.qlik.com/t5/QlikView/compute-time-between-tweet-and-reply/m-p/890202#M310197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marco&lt;/P&gt;&lt;P&gt;Thanks very much for your answer.&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;P&gt;dcd&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2015 11:13:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/compute-time-between-tweet-and-reply/m-p/890202#M310197</guid>
      <dc:creator>dcd123456</dc:creator>
      <dc:date>2015-05-26T11:13:16Z</dc:date>
    </item>
  </channel>
</rss>

