<?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: create a salary budget table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/create-a-salary-budget-table/m-p/133857#M510156</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But cartesian produt will occur only if you dont have common values between two tables, if you had changed your filed begin_month to month and begin_year to year, it should take only the common months and years between this tables&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Aug 2018 13:59:58 GMT</pubDate>
    <dc:creator>eduardo_dimperio</dc:creator>
    <dc:date>2018-08-14T13:59:58Z</dc:date>
    <item>
      <title>create a salary budget table</title>
      <link>https://community.qlik.com/t5/QlikView/create-a-salary-budget-table/m-p/133849#M510148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-family: arial, sans-serif; font-size: 16px;"&gt;Hello everyone, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-family: arial, sans-serif; font-size: 16px;"&gt;I would like to create a table of staff costs from 3 tables: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-family: arial, sans-serif; font-size: 16px;"&gt;- a hiring table with the year at the date of hiring &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-family: arial, sans-serif; font-size: 16px;"&gt;- a table with salary data &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-family: arial, sans-serif; font-size: 16px;"&gt;- a table with the calendar for which I want to create the budget.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-family: arial, sans-serif; font-size: 16px;"&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/210694_Capture.PNG" style="height: auto;" /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-family: arial, sans-serif; font-size: 16px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-family: arial, sans-serif; font-size: 16px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-family: arial, sans-serif; font-size: 16px;"&gt; I first try to join the hiring table with my calendar by creating only the months from which people are hired.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-family: arial, sans-serif; font-size: 16px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-family: arial, sans-serif; font-size: 16px;"&gt; But that does not work. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-family: arial, sans-serif; font-size: 16px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-family: arial, sans-serif; font-size: 16px;"&gt;In the end, I want a table of 90 records: 36 for Dupont, 32 for Durand and 22 for martin. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-family: arial, sans-serif; font-size: 16px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-family: arial, sans-serif; font-size: 16px;"&gt;I enclose the QV file and the final table. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-family: arial, sans-serif; font-size: 16px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-family: arial, sans-serif; font-size: 16px;"&gt;Can someone help me for this? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-family: arial, sans-serif; font-size: 16px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-family: arial, sans-serif; font-size: 16px;"&gt;Thank you very much, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-family: arial, sans-serif; font-size: 16px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-family: arial, sans-serif; font-size: 16px;"&gt;Arnault&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Aug 2018 16:37:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/create-a-salary-budget-table/m-p/133849#M510148</guid>
      <dc:creator>doespirito</dc:creator>
      <dc:date>2018-08-13T16:37:46Z</dc:date>
    </item>
    <item>
      <title>Re: create a salary budget table</title>
      <link>https://community.qlik.com/t5/QlikView/create-a-salary-budget-table/m-p/133850#M510149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RESULT_TABLE:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;NoEmployee,&lt;/P&gt;&lt;P&gt;Name,&lt;/P&gt;&lt;P&gt;Begin_Year as Year,&lt;/P&gt;&lt;P&gt;Begin_Montth as Month&lt;/P&gt;&lt;P&gt;resident Employees&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Left Join(&lt;SPAN style="font-size: 13.3333px;"&gt;RESULT_TABLE&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;load&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;resident Pay&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Left Join(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;RESULT_TABLE&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;load&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;*&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;resident Calendar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Aug 2018 19:07:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/create-a-salary-budget-table/m-p/133850#M510149</guid>
      <dc:creator>eduardo_dimperio</dc:creator>
      <dc:date>2018-08-13T19:07:22Z</dc:date>
    </item>
    <item>
      <title>Re: create a salary budget table</title>
      <link>https://community.qlik.com/t5/QlikView/create-a-salary-budget-table/m-p/133851#M510150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;Thank you Eduardo for your reply,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN lang="en"&gt;It's a good start &lt;/SPAN&gt;but durand is only hired in May 2018 (32 months) and Martin in March 2019 (22 months).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;So your table RESULT_TABLE must have 90 lines only.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN lang="en"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN lang="en"&gt;Yours has 108 ...&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN lang="en"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="en"&gt;Arnault&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2018 07:10:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/create-a-salary-budget-table/m-p/133851#M510150</guid>
      <dc:creator>doespirito</dc:creator>
      <dc:date>2018-08-14T07:10:16Z</dc:date>
    </item>
    <item>
      <title>Re: create a salary budget table</title>
      <link>https://community.qlik.com/t5/QlikView/create-a-salary-budget-table/m-p/133852#M510151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN lang="en"&gt;the solution may be to join the calendar table from which the periods corresponding to each emplyee must be extracted.&lt;BR /&gt;that's what I tried in this code but it does not work.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;NoConcatenate&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;EM&gt;hiring:&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;EM&gt;LOAD NoEmployee,&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;EM&gt;Name,&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;EM&gt;worktime,&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;EM&gt;begin_year,&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;EM&gt;begin_month,&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;EM&gt;((begin_year-1)*12)+begin_month as NoHir&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;EM&gt;resident Employees;&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;EM&gt;for i = 0 to NoOfRows('hiring')-1&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;EM&gt;let vNoHir=peek ('NoHir','$(i)','hiring') ;&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;EM&gt;TEMPORY:&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;EM&gt;load peek ('NoEmployee','$(i)','hiring') as NoEmployee,&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; peek ('Name','$(i)','hiring') as Name,&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; peek ('worktime','$(i)','hiring') as worktime ;&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;EM&gt;&amp;nbsp; &lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp; left join&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;EM&gt;&amp;nbsp; &lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp; load year,month resident Calendar where NoCal &amp;gt;= $(vNoHir);&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;EM&gt;&amp;nbsp; &lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;EM&gt;next i;&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;EM&gt;&amp;nbsp; &lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;EM&gt;drop table hiring; &lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;EM&gt;drop table Calendar;&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;EM&gt;drop table Pay;&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;EM&gt;drop table Employees;&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN lang="en"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN lang="en"&gt;Does somebody have an idea?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;Arnault&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2018 12:10:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/create-a-salary-budget-table/m-p/133852#M510151</guid>
      <dc:creator>doespirito</dc:creator>
      <dc:date>2018-08-14T12:10:30Z</dc:date>
    </item>
    <item>
      <title>Re: create a salary budget table</title>
      <link>https://community.qlik.com/t5/QlikView/create-a-salary-budget-table/m-p/133853#M510152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Understand,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So after my first code put this, just to check:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;Aux_Table&lt;/P&gt;&lt;P&gt;Distinct&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;resident Result_table;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop table &lt;SPAN style="font-size: 13.3333px;"&gt;Result_table,pay,Calendar,Employees&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2018 12:29:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/create-a-salary-budget-table/m-p/133853#M510152</guid>
      <dc:creator>eduardo_dimperio</dc:creator>
      <dc:date>2018-08-14T12:29:30Z</dc:date>
    </item>
    <item>
      <title>Re: create a salary budget table</title>
      <link>https://community.qlik.com/t5/QlikView/create-a-salary-budget-table/m-p/133854#M510153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;sorry, but I still have 108 lines ...&lt;BR /&gt;This code was supposed to do exactly what?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2018 12:55:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/create-a-salary-budget-table/m-p/133854#M510153</guid>
      <dc:creator>doespirito</dc:creator>
      <dc:date>2018-08-14T12:55:16Z</dc:date>
    </item>
    <item>
      <title>Re: create a salary budget table</title>
      <link>https://community.qlik.com/t5/QlikView/create-a-salary-budget-table/m-p/133855#M510154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Verify if have duplicated values, but strange couse Left Join use like main table Employees, if Employees have 90 lines it should remain 90 lines, not up to 108&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2018 13:03:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/create-a-salary-budget-table/m-p/133855#M510154</guid>
      <dc:creator>eduardo_dimperio</dc:creator>
      <dc:date>2018-08-14T13:03:14Z</dc:date>
    </item>
    <item>
      <title>Re: create a salary budget table</title>
      <link>https://community.qlik.com/t5/QlikView/create-a-salary-budget-table/m-p/133856#M510155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No in fact :&lt;/P&gt;&lt;P&gt;Emplyees has 3 lines &lt;/P&gt;&lt;P&gt;calendar has 36 lines. (from 1/2018 to 12/2020) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;your solution creates a cartesian product 3x36=108&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;but, depending on the start date of the emplyees table, I need only bring back:&lt;BR /&gt;36 lines from calendar for durant (begin = 1/2018) &lt;BR /&gt;32 lines &lt;SPAN style="font-size: 13.3333px;"&gt;from calendar &lt;/SPAN&gt;for dupont (begin = 3/2018)&lt;BR /&gt;22 lines &lt;SPAN style="font-size: 13.3333px;"&gt;from calendar &lt;/SPAN&gt;for martin (begin = 5/2019)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;I hope to be clear ...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;thank you very much&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2018 13:18:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/create-a-salary-budget-table/m-p/133856#M510155</guid>
      <dc:creator>doespirito</dc:creator>
      <dc:date>2018-08-14T13:18:55Z</dc:date>
    </item>
    <item>
      <title>Re: create a salary budget table</title>
      <link>https://community.qlik.com/t5/QlikView/create-a-salary-budget-table/m-p/133857#M510156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But cartesian produt will occur only if you dont have common values between two tables, if you had changed your filed begin_month to month and begin_year to year, it should take only the common months and years between this tables&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2018 13:59:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/create-a-salary-budget-table/m-p/133857#M510156</guid>
      <dc:creator>eduardo_dimperio</dc:creator>
      <dc:date>2018-08-14T13:59:58Z</dc:date>
    </item>
    <item>
      <title>Re: create a salary budget table</title>
      <link>https://community.qlik.com/t5/QlikView/create-a-salary-budget-table/m-p/133858#M510157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Eduardo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;year+month (from Calendar) must be &amp;gt;= than &lt;SPAN style="font-size: 13.3333px;"&gt;begin_year and begin_month (from Employee)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;how to do that with a join ?&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/210815_Capture.PNG" style="height: 696px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2018 15:34:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/create-a-salary-budget-table/m-p/133858#M510157</guid>
      <dc:creator>doespirito</dc:creator>
      <dc:date>2018-08-14T15:34:03Z</dc:date>
    </item>
    <item>
      <title>Re: create a salary budget table</title>
      <link>https://community.qlik.com/t5/QlikView/create-a-salary-budget-table/m-p/133859#M510158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Arnault,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;If you use Left Join with Employee as main table you will only have&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;year and month (from Calendar) = than &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;begin_year and begin_month (From Employee), but if you use Calendar as main table you will have all dates and some with NoEmployee. After that you can use a where clause to filter&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2018 17:09:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/create-a-salary-budget-table/m-p/133859#M510158</guid>
      <dc:creator>eduardo_dimperio</dc:creator>
      <dc:date>2018-08-14T17:09:52Z</dc:date>
    </item>
    <item>
      <title>Re: create a salary budget table</title>
      <link>https://community.qlik.com/t5/QlikView/create-a-salary-budget-table/m-p/133860#M510159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;here is how I solved my problem.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;If you have a better solution, do not hesitate to give it to me with the qv file of the first post.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Have a good day,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Arnault&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Temp:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD NoEmployee, &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;((begin_year-1)*12)+begin_month as NoHir&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;resident Employees;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;for i = 0 to NoOfRows('Temp')-1&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;let vNoHir=peek ('NoHir','$(i)','Temp') ;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;let vNoEmpl=peek ('NoEmployee','$(i)','Temp');&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;budget:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;load year,month,$(vNoEmpl) as NoEmployee resident Calendar where NoCal &amp;gt;= $(vNoHir);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;next i;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Left join(Temp2)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;load NoEmployee,Name, worktime resident Employees;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Left join(Temp2)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;load * resident Pay;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;drop table Temp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;drop table Calendar;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;drop table Pay;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;drop table Employees;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2018 08:40:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/create-a-salary-budget-table/m-p/133860#M510159</guid>
      <dc:creator>doespirito</dc:creator>
      <dc:date>2018-08-16T08:40:58Z</dc:date>
    </item>
  </channel>
</rss>

