<?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: I need shift field = Morning Afternoon Night in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/I-need-shift-field-Morning-Afternoon-Night/m-p/2478819#M100520</link>
    <description>&lt;P&gt;Retry with this.&lt;/P&gt;
&lt;P&gt;If((Time(TimeStartDowntime) &amp;gt;= Time('06:00:00') and Time(TimeStartDowntime) &amp;lt;= Time('13:59:59')), 'Morning',&lt;BR /&gt;If((Time(TimeStartDowntime) &amp;gt;= Time('14:00:00') and Time(TimeStartDowntime) &amp;lt;= Time('21:59:59')),'Afternoon',&lt;BR /&gt;If((Time(TimeStartDowntime) &amp;gt;= Time('22:00:00') and Time(TimeStartDowntime) &amp;lt;= Time('23:59:59')) or (Time(TimeStartDowntime) &amp;gt;= Time('00:00:00') and Time(TimeStartDowntime) &amp;lt;= Time('05:59:59')),'Night'))) as CheckPart_Shift&lt;/P&gt;</description>
    <pubDate>Fri, 30 Aug 2024 07:02:51 GMT</pubDate>
    <dc:creator>BrunPierre</dc:creator>
    <dc:date>2024-08-30T07:02:51Z</dc:date>
    <item>
      <title>I need shift field = Morning Afternoon Night</title>
      <link>https://community.qlik.com/t5/App-Development/I-need-shift-field-Morning-Afternoon-Night/m-p/2478387#M100465</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I have Field&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sxbbb_0-1724836892978.png" style="width: 274px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/171057iF33A85B391F3F352/image-dimensions/274x128?v=v2" width="274" height="128" role="button" title="Sxbbb_0-1724836892978.png" alt="Sxbbb_0-1724836892978.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Morning shift time 06.00-13.59 hrs. Afternoon shift 14.00-21.59 hrs. Night shift 22.00-05.59 hrs. I need shift field = Morning Afternoon Night I want to bring time TimeStartDowntime to TimeFinishDowntime is divided into shifts.&lt;/P&gt;
&lt;P&gt;EX&lt;/P&gt;
&lt;P&gt;StartDowntime ='11:42:40' to FinishDowntime ='23:03:38' &lt;BR /&gt;The shifts are morning, afternoon, and night.&lt;/P&gt;
&lt;P&gt;I need a field that displays values ​​like this.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sxbbb_1-1724836937567.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/171058iE694C3613B98368C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Sxbbb_1-1724836937567.png" alt="Sxbbb_1-1724836937567.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 20:53:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/I-need-shift-field-Morning-Afternoon-Night/m-p/2478387#M100465</guid>
      <dc:creator>Sxbbb</dc:creator>
      <dc:date>2024-11-15T20:53:02Z</dc:date>
    </item>
    <item>
      <title>Re: I need shift field = Morning Afternoon Night</title>
      <link>https://community.qlik.com/t5/App-Development/I-need-shift-field-Morning-Afternoon-Night/m-p/2478411#M100467</link>
      <description>&lt;P&gt;Try this.&lt;/P&gt;
