<?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: Count, but count differently for one specific week in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Count-but-count-differently-for-one-specific-week/m-p/2064268#M87302</link>
    <description>&lt;P&gt;As i dont have any data to work on, i could possibly only give you ballpark idea.&lt;/P&gt;
&lt;P&gt;try creating weeknumber field in script and do something like this:&lt;/P&gt;
&lt;P&gt;if(weeknumber = x, '', your_expression) //Where x is your shutdown weeknumber&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope that helps. Happy Qliking.&lt;/P&gt;</description>
    <pubDate>Tue, 25 Apr 2023 13:51:03 GMT</pubDate>
    <dc:creator>Qrishna</dc:creator>
    <dc:date>2023-04-25T13:51:03Z</dc:date>
    <item>
      <title>Count, but count differently for one specific week</title>
      <link>https://community.qlik.com/t5/App-Development/Count-but-count-differently-for-one-specific-week/m-p/2064168#M87290</link>
      <description>&lt;P&gt;Hi folks,&lt;/P&gt;
&lt;P&gt;Looking for your help/guidance once again if possible, with this little nugget of a brain melt for me!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a chart showing % of orders shipped on time.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Daryn_0-1682421862782.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/105745iE5A675AEA4243F65/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Daryn_0-1682421862782.png" alt="Daryn_0-1682421862782.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Daryn_1-1682421862790.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/105744i2C80A358D9D4B9B4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Daryn_1-1682421862790.png" alt="Daryn_1-1682421862790.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The dimension is a rolling 12 month view;&lt;/P&gt;
&lt;P&gt;=IF (([ERDAT.autoCalendar.Date]) &amp;gt;= (AddMonths (today(),-11)) , Date#([ERDAT.autoCalendar.Month]))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The three measures are the same except for the &lt;STRONG&gt;&amp;lt;, &amp;gt;, or =&lt;/STRONG&gt; making them early, on time or late.&lt;/P&gt;
&lt;P&gt;COUNT ({&amp;lt; [WADAT] = {"&amp;lt;=$(=Date(Today()))"}, [VBELN] = {"= [WADAT_IST]&lt;STRONG&gt; &amp;lt;&lt;/STRONG&gt; [WADAT] "}&amp;gt;}&amp;nbsp; [VBELN] ) / COUNT ([VBELN])&lt;/P&gt;
&lt;P&gt;// = Early&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;WADAT = Planned goods issue date&lt;/P&gt;
&lt;P&gt;WADAT_IST = Actual goods issue&lt;/P&gt;
&lt;P&gt;VBELN = Document&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Great, now I get a curve ball thrown to me, the factory wants an extra ordinary shut down period.&lt;/P&gt;
&lt;P&gt;Monday May 29&lt;SUP&gt;th&lt;/SUP&gt; 2023 to Friday June 2&lt;SUP&gt;nd&lt;/SUP&gt; 2023&amp;nbsp;&amp;nbsp;&amp;nbsp; (Wk 22)&lt;/P&gt;
&lt;P&gt;During which period all planned delivers (WADAT) will need to be pushed back, ie + 7 days.&lt;/P&gt;
&lt;P&gt;I could change the whole lot &lt;STRONG&gt;using;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;COUNT ({&amp;lt; [WADAT] = {"&amp;lt;=$(=Date(Today()))"}, [VBELN] = {"= [WADAT_IST] &amp;lt; [WADAT]&lt;STRONG&gt; +7&lt;/STRONG&gt; "}&amp;gt;}&amp;nbsp; [VBELN] ) / COUNT ([VBELN])&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But I only want to change the week (wk 22) mentioned, and still show everything else normally.&lt;/P&gt;
&lt;P&gt;I tried to do something with WeekStart, but couldn’t get it to work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any help/guidance or solution appreciated, if it an be done?&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daryn&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2023 14:49:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-but-count-differently-for-one-specific-week/m-p/2064168#M87290</guid>
      <dc:creator>Daryn</dc:creator>
      <dc:date>2023-04-25T14:49:11Z</dc:date>
    </item>
    <item>
      <title>Re: Count, but count differently for one specific week</title>
      <link>https://community.qlik.com/t5/App-Development/Count-but-count-differently-for-one-specific-week/m-p/2064268#M87302</link>
      <description>&lt;P&gt;As i dont have any data to work on, i could possibly only give you ballpark idea.&lt;/P&gt;
&lt;P&gt;try creating weeknumber field in script and do something like this:&lt;/P&gt;
&lt;P&gt;if(weeknumber = x, '', your_expression) //Where x is your shutdown weeknumber&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope that helps. Happy Qliking.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2023 13:51:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-but-count-differently-for-one-specific-week/m-p/2064268#M87302</guid>
      <dc:creator>Qrishna</dc:creator>
      <dc:date>2023-04-25T13:51:03Z</dc:date>
    </item>
    <item>
      <title>Re: Count, but count differently for one specific week</title>
      <link>https://community.qlik.com/t5/App-Development/Count-but-count-differently-for-one-specific-week/m-p/2064347#M87306</link>
      <description>&lt;P&gt;Hi and thanks for reading ad responding. I have attached some sample data, if that helps. Again thank you for your time.&lt;/P&gt;
&lt;P&gt;Regards, Daryn&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2023 14:50:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-but-count-differently-for-one-specific-week/m-p/2064347#M87306</guid>
      <dc:creator>Daryn</dc:creator>
      <dc:date>2023-04-25T14:50:10Z</dc:date>
    </item>
    <item>
      <title>Re: Count, but count differently for one specific week</title>
      <link>https://community.qlik.com/t5/App-Development/Count-but-count-differently-for-one-specific-week/m-p/2070081#M87758</link>
      <description>&lt;P&gt;Still hoping someone may have a solution please?&lt;/P&gt;
&lt;P&gt;Thanks in advance.&lt;/P&gt;
&lt;P&gt;Daryn&lt;/P&gt;</description>
      <pubDate>Tue, 16 May 2023 06:54:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-but-count-differently-for-one-specific-week/m-p/2070081#M87758</guid>
      <dc:creator>Daryn</dc:creator>
      <dc:date>2023-05-16T06:54:57Z</dc:date>
    </item>
  </channel>
</rss>

