<?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: Formula for Calculating Remaining # of Work Weeks in Month, Quarter, Year in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Formula-for-Calculating-Remaining-of-Work-Weeks-in-Month-Quarter/m-p/1776799#M60231</link>
    <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/101018"&gt;@joshdellapietro&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Okay, this should make the necessary adjustment for Saturday and Sunday and the partial week at the end.&lt;/P&gt;&lt;P&gt;=Week(MonthEnd(Today()),0)-Week(Date(Today()+Match(WeekDay(Today()),'Sun','Sat')))+1&lt;/P&gt;&lt;P&gt;You'll want to change the QuarterEnd and YearEnd&lt;/P&gt;</description>
    <pubDate>Fri, 22 Jan 2021 18:51:07 GMT</pubDate>
    <dc:creator>GaryGiles</dc:creator>
    <dc:date>2021-01-22T18:51:07Z</dc:date>
    <item>
      <title>Formula for Calculating Remaining # of Work Weeks in Month, Quarter, Year</title>
      <link>https://community.qlik.com/t5/App-Development/Formula-for-Calculating-Remaining-of-Work-Weeks-in-Month-Quarter/m-p/1774842#M60036</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to measure how much sales we need to average a week for the rest of the month, quarter, and year to meet our budget. For example, if we need $400m to meet our budget for January and there is only 2 work weeks left of January, I want the formula to equate to $200m.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With that being said, I need a formula to tell me how many&amp;nbsp;&lt;U&gt;work&lt;/U&gt; weeks remain in the month, quarter, or year. Even if the work week is not a full week and just a Monday, I want it to still count as 1.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jan 2021 17:09:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Formula-for-Calculating-Remaining-of-Work-Weeks-in-Month-Quarter/m-p/1774842#M60036</guid>
      <dc:creator>joshdellapietro</dc:creator>
      <dc:date>2021-01-15T17:09:12Z</dc:date>
    </item>
    <item>
      <title>Re: Formula for Calculating Remaining # of Work Weeks in Month, Quarter, Year</title>
      <link>https://community.qlik.com/t5/App-Development/Formula-for-Calculating-Remaining-of-Work-Weeks-in-Month-Quarter/m-p/1774902#M60038</link>
      <description>&lt;P&gt;For weeks remaining in the month, use:&lt;/P&gt;&lt;P&gt;=Week(monthend(today()),&lt;STRONG&gt;0&lt;/STRONG&gt;)-week(today(),&lt;STRONG&gt;0&lt;/STRONG&gt;)&lt;/P&gt;&lt;P&gt;for quarter:&amp;nbsp;=Week(Quarterend(today()),&lt;STRONG&gt;0&lt;/STRONG&gt;)-week(today(),&lt;STRONG&gt;0&lt;/STRONG&gt;)&lt;/P&gt;&lt;P&gt;for year:&amp;nbsp;=Week(Yearend(today()),&lt;STRONG&gt;0&lt;/STRONG&gt;)-week(today(),&lt;STRONG&gt;0&lt;/STRONG&gt;)&lt;/P&gt;&lt;P&gt;The &lt;STRONG&gt;0&lt;/STRONG&gt; in the 2nd parameter of the Week function means the week starts on Monday.&amp;nbsp; I think that is what you need, but you might have to adjust.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jan 2021 22:34:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Formula-for-Calculating-Remaining-of-Work-Weeks-in-Month-Quarter/m-p/1774902#M60038</guid>
      <dc:creator>GaryGiles</dc:creator>
      <dc:date>2021-01-15T22:34:17Z</dc:date>
    </item>
    <item>
      <title>Re: Formula for Calculating Remaining # of Work Weeks in Month, Quarter, Year</title>
      <link>https://community.qlik.com/t5/App-Development/Formula-for-Calculating-Remaining-of-Work-Weeks-in-Month-Quarter/m-p/1776780#M60224</link>
      <description>&lt;P&gt;This should work, my only concern may be is if the new month starts with a Saturday (ex. May 2021). I wouldn't want that Saturday to be considered a week.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jan 2021 17:25:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Formula-for-Calculating-Remaining-of-Work-Weeks-in-Month-Quarter/m-p/1776780#M60224</guid>
      <dc:creator>joshdellapietro</dc:creator>
      <dc:date>2021-01-22T17:25:57Z</dc:date>
    </item>
    <item>
      <title>Re: Formula for Calculating Remaining # of Work Weeks in Month, Quarter, Year</title>
      <link>https://community.qlik.com/t5/App-Development/Formula-for-Calculating-Remaining-of-Work-Weeks-in-Month-Quarter/m-p/1776797#M60230</link>
      <description>&lt;P&gt;It is also not counting weeks if they start on any day other than Monday&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jan 2021 18:28:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Formula-for-Calculating-Remaining-of-Work-Weeks-in-Month-Quarter/m-p/1776797#M60230</guid>
      <dc:creator>joshdellapietro</dc:creator>
      <dc:date>2021-01-22T18:28:21Z</dc:date>
    </item>
    <item>
      <title>Re: Formula for Calculating Remaining # of Work Weeks in Month, Quarter, Year</title>
      <link>https://community.qlik.com/t5/App-Development/Formula-for-Calculating-Remaining-of-Work-Weeks-in-Month-Quarter/m-p/1776799#M60231</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/101018"&gt;@joshdellapietro&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Okay, this should make the necessary adjustment for Saturday and Sunday and the partial week at the end.&lt;/P&gt;&lt;P&gt;=Week(MonthEnd(Today()),0)-Week(Date(Today()+Match(WeekDay(Today()),'Sun','Sat')))+1&lt;/P&gt;&lt;P&gt;You'll want to change the QuarterEnd and YearEnd&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jan 2021 18:51:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Formula-for-Calculating-Remaining-of-Work-Weeks-in-Month-Quarter/m-p/1776799#M60231</guid>
      <dc:creator>GaryGiles</dc:creator>
      <dc:date>2021-01-22T18:51:07Z</dc:date>
    </item>
  </channel>
</rss>

