<?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: How add a flag column for an event in a interval in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/How-add-a-flag-column-for-an-event-in-a-interval/m-p/1506181#M43950</link>
    <description>&lt;P&gt;Have you already tried Interval Match function?&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/qlikview/November2018/Subsystems/Client/Content/QV_QlikView/Scripting/ScriptPrefixes/IntervalMatch.htm" target="_blank"&gt;Interval Match&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 14 Nov 2018 12:39:29 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2018-11-14T12:39:29Z</dc:date>
    <item>
      <title>How add a flag column for an event in a interval</title>
      <link>https://community.qlik.com/t5/App-Development/How-add-a-flag-column-for-an-event-in-a-interval/m-p/1506121#M43949</link>
      <description>&lt;P&gt;Can you help me to create a 'flag'. I've 2 tables, the first with a list of events starting and ending, and a second table that records every 5 minutes some KPI.&amp;nbsp; I need to check on the second table when my KPI runs during first table event and mark with the id event&lt;/P&gt;&lt;P&gt;Table 1&lt;BR /&gt;id&amp;nbsp; DATE from&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; DATE TO&lt;BR /&gt;1&amp;nbsp; &amp;nbsp; 29/12/2018 11.00&amp;nbsp; &amp;nbsp; 29/12/2018 12.00&lt;BR /&gt;2&amp;nbsp; &amp;nbsp; 29/12/2018 14.00&amp;nbsp; &amp;nbsp; 29/12/2018 14.25&lt;BR /&gt;3&amp;nbsp; &amp;nbsp; 30/12/2018 14.00&amp;nbsp; &amp;nbsp; 30/12/2018 19.00&lt;/P&gt;&lt;P&gt;Table 2&lt;BR /&gt;EVENT&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;FLAG_EVENT_ID&lt;BR /&gt;29/12/2018 14.00&amp;nbsp; &amp;nbsp; &amp;nbsp; 2&lt;BR /&gt;29/12/2018 14.05&amp;nbsp; &amp;nbsp; &amp;nbsp; 2&lt;BR /&gt;29/12/2018 14.10&amp;nbsp; &amp;nbsp; &amp;nbsp; 2&lt;BR /&gt;29/12/2018 14.15&amp;nbsp; &amp;nbsp; &amp;nbsp; 2&lt;BR /&gt;29/12/2018 14.20&amp;nbsp; &amp;nbsp; &amp;nbsp; 2&lt;BR /&gt;29/12/2018 14.25&amp;nbsp; &amp;nbsp; &amp;nbsp; 2&lt;BR /&gt;29/12/2018 14.30&amp;nbsp; &amp;nbsp; &amp;nbsp; -&lt;/P&gt;&lt;P&gt;Tks so much &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 07:18:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-add-a-flag-column-for-an-event-in-a-interval/m-p/1506121#M43949</guid>
      <dc:creator>canmarroig</dc:creator>
      <dc:date>2024-11-16T07:18:22Z</dc:date>
    </item>
    <item>
      <title>Re: How add a flag column for an event in a interval</title>
      <link>https://community.qlik.com/t5/App-Development/How-add-a-flag-column-for-an-event-in-a-interval/m-p/1506181#M43950</link>
      <description>&lt;P&gt;Have you already tried Interval Match function?&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/qlikview/November2018/Subsystems/Client/Content/QV_QlikView/Scripting/ScriptPrefixes/IntervalMatch.htm" target="_blank"&gt;Interval Match&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Nov 2018 12:39:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-add-a-flag-column-for-an-event-in-a-interval/m-p/1506181#M43950</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-11-14T12:39:29Z</dc:date>
    </item>
    <item>
      <title>Re: How add a flag column for an event in a interval</title>
      <link>https://community.qlik.com/t5/App-Development/How-add-a-flag-column-for-an-event-in-a-interval/m-p/1506194#M43951</link>
      <description>&lt;P&gt;By using Interval match function you can achieve this scenario.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;IntervalMatch:&lt;/P&gt;&lt;P class="Code"&gt;IntervalMatch (EVENT) LOAD DATE from, DATE TO Resident Table 1;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Nov 2018 12:46:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-add-a-flag-column-for-an-event-in-a-interval/m-p/1506194#M43951</guid>
      <dc:creator>hari8088</dc:creator>
      <dc:date>2018-11-14T12:46:38Z</dc:date>
    </item>
    <item>
      <title>Re: How add a flag column for an event in a interval</title>
      <link>https://community.qlik.com/t5/App-Development/How-add-a-flag-column-for-an-event-in-a-interval/m-p/1506215#M43952</link>
      <description>&lt;P&gt;What about this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Table_1:&lt;BR /&gt;LOAD&lt;BR /&gt;id,&lt;BR /&gt;Timestamp(TimeStamp#(DATE_from,'DD/MM/YYYY hh:mm'),'DD/MM/YYYY hh:mm') as DATE_from,&lt;BR /&gt;Timestamp(TimeStamp#(DATE_TO,'DD/MM/YYYY hh:mm'),'DD/MM/YYYY hh:mm') as DATE_TO;&lt;BR /&gt;LOAD * Inline [&lt;BR /&gt;id, DATE_from, DATE_TO&lt;BR /&gt;1, "29/12/2018 11:00", "29/12/2018 12:00"&lt;BR /&gt;2, "29/12/2018 14:00", "29/12/2018 14:25"&lt;BR /&gt;3, "30/12/2018 14:00", "30/12/2018 19:00"&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;Table_2:&lt;BR /&gt;LOAD&lt;BR /&gt;FLAG_EVENT_ID,&lt;BR /&gt;Timestamp(TimeStamp#(EVENT,'DD/MM/YYYY hh:mm'),'DD/MM/YYYY hh:mm') as EVENT;&lt;BR /&gt;LOAD * Inline [&lt;BR /&gt;EVENT, FLAG_EVENT_ID&lt;BR /&gt;"29/12/2018 14:00", 2&lt;BR /&gt;"29/12/2018 14:05", 2&lt;BR /&gt;"29/12/2018 14:10", 2&lt;BR /&gt;"29/12/2018 14:15", 2&lt;BR /&gt;"29/12/2018 14:20", 2&lt;BR /&gt;"29/12/2018 14:25", 2&lt;BR /&gt;"29/12/2018 14:30", -&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;LEFT JOIN (Table_2)&lt;/P&gt;&lt;P&gt;IntervalMatch (EVENT)&lt;BR /&gt;LOAD&lt;BR /&gt;DATE_from,&lt;BR /&gt;DATE_TO&lt;BR /&gt;Resident Table_1;&lt;/P&gt;&lt;P&gt;Drop Table Table_1;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Nov 2018 13:03:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-add-a-flag-column-for-an-event-in-a-interval/m-p/1506215#M43952</guid>
      <dc:creator>Thiago_Justen_</dc:creator>
      <dc:date>2018-11-14T13:03:55Z</dc:date>
    </item>
    <item>
      <title>Re: How add a flag column for an event in a interval</title>
      <link>https://community.qlik.com/t5/App-Development/How-add-a-flag-column-for-an-event-in-a-interval/m-p/1506234#M43953</link>
      <description>&lt;P&gt;Thanks Thiago, but&amp;nbsp;&lt;SPAN&gt;FLAG_EVENT_ID, is the flag i've to create, joining the two tables &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Nov 2018 13:14:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-add-a-flag-column-for-an-event-in-a-interval/m-p/1506234#M43953</guid>
      <dc:creator>canmarroig</dc:creator>
      <dc:date>2018-11-14T13:14:34Z</dc:date>
    </item>
    <item>
      <title>Re: How add a flag column for an event in a interval</title>
      <link>https://community.qlik.com/t5/App-Development/How-add-a-flag-column-for-an-event-in-a-interval/m-p/1506240#M43954</link>
      <description>&lt;P&gt;So the script should be like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;able_1:&lt;BR /&gt;LOAD&lt;BR /&gt;id,&lt;BR /&gt;Timestamp(TimeStamp#(DATE_from,'DD/MM/YYYY hh:mm'),'DD/MM/YYYY hh:mm') as DATE_from,&lt;BR /&gt;Timestamp(TimeStamp#(DATE_TO,'DD/MM/YYYY hh:mm'),'DD/MM/YYYY hh:mm') as DATE_TO;&lt;BR /&gt;LOAD * Inline [&lt;BR /&gt;id, DATE_from, DATE_TO&lt;BR /&gt;1, "29/12/2018 11:00", "29/12/2018 12:00"&lt;BR /&gt;2, "29/12/2018 14:00", "29/12/2018 14:25"&lt;BR /&gt;3, "30/12/2018 14:00", "30/12/2018 19:00"&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;Table_2:&lt;BR /&gt;LOAD&lt;BR /&gt;Timestamp(TimeStamp#(EVENT,'DD/MM/YYYY hh:mm'),'DD/MM/YYYY hh:mm') as EVENT;&lt;BR /&gt;LOAD * Inline [&lt;BR /&gt;EVENT&lt;BR /&gt;"29/12/2018 14:00"&lt;BR /&gt;"29/12/2018 14:05"&lt;BR /&gt;"29/12/2018 14:10"&lt;BR /&gt;"29/12/2018 14:15"&lt;BR /&gt;"29/12/2018 14:20"&lt;BR /&gt;"29/12/2018 14:25"&lt;BR /&gt;"29/12/2018 14:30"&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;LEFT JOIN (Table_2)&lt;/P&gt;&lt;P&gt;IntervalMatch (EVENT)&lt;BR /&gt;LOAD&lt;BR /&gt;DATE_from,&lt;BR /&gt;DATE_TO&lt;BR /&gt;Resident Table_1;&lt;/P&gt;&lt;P&gt;Drop Table Table_1;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Nov 2018 13:16:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-add-a-flag-column-for-an-event-in-a-interval/m-p/1506240#M43954</guid>
      <dc:creator>Thiago_Justen_</dc:creator>
      <dc:date>2018-11-14T13:16:59Z</dc:date>
    </item>
    <item>
      <title>Re: How add a flag column for an event in a interval</title>
      <link>https://community.qlik.com/t5/App-Development/How-add-a-flag-column-for-an-event-in-a-interval/m-p/1506291#M43955</link>
      <description>&lt;P&gt;Thiago, I've tried but my last purpose is to add to Table 2 the column ID fromTable 1 but i still have not, maybe i've made a mistake?&amp;nbsp;I don't need to drop table 1 since for this instance i've omitted but i've lot of infos that i need to keep in table 1&lt;/P&gt;</description>
      <pubDate>Wed, 14 Nov 2018 13:49:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-add-a-flag-column-for-an-event-in-a-interval/m-p/1506291#M43955</guid>
      <dc:creator>canmarroig</dc:creator>
      <dc:date>2018-11-14T13:49:03Z</dc:date>
    </item>
  </channel>
</rss>

