<?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: Scenario Help in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Scenario-Help/m-p/1152371#M888200</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i am using date and time stamp which is available in txn table,,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Sep 2016 13:59:15 GMT</pubDate>
    <dc:creator>abhaysingh</dc:creator>
    <dc:date>2016-09-06T13:59:15Z</dc:date>
    <item>
      <title>Scenario Help</title>
      <link>https://community.qlik.com/t5/QlikView/Scenario-Help/m-p/1152369#M888198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need some support,&lt;/P&gt;&lt;P&gt;i have scenario in which production i happening 24/7 in 3 shift, Morning, Evening and Night.. Night Shift over next day morning 6 am and Entries done in Database till 11:00 am.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg. let say today is 6 sep 16 so night shift will over 6 am,&amp;nbsp; 7 sep 16....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;night shift entries till 11:00 am need to count in today date -1, as i given example like... for 7 sep , till 11 am, production will consider for 6 am...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope m clear here..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but at month end i need to take the production till month end 12:00 am only not next day morning till 11 am..&lt;/P&gt;&lt;P&gt;example: 31st Aug 16 entries done till 12:00 am need to consider in 31st Aug 16,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but Entries done after 12:00 am need to consider in 1 sep 16..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly suggest&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Scenario-Help/m-p/1152369#M888198</guid>
      <dc:creator>abhaysingh</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Scenario Help</title>
      <link>https://community.qlik.com/t5/QlikView/Scenario-Help/m-p/1152370#M888199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you create a flag during dataload which shift the data belongs to?&lt;/P&gt;&lt;P&gt;you can use the flag for reporting shiftwise&lt;/P&gt;&lt;P&gt;for monthly reports you use your normal calendar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when you say that nightly shift can get new data upto 11:00 am, how doyou distinct this data from morning shift?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Sep 2016 13:56:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Scenario-Help/m-p/1152370#M888199</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-06T13:56:23Z</dc:date>
    </item>
    <item>
      <title>Re: Scenario Help</title>
      <link>https://community.qlik.com/t5/QlikView/Scenario-Help/m-p/1152371#M888200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i am using date and time stamp which is available in txn table,,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Sep 2016 13:59:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Scenario-Help/m-p/1152371#M888200</guid>
      <dc:creator>abhaysingh</dc:creator>
      <dc:date>2016-09-06T13:59:15Z</dc:date>
    </item>
    <item>
      <title>Re: Scenario Help</title>
      <link>https://community.qlik.com/t5/QlikView/Scenario-Help/m-p/1152372#M888201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can the night shift be identified by way of some characteristic, or do you want all entries until 11 am to be shifted back to the previous day?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the latter case, the logic is rather simple. Imagine your DB table has a field [Posting DateTime] and you want to create a field [Corrected Posting DateTime] for reporting purposes, then you can use something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LOAD ...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF ((Day([Posting DateTime]) &amp;lt;&amp;gt; 1) AND (Hour(&lt;SPAN style="font-size: 13.3333px;"&gt;[Posting DateTime]&lt;/SPAN&gt;) &amp;lt; 11),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&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; DayEnd(&lt;SPAN style="font-size: 13.3333px;"&gt;[Posting DateTime] - 1), &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'courier new', courier;"&gt;&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; [Posting DateTime]) AS [Corrected Posting DateTime],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Sep 2016 14:23:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Scenario-Help/m-p/1152372#M888201</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2016-09-06T14:23:19Z</dc:date>
    </item>
    <item>
      <title>Re: Scenario Help</title>
      <link>https://community.qlik.com/t5/QlikView/Scenario-Help/m-p/1152373#M888202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;to get the flag you would define like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if (Timefield&amp;gt;06:00 and Timefield&amp;lt;14:00, Morning,&lt;/P&gt;&lt;P&gt;&amp;nbsp; if (Timefield&amp;gt;14:00 and Timefield&amp;lt;22:00, afternoon,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (Timefield&amp;gt;22:00 and Timefield&amp;lt;06:00, night)) as Shift&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;once again: how do you distinguish that data from 10:00am belongs to night shift and not to morning shift or vice versa?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Sep 2016 14:39:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Scenario-Help/m-p/1152373#M888202</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-06T14:39:30Z</dc:date>
    </item>
  </channel>
</rss>

