<?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 Time interval between two tables in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Time-interval-between-two-tables/m-p/1872979#M72017</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I have two tables: events table and campaign table.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to calculate the time interval between the rows on the tables in order to measure the effectiveness of the campaigns.&lt;/P&gt;
&lt;P&gt;I want to do that on the script so that it wouldn't have an effect on the performance.&lt;/P&gt;
&lt;P&gt;Table examples:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1. Events that a user did&lt;/P&gt;
&lt;TABLE border="1" width="69.44533650631605%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="12.5%" height="54px"&gt;&lt;STRONG&gt;date and time&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="25%" height="54px"&gt;&lt;STRONG&gt;event name&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="25%" height="54px"&gt;&lt;STRONG&gt;user email&lt;/STRONG&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="12.5%" height="57px"&gt;12/15/2021 8:19:20 AM&lt;/TD&gt;
&lt;TD width="25%" height="57px"&gt;registered&amp;nbsp;&lt;/TD&gt;
&lt;TD width="25%" height="57px"&gt;a@a.com&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="12.5%" height="57px"&gt;12/15/2021 8:20:20 AM&lt;/TD&gt;
&lt;TD width="25%" height="57px"&gt;login&lt;/TD&gt;
&lt;TD width="25%" height="57px"&gt;a@a.com&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="12.5%" height="57px"&gt;12/19/2021 8:17:20 AM&lt;/TD&gt;
&lt;TD width="25%" height="57px"&gt;paid&amp;nbsp;&lt;/TD&gt;
&lt;TD width="25%" height="57px"&gt;b@b.com&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2. Campaigns information&amp;nbsp;&lt;/P&gt;
&lt;TABLE border="1" width="75%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="12.5%" height="46px"&gt;&lt;STRONG&gt;date and time&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="12.5%" height="46px"&gt;&lt;STRONG&gt;campaign name&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="25%" height="46px"&gt;&lt;STRONG&gt;campaign event&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="25%" height="46px"&gt;&lt;STRONG&gt;user email&lt;/STRONG&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="12.5%" height="46px"&gt;12/13/2021 2:10:20 AM&lt;/TD&gt;
&lt;TD width="12.5%" height="46px"&gt;aaa&lt;/TD&gt;
&lt;TD width="25%" height="46px"&gt;sent&lt;/TD&gt;
&lt;TD width="25%" height="46px"&gt;a@a.com&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="12.5%" height="46px"&gt;12/15/2021 8:16:20 AM&lt;/TD&gt;
&lt;TD width="12.5%" height="46px"&gt;aaa&lt;/TD&gt;
&lt;TD width="25%" height="46px"&gt;view&lt;/TD&gt;
&lt;TD width="25%" height="46px"&gt;a@a.com&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="12.5%" height="46px"&gt;12/15/2021 8:17:20 AM&lt;/TD&gt;
&lt;TD width="12.5%" height="46px"&gt;aaa&lt;/TD&gt;
&lt;TD width="25%" height="46px"&gt;click&lt;/TD&gt;
&lt;TD width="25%" height="46px"&gt;a@a.com&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="12.5%" height="46px"&gt;12/17/2021 2:10:20 AM&lt;/TD&gt;
&lt;TD width="12.5%" height="46px"&gt;bbb&lt;/TD&gt;
&lt;TD width="25%" height="46px"&gt;sent&lt;/TD&gt;
&lt;TD width="25%" height="46px"&gt;a@a.com&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="12.5%" height="46px"&gt;12/17/2021 2:10:20 AM&lt;/TD&gt;
&lt;TD width="12.5%" height="46px"&gt;bbb&lt;/TD&gt;
&lt;TD width="25%" height="46px"&gt;sent&lt;/TD&gt;
&lt;TD width="25%" height="46px"&gt;b@b.com&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't want it to be on the same table because it will multiply the data.&lt;/P&gt;
&lt;P&gt;The goal is that the user will be able to change the time period on the UI and see the percentage of 'login' users&amp;nbsp; (for example) after he opens/views the campaign.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;BR /&gt;Tal.&lt;/P&gt;</description>
    <pubDate>Sun, 19 Dec 2021 10:08:15 GMT</pubDate>
    <dc:creator>Talso</dc:creator>
    <dc:date>2021-12-19T10:08:15Z</dc:date>
    <item>
      <title>Time interval between two tables</title>
      <link>https://community.qlik.com/t5/App-Development/Time-interval-between-two-tables/m-p/1872979#M72017</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I have two tables: events table and campaign table.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to calculate the time interval between the rows on the tables in order to measure the effectiveness of the campaigns.&lt;/P&gt;
