<?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 Date Questions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Date-Questions/m-p/1292025#M517559</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi everyone. I am hoping for some help on the chart with the requirements in red below. I've attached a sample.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Requirements:&lt;BR /&gt; Chart 1: &lt;BR /&gt; X-Axis -&lt;SPAN style="color: #ff0000;"&gt; Show weeks in current month&lt;/SPAN&gt;, week should reflect a Thursday date&lt;BR /&gt; &lt;BR /&gt; x-axis - Show SERVICE_AREA_SHORT to show trending&lt;BR /&gt; &lt;BR /&gt; y-axis - &lt;SPAN style="color: #ff0000;"&gt;Count of distinct DEFECT_ID &lt;STRONG&gt;&lt;EM style="text-decoration: underline;"&gt;where GPQ2_NAME is ERC - Routing by Wednesday at noon PST&lt;/EM&gt;&lt;/STRONG&gt; (GPQ2_START_DATE &amp;amp; GPQ2_START_TIME)&lt;/SPAN&gt;&lt;BR /&gt; &lt;BR /&gt; y-axis - show stacked bar chart where CARE_SETTING = 'Acute' or 'Ambulatory'&lt;BR /&gt; &lt;/P&gt;&lt;P&gt;Any help is appreciated! Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Dec 2016 18:22:34 GMT</pubDate>
    <dc:creator>cbaqir</dc:creator>
    <dc:date>2016-12-20T18:22:34Z</dc:date>
    <item>
      <title>Date Questions</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Questions/m-p/1292025#M517559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi everyone. I am hoping for some help on the chart with the requirements in red below. I've attached a sample.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Requirements:&lt;BR /&gt; Chart 1: &lt;BR /&gt; X-Axis -&lt;SPAN style="color: #ff0000;"&gt; Show weeks in current month&lt;/SPAN&gt;, week should reflect a Thursday date&lt;BR /&gt; &lt;BR /&gt; x-axis - Show SERVICE_AREA_SHORT to show trending&lt;BR /&gt; &lt;BR /&gt; y-axis - &lt;SPAN style="color: #ff0000;"&gt;Count of distinct DEFECT_ID &lt;STRONG&gt;&lt;EM style="text-decoration: underline;"&gt;where GPQ2_NAME is ERC - Routing by Wednesday at noon PST&lt;/EM&gt;&lt;/STRONG&gt; (GPQ2_START_DATE &amp;amp; GPQ2_START_TIME)&lt;/SPAN&gt;&lt;BR /&gt; &lt;BR /&gt; y-axis - show stacked bar chart where CARE_SETTING = 'Acute' or 'Ambulatory'&lt;BR /&gt; &lt;/P&gt;&lt;P&gt;Any help is appreciated! Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Dec 2016 18:22:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Questions/m-p/1292025#M517559</guid>
      <dc:creator>cbaqir</dc:creator>
      <dc:date>2016-12-20T18:22:34Z</dc:date>
    </item>
    <item>
      <title>Re: Date Questions</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Questions/m-p/1292026#M517560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Numerically what are you expecting to see?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Dec 2016 19:20:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Questions/m-p/1292026#M517560</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-12-20T19:20:01Z</dc:date>
    </item>
    <item>
      <title>Re: Date Questions</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Questions/m-p/1292027#M517561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure I know yet. It's more of how do I only show the weeks in the current month and how do I account for the requirement for the status of by Wednesday at noon? Here is what I have:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression 1 (Acute): &lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CARE_SETTING&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'Acute'},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;GPQ2_NAME&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'ERC - Routing'},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;TRX_DATE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"&amp;gt;=$(=addmonths(monthstart(today()),-1))&amp;lt;=$(=addmonths(monthend(today()),0))"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;distinct&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DEFECT_ID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Exp 1 Issue - not only showing weeks from current month&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimension: &lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;weekday&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;TRX_DATE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) = ('Sun' &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;or&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; 'Mon' &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;or&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; 'Tues'),&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;WEEK_START&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;weekday&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;TRX_DATE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) = ('Wed') &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;GPQ2_START_TIME&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &amp;lt; '12 PM', &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;WEEK_START&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;WEEK_START&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;+7))) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Issue: If I look at DEFECT_ID = 7632, the GPQ2_START_DATE is a Wed (12/7) and the time is before noon so it should be counted witht eh current week but it is showing as the week after (12/11).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Dec 2016 20:56:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Questions/m-p/1292027#M517561</guid>
      <dc:creator>cbaqir</dc:creator>
      <dc:date>2016-12-21T20:56:30Z</dc:date>
    </item>
    <item>
      <title>Re: Date Questions</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Questions/m-p/1292028#M517562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is this what you want?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/147488_Capture.PNG" style="height: 200px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I opened your app and checked DEFECT_ID = 7632, it was showing on 12/01... are you seeing 12/11?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/147489_Capture.PNG" style="height: 223px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression for Acute&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Count(DISTINCT{&amp;lt;CARE_SETTING={'Acute'}, GPQ2_NAME={'ERC - Routing'}, TRX_DATE={"$(='&amp;gt;=' &amp;amp; Date(MonthStart(Today()), 'YYYY-MM-DD') &amp;amp; '&amp;lt;=' &amp;amp; Date(MonthEnd(Today()), 'YYYY-MM-DD'))"}&amp;gt;} DEFECT_ID)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression for Ambulatory&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Count(DISTINCT{&amp;lt;CARE_SETTING={'Ambulatory'},GPQ2_NAME={'ERC - Routing'}, TRX_DATE={"$(='&amp;gt;=' &amp;amp; Date(MonthStart(Today()), 'YYYY-MM-DD') &amp;amp; '&amp;lt;=' &amp;amp; Date(MonthEnd(Today()), 'YYYY-MM-DD'))"}&amp;gt;} DEFECT_ID)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimensions&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SERVICE_AREA_SHORT&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=WeekStart(GPQ2_START_TIME +0.5, 0, 3)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Dec 2016 02:39:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Questions/m-p/1292028#M517562</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-12-23T02:39:05Z</dc:date>
    </item>
  </channel>
</rss>

