<?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: Calculate Daily Budget From Monthly Totals in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculate-Daily-Budget-From-Monthly-Totals/m-p/295715#M1192283</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If any body got the complete solution of question asked by &lt;STRONG style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/people/Jareb2012"&gt;Jareb2012&lt;/A&gt;&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;for calculating daily budget from monthly total &lt;STRONG&gt;kindly reply&lt;/STRONG&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 May 2014 10:01:09 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-05-09T10:01:09Z</dc:date>
    <item>
      <title>Calculate Daily Budget From Monthly Totals</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Daily-Budget-From-Monthly-Totals/m-p/295711#M1192279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the following table loaded in my script:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 10pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;SourceID&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;, &lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;BudgetID&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;, &lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;FiscalYearID&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;, &lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;AccountID&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;, &lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;PeriodEndDateTime&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;AccountClass&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;, &lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;AccountClassType&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;, &lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;AccountControlAccount&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;, &lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;AccountControlCode&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;, &lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;AccountCorporation&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;, &lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;AccountCorporationName&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;, &lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;AccountDescription&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;, &lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Budget&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;, &lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;BudgetYTD&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;, &lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;RowUpdateDateTime&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;FROM&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;datasources\GlBudgetsByPeriod2011.qvd&lt;BR /&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;qvd&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;); &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt; I have actual amounts (not shown here) by day, and need to display daily budget amounts as well.&amp;nbsp; The problem is that my budget amounts are monthly totals.&amp;nbsp; How would you go about this?&amp;nbsp; In the script?&amp;nbsp; In the expression?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jul 2011 01:58:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Daily-Budget-From-Monthly-Totals/m-p/295711#M1192279</guid>
      <dc:creator />
      <dc:date>2011-07-21T01:58:33Z</dc:date>
    </item>
    <item>
      <title>Calculate Daily Budget From Monthly Totals</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Daily-Budget-From-Monthly-Totals/m-p/295712#M1192280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I forgot to mention the obvious...What I need to do is divide the monthly total by the number of days in the month to arrive at a daily budget number. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm wondering if I would need to create a new table with the daily numbers (for several thousand accounts), or if I could reference the daily amount for each month in the expression. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jul 2011 02:03:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Daily-Budget-From-Monthly-Totals/m-p/295712#M1192280</guid>
      <dc:creator />
      <dc:date>2011-07-21T02:03:29Z</dc:date>
    </item>
    <item>
      <title>Calculate Daily Budget From Monthly Totals</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Daily-Budget-From-Monthly-Totals/m-p/295713#M1192281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This may or may not be helpful but I wrote a blog about this a while back, it helps you deal with holidays and weekends when projecting your budget from monthly to daily.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://biventure.blogspot.com/2010/03/handling-holidays-on-corporate-calendar.html"&gt;http://biventure.blogspot.com/2010/03/handling-holidays-on-corporate-calendar.html&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jul 2011 02:59:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Daily-Budget-From-Monthly-Totals/m-p/295713#M1192281</guid>
      <dc:creator>chriscammers</dc:creator>
      <dc:date>2011-07-21T02:59:16Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Daily Budget From Monthly Totals</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Daily-Budget-From-Monthly-Totals/m-p/295714#M1192282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This seems to be a good solution. What would be the expression to show the monthly total all dated Jan 1st to be spread about to each work day? Note my budget table has the 1st of each month with the budget totals...I need to divide the sum of those lines dated Jan 1st and times it by max current workdays of this month to get each days totals? Do you have this part of the expression?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2013 14:26:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Daily-Budget-From-Monthly-Totals/m-p/295714#M1192282</guid>
      <dc:creator>jarebpat</dc:creator>
      <dc:date>2013-01-09T14:26:53Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Daily Budget From Monthly Totals</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Daily-Budget-From-Monthly-Totals/m-p/295715#M1192283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If any body got the complete solution of question asked by &lt;STRONG style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/people/Jareb2012"&gt;Jareb2012&lt;/A&gt;&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;for calculating daily budget from monthly total &lt;STRONG&gt;kindly reply&lt;/STRONG&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 May 2014 10:01:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Daily-Budget-From-Monthly-Totals/m-p/295715#M1192283</guid>
      <dc:creator />
      <dc:date>2014-05-09T10:01:09Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Daily Budget From Monthly Totals</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Daily-Budget-From-Monthly-Totals/m-p/295716#M1192284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assuming that all days have equal budget:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Calender:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Period,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Calender_div:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Period&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Count(Date) as Divider&lt;/P&gt;&lt;P&gt;Resident tmp_Calender&lt;/P&gt;&lt;P&gt;Group By Period;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Budget:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; *,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Budget / Lookup('Divider','Period', Period,'Calender_div') as Daily_Budget&lt;/P&gt;&lt;P&gt;Resident tmp_Budget;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Join (Calender)&lt;/P&gt;&lt;P&gt;Load * Resident Calender)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop tables tmp_Budget, Calender, Calender_div;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to add holidays or your company has some special dates, then you can give excel-file to your business users and they can define working days or production dates there and you can subtract those in script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Open:&lt;/P&gt;&lt;P&gt;Mapping LOAD Date(A,'YYYY-MM-DD') as Date, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; C as Open&lt;/P&gt;&lt;P&gt;FROM ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also with excel-file you can give different weight for days, if for example Monday has 50% of sales budgeted for certain week.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Br,&lt;/P&gt;&lt;P&gt;Miikka&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Climber Finland&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 May 2014 10:26:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Daily-Budget-From-Monthly-Totals/m-p/295716#M1192284</guid>
      <dc:creator>miikkaqlick</dc:creator>
      <dc:date>2014-05-09T10:26:15Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Daily Budget From Monthly Totals</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Daily-Budget-From-Monthly-Totals/m-p/295717#M1192285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can u please tell what period is?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 May 2014 10:47:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Daily-Budget-From-Monthly-Totals/m-p/295717#M1192285</guid>
      <dc:creator />
      <dc:date>2014-05-09T10:47:29Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Daily Budget From Monthly Totals</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Daily-Budget-From-Monthly-Totals/m-p/295718#M1192286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Period is year-month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In above script something like this (depending on calender).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Year(PeriodEndDateTime)&amp;amp;Num(Month&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;(&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;PeriodEndDateTime),'00) as Period&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Format really doesn't matter, it just has to be same in calender and in budget. Now it can be 2014-05, 201405, 1405, ...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Miikka&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Climber Finland&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 May 2014 10:51:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Daily-Budget-From-Monthly-Totals/m-p/295718#M1192286</guid>
      <dc:creator>miikkaqlick</dc:creator>
      <dc:date>2014-05-09T10:51:54Z</dc:date>
    </item>
  </channel>
</rss>