&lt;P&gt;If(TimeStartDowntime &amp;gt;= PurgeChar(MakeTime(06,00,00),'AMP') and TimeFinishDowntime &amp;lt;= PurgeChar(MakeTime(13,59,59),'AMP'), 'Morning',&lt;BR /&gt;If(TimeStartDowntime &amp;gt;= PurgeChar(MakeTime(14,00,00),'AMP') and TimeFinishDowntime &amp;lt;= PurgeChar(MakeTime(21,59,59),'AMP'), 'Afternoon',&lt;BR /&gt;If(TimeStartDowntime &amp;gt;= PurgeChar(MakeTime(22,00,00),'AMP') and TimeFinishDowntime &amp;lt;= PurgeChar(MakeTime(05,59,59),'AMP'), 'Night' ))) as Shift&lt;/P&gt;</description>
      <pubDate>Wed, 28 Aug 2024 10:35:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/I-need-shift-field-Morning-Afternoon-Night/m-p/2478411#M100467</guid>
      <dc:creator>BrunPierre</dc:creator>
      <dc:date>2024-08-28T10:35:01Z</dc:date>
    </item>
    <item>
      <title>Re: I need shift field = Morning Afternoon Night</title>
      <link>https://community.qlik.com/t5/App-Development/I-need-shift-field-Morning-Afternoon-Night/m-p/2478561#M100494</link>
      <description>&lt;P&gt;No. Is there another way?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sxbbb_0-1724896930089.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/171088i6F1321F4326BFD84/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Sxbbb_0-1724896930089.png" alt="Sxbbb_0-1724896930089.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sxbbb_1-1724896949182.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/171089i874D52FE1DF12264/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Sxbbb_1-1724896949182.png" alt="Sxbbb_1-1724896949182.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Aug 2024 02:02:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/I-need-shift-field-Morning-Afternoon-Night/m-p/2478561#M100494</guid>
      <dc:creator>Sxbbb</dc:creator>
      <dc:date>2024-08-29T02:02:36Z</dc:date>
    </item>
    <item>
      <title>Re: I need shift field = Morning Afternoon Night</title>
      <link>https://community.qlik.com/t5/App-Development/I-need-shift-field-Morning-Afternoon-Night/m-p/2478641#M100500</link>
      <description>&lt;P&gt;Could you share a sample of the data?&lt;/P&gt;</description>
      <pubDate>Thu, 29 Aug 2024 09:04:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/I-need-shift-field-Morning-Afternoon-Night/m-p/2478641#M100500</guid>
      <dc:creator>BrunPierre</dc:creator>
      <dc:date>2024-08-29T09:04:39Z</dc:date>
    </item>
    <item>
      <title>Re: I need shift field = Morning Afternoon Night</title>
      <link>https://community.qlik.com/t5/App-Development/I-need-shift-field-Morning-Afternoon-Night/m-p/2478786#M100518</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sxbbb_0-1724987396840.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/171121i4D72D9E9C279ED7A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Sxbbb_0-1724987396840.png" alt="Sxbbb_0-1724987396840.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Aug 2024 03:11:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/I-need-shift-field-Morning-Afternoon-Night/m-p/2478786#M100518</guid>
      <dc:creator>Sxbbb</dc:creator>
      <dc:date>2024-08-30T03:11:10Z</dc:date>
    </item>
    <item>
      <title>Re: I need shift field = Morning Afternoon Night</title>
      <link>https://community.qlik.com/t5/App-Development/I-need-shift-field-Morning-Afternoon-Night/m-p/2478819#M100520</link>
      <description>&lt;P&gt;Retry with this.&lt;/P&gt;
&lt;P&gt;If((Time(TimeStartDowntime) &amp;gt;= Time('06:00:00') and Time(TimeStartDowntime) &amp;lt;= Time('13:59:59')), 'Morning',&lt;BR /&gt;If((Time(TimeStartDowntime) &amp;gt;= Time('14:00:00') and Time(TimeStartDowntime) &amp;lt;= Time('21:59:59')),'Afternoon',&lt;BR /&gt;If((Time(TimeStartDowntime) &amp;gt;= Time('22:00:00') and Time(TimeStartDowntime) &amp;lt;= Time('23:59:59')) or (Time(TimeStartDowntime) &amp;gt;= Time('00:00:00') and Time(TimeStartDowntime) &amp;lt;= Time('05:59:59')),'Night'))) as CheckPart_Shift&lt;/P&gt;</description>
      <pubDate>Fri, 30 Aug 2024 07:02:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/I-need-shift-field-Morning-Afternoon-Night/m-p/2478819#M100520</guid>
      <dc:creator>BrunPierre</dc:creator>
      <dc:date>2024-08-30T07:02:51Z</dc:date>
    </item>
  </channel>
</rss>