&lt;P&gt;I want to do that on the script so that it wouldn't have an effect on the performance.&lt;/P&gt;
&lt;P&gt;Table examples:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1. Events that a user did&lt;/P&gt;
&lt;TABLE border="1" width="69.44533650631605%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="12.5%" height="54px"&gt;&lt;STRONG&gt;date and time&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="25%" height="54px"&gt;&lt;STRONG&gt;event name&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="25%" height="54px"&gt;&lt;STRONG&gt;user email&lt;/STRONG&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="12.5%" height="57px"&gt;12/15/2021 8:19:20 AM&lt;/TD&gt;
&lt;TD width="25%" height="57px"&gt;registered&amp;nbsp;&lt;/TD&gt;
&lt;TD width="25%" height="57px"&gt;a@a.com&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="12.5%" height="57px"&gt;12/15/2021 8:20:20 AM&lt;/TD&gt;
&lt;TD width="25%" height="57px"&gt;login&lt;/TD&gt;
&lt;TD width="25%" height="57px"&gt;a@a.com&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="12.5%" height="57px"&gt;12/19/2021 8:17:20 AM&lt;/TD&gt;
&lt;TD width="25%" height="57px"&gt;paid&amp;nbsp;&lt;/TD&gt;
&lt;TD width="25%" height="57px"&gt;b@b.com&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2. Campaigns information&amp;nbsp;&lt;/P&gt;
&lt;TABLE border="1" width="75%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="12.5%" height="46px"&gt;&lt;STRONG&gt;date and time&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="12.5%" height="46px"&gt;&lt;STRONG&gt;campaign name&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="25%" height="46px"&gt;&lt;STRONG&gt;campaign event&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="25%" height="46px"&gt;&lt;STRONG&gt;user email&lt;/STRONG&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="12.5%" height="46px"&gt;12/13/2021 2:10:20 AM&lt;/TD&gt;
&lt;TD width="12.5%" height="46px"&gt;aaa&lt;/TD&gt;
&lt;TD width="25%" height="46px"&gt;sent&lt;/TD&gt;
&lt;TD width="25%" height="46px"&gt;a@a.com&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="12.5%" height="46px"&gt;12/15/2021 8:16:20 AM&lt;/TD&gt;
&lt;TD width="12.5%" height="46px"&gt;aaa&lt;/TD&gt;
&lt;TD width="25%" height="46px"&gt;view&lt;/TD&gt;
&lt;TD width="25%" height="46px"&gt;a@a.com&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="12.5%" height="46px"&gt;12/15/2021 8:17:20 AM&lt;/TD&gt;
&lt;TD width="12.5%" height="46px"&gt;aaa&lt;/TD&gt;
&lt;TD width="25%" height="46px"&gt;click&lt;/TD&gt;
&lt;TD width="25%" height="46px"&gt;a@a.com&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="12.5%" height="46px"&gt;12/17/2021 2:10:20 AM&lt;/TD&gt;
&lt;TD width="12.5%" height="46px"&gt;bbb&lt;/TD&gt;
&lt;TD width="25%" height="46px"&gt;sent&lt;/TD&gt;
&lt;TD width="25%" height="46px"&gt;a@a.com&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="12.5%" height="46px"&gt;12/17/2021 2:10:20 AM&lt;/TD&gt;
&lt;TD width="12.5%" height="46px"&gt;bbb&lt;/TD&gt;
&lt;TD width="25%" height="46px"&gt;sent&lt;/TD&gt;
&lt;TD width="25%" height="46px"&gt;b@b.com&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't want it to be on the same table because it will multiply the data.&lt;/P&gt;
&lt;P&gt;The goal is that the user will be able to change the time period on the UI and see the percentage of 'login' users&amp;nbsp; (for example) after he opens/views the campaign.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;BR /&gt;Tal.&lt;/P&gt;</description>
      <pubDate>Sun, 19 Dec 2021 10:08:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Time-interval-between-two-tables/m-p/1872979#M72017</guid>
      <dc:creator>Talso</dc:creator>
      <dc:date>2021-12-19T10:08:15Z</dc:date>
    </item>
    <item>
      <title>Re: Time interval between two tables</title>
      <link>https://community.qlik.com/t5/App-Development/Time-interval-between-two-tables/m-p/1873004#M72019</link>
      <description>&lt;P&gt;given your sample data, what would be your expected result?&lt;/P&gt;</description>
      <pubDate>Sun, 19 Dec 2021 13:17:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Time-interval-between-two-tables/m-p/1873004#M72019</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2021-12-19T13:17:36Z</dc:date>
    </item>
    <item>
      <title>Re: Time interval between two tables</title>
      <link>https://community.qlik.com/t5/App-Development/Time-interval-between-two-tables/m-p/1873008#M72020</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I want to be able to create a new field that will calculate the time difference between the events in table 1 and events in table two.&lt;/P&gt;
&lt;P&gt;if those fields were on the same table, I would do this calc:&lt;/P&gt;
&lt;P&gt;Interval( (event_date_time) - (campaign_date_time), 'hh:mm') as hour_difference&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Sun, 19 Dec 2021 14:52:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Time-interval-between-two-tables/m-p/1873008#M72020</guid>
      <dc:creator>Talso</dc:creator>
      <dc:date>2021-12-19T14:52:47Z</dc:date>
    </item>
    <item>
      <title>Re: Time interval between two tables</title>
      <link>https://community.qlik.com/t5/App-Development/Time-interval-between-two-tables/m-p/1873019#M72021</link>
      <description>&lt;P&gt;could you please post your sample data including this new field to demonstrate where it should be created and which values you would expect to see?&lt;/P&gt;</description>
      <pubDate>Sun, 19 Dec 2021 20:23:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Time-interval-between-two-tables/m-p/1873019#M72021</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2021-12-19T20:23:12Z</dc:date>
    </item>
    <item>
      <title>Re: Time interval between two tables</title>
      <link>https://community.qlik.com/t5/App-Development/Time-interval-between-two-tables/m-p/1873168#M72034</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;You can use the ApplyMap function but i don't understand how join event information and campaign information (only with user email ?).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Dec 2021 08:46:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Time-interval-between-two-tables/m-p/1873168#M72034</guid>
      <dc:creator>kef</dc:creator>
      <dc:date>2021-12-20T08:46:37Z</dc:date>
    </item>
  </channel>
</rss>

