<?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: Problem by chossing different periods in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-by-chossing-different-periods/m-p/279497#M104005</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;have u tried &lt;CODE class="jive-code jive-sql" style="font-family: monospace;"&gt;{$(#=&lt;SPAN class="jive-sql-keyword" style="font-size: 12px; color: navy; font-weight: bold;"&gt;Only&lt;/SPAN&gt;(Jahr)-1)}&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;instead of&amp;nbsp; {$(=&lt;SPAN class="jive-sql-keyword" style="font-size: 12px; color: navy; font-weight: bold;"&gt;Only&lt;/SPAN&gt;(Jahr)-1)}?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and &lt;CODE class="jive-code jive-sql" style="font-family: monospace;"&gt;MONAT={"&lt;SPAN class="jive-sql-quote" style="font-size: 12px; color: red;"&gt;&amp;lt;=$(#=month(JARECDAT))&lt;/SPAN&gt;"}&amp;gt;}?&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;C u,&lt;/P&gt;&lt;P&gt;Stefano&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Sep 2011 14:35:27 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-09-21T14:35:27Z</dc:date>
    <item>
      <title>Problem by chossing different periods</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-by-chossing-different-periods/m-p/279496#M104004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello together,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at the moment, I am struggling with following problem:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a database with daily turnovers (Monday to Friday). The turnover begins at 05.01.2009 and ends yesterday.&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;TABLE border="1" cellpadding="3" cellspacing="0" class="jiveBorder" height="145" style="border: 1px solid #000000; width: 287px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Umsatz (Turnover)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;JARECDAT&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;123.456 EUR&lt;/TD&gt;&lt;TD&gt;02.05.2011&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;32.345 EUR&lt;/TD&gt;&lt;TD&gt;03.05.2011&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;145.453 EUR&lt;/TD&gt;&lt;TD&gt;04.05.2011&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;93.929 EUR&lt;/TD&gt;&lt;TD&gt;05.05.2011&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;100.011 EUR&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;06.05.2011&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I have separated the dates to "Day", "Month" and "Jear".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I would like to compare the turnover from this month with the same timeperiod one year ago.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example: 01.09.2011 till 20.09.2011 is to compare with 01.09.2010 till 20.09.2010&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I use following function, I will always get the turnover one year ago till &lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;30&lt;/STRONG&gt;&lt;/SPAN&gt;.09.2010 and not till &lt;SPAN style="color: #ff0000;"&gt;20&lt;/SPAN&gt;.09.2010&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;Sum({$&amp;lt;Jahr={$(=Only(Jahr)-1)},MONAT={"&amp;lt;=$(=month(JARECDAT))"}&amp;gt;} Umsatz)&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It also could be the actual quarter starting from 01.07.2011 till 20.09.2011 which has to be compared with 01.07.2010 till 20.09.2010.&lt;/P&gt;&lt;P&gt;The function above will always give the date starting 01.07.2010 till &lt;STRONG style="color: #0000ff;"&gt;30&lt;/STRONG&gt;.09.2010.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do I do wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I appreciate your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; NewQlikie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2011 14:19:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-by-chossing-different-periods/m-p/279496#M104004</guid>
      <dc:creator>newqlikie</dc:creator>
      <dc:date>2011-09-21T14:19:51Z</dc:date>
    </item>
    <item>
      <title>Re: Problem by chossing different periods</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-by-chossing-different-periods/m-p/279497#M104005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;have u tried &lt;CODE class="jive-code jive-sql" style="font-family: monospace;"&gt;{$(#=&lt;SPAN class="jive-sql-keyword" style="font-size: 12px; color: navy; font-weight: bold;"&gt;Only&lt;/SPAN&gt;(Jahr)-1)}&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;instead of&amp;nbsp; {$(=&lt;SPAN class="jive-sql-keyword" style="font-size: 12px; color: navy; font-weight: bold;"&gt;Only&lt;/SPAN&gt;(Jahr)-1)}?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and &lt;CODE class="jive-code jive-sql" style="font-family: monospace;"&gt;MONAT={"&lt;SPAN class="jive-sql-quote" style="font-size: 12px; color: red;"&gt;&amp;lt;=$(#=month(JARECDAT))&lt;/SPAN&gt;"}&amp;gt;}?&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;C u,&lt;/P&gt;&lt;P&gt;Stefano&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2011 14:35:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-by-chossing-different-periods/m-p/279497#M104005</guid>
      <dc:creator />
      <dc:date>2011-09-21T14:35:27Z</dc:date>
    </item>
    <item>
      <title>Problem by chossing different periods</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-by-chossing-different-periods/m-p/279498#M104006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stefano,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;no, this is not working.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2011 14:39:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-by-chossing-different-periods/m-p/279498#M104006</guid>
      <dc:creator>newqlikie</dc:creator>
      <dc:date>2011-09-21T14:39:29Z</dc:date>
    </item>
    <item>
      <title>Problem by chossing different periods</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-by-chossing-different-periods/m-p/279499#M104007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;but in the table&amp;nbsp; u have posted umsatz field is a string.&lt;/P&gt;&lt;P&gt;Have u considered this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Otherwise try to post a little qvw with some example data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c u,&lt;/P&gt;&lt;P&gt;Stefano&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2011 14:44:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-by-chossing-different-periods/m-p/279499#M104007</guid>
      <dc:creator />
      <dc:date>2011-09-21T14:44:52Z</dc:date>
    </item>
    <item>
      <title>Problem by chossing different periods</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-by-chossing-different-periods/m-p/279500#M104008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the problem is only the day of 9 month, this is correct cause you make "&lt;SPAN class="jive-sql-quote" style="font-size: 12px; color: red;"&gt;&amp;lt;=$(#=month(JARECDAT))&lt;/SPAN&gt;" &lt;/P&gt;&lt;P&gt;This year u have 20 days but 1 years ago 30 days.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2011 14:55:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-by-chossing-different-periods/m-p/279500#M104008</guid>
      <dc:creator />
      <dc:date>2011-09-21T14:55:08Z</dc:date>
    </item>
    <item>
      <title>Re: Problem by chossing different periods</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-by-chossing-different-periods/m-p/279501#M104009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stefano,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for your comment.&lt;/P&gt;&lt;P&gt;The Field "Umsatz" ist not a string, it is a "numeric" field (without EUR). Sorry.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem I have is, that I need to compare the exact timeperiod which I choose within one year with the same timperiod the year before.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I attached a sample.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.) To see the real problem, please choose the actual year (2011) and the actual month (Sep). &lt;/P&gt;&lt;P&gt;2.) Then you see, which days should be included. (starting from 01 till 21 without weekends)&lt;/P&gt;&lt;P&gt;3.) Now you get following turnover:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="7451" alt="turnover-wrong.JPG" class="jive-image-thumbnail jive-image" src="https://community.qlik.com/legacyfs/online/7451_turnover-wrong.JPG" width="450" /&gt;&lt;/P&gt;&lt;P&gt;4.) If you now chosse also the days (starting from 01 till 21), you will get following turnover:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="7452" alt="turnover-wright.JPG" class="jive-image-thumbnail jive-image" src="https://community.qlik.com/legacyfs/online/7452_turnover-wright.JPG" width="450" /&gt;&lt;/P&gt;&lt;P&gt;5) The next problem will be, if I choose the actual quarter.&lt;/P&gt;&lt;P&gt;- This year would be the date 01.07.2011 till 21.09.2011&lt;/P&gt;&lt;P&gt;- The compared year would be 01.07.2010 till &lt;STRONG&gt;30&lt;/STRONG&gt;.09.2010 (but it should be &lt;STRONG&gt;21&lt;/STRONG&gt;.09.2010)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2011 07:21:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-by-chossing-different-periods/m-p/279501#M104009</guid>
      <dc:creator>newqlikie</dc:creator>
      <dc:date>2011-09-22T07:21:08Z</dc:date>
    </item>
    <item>
      <title>Re: Problem by chossing different periods</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-by-chossing-different-periods/m-p/279502#M104010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;if u use a set like this also for the year before expression?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tag={"&amp;lt;=$(#=max(Tag))"}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c u,&lt;/P&gt;&lt;P&gt;Stefano&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2011 07:33:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-by-chossing-different-periods/m-p/279502#M104010</guid>
      <dc:creator />
      <dc:date>2011-09-22T07:33:35Z</dc:date>
    </item>
    <item>
      <title>Re: Problem by chossing different periods</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-by-chossing-different-periods/m-p/279503#M104011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt; &lt;/STRONG&gt;Hi Stefano,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this would be my function:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;Sum({$&amp;lt;Jahr={$(=Only(Jahr)-1)},MONAT={"&amp;lt;=$(=month(JARECDAT))"},Tag={"&amp;lt;=$(#=max(Tag))"}&amp;gt;} Umsatz)&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but it is not woking, because if I choose a quarter (in my example "quarter 3", the max(day) would be 31 and for that, it will sum all the turnover starting 01.07.2010 till 30.09.2010. That timeperiod would be compared with 01.07.2011 till 21.09.2011. This is my problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I use above mentioned formula by &lt;SPAN style="text-decoration: underline;"&gt;choosing only one month&lt;/SPAN&gt;, it works perfectly!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have another idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Message modified by NewQlikie:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Above mentioned formula is not working properly. If I choose only one day in Sept. (e.g. 15.09.2011), this formula give me back the turnover from 01.09.2010 till 15.09.2010 and not only the turnover for 15.09.2010!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2011 07:55:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-by-chossing-different-periods/m-p/279503#M104011</guid>
      <dc:creator>newqlikie</dc:creator>
      <dc:date>2011-09-22T07:55:12Z</dc:date>
    </item>
    <item>
      <title>Re: Problem by chossing different periods</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-by-chossing-different-periods/m-p/279504#M104012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;i don't test this, but u can try something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tag={"&amp;lt;=$(#=max({$&amp;lt;Monat={$(#=max(Monat))}&amp;gt;}Tag))"}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stefano&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2011 08:40:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-by-chossing-different-periods/m-p/279504#M104012</guid>
      <dc:creator />
      <dc:date>2011-09-22T08:40:26Z</dc:date>
    </item>
    <item>
      <title>Re: Problem by chossing different periods</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-by-chossing-different-periods/m-p/279505#M104013</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;I'm sorry, but I do not get any result with this formula and I am not to good with "set analysis".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2011 11:04:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-by-chossing-different-periods/m-p/279505#M104013</guid>
      <dc:creator>newqlikie</dc:creator>
      <dc:date>2011-09-22T11:04:36Z</dc:date>
    </item>
    <item>
      <title>Re: Problem by chossing different periods</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-by-chossing-different-periods/m-p/279506#M104014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;U have to be carefull with number interpretation of the date...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had some problem, but this seems to be ok... let me know..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the expression of total turnover:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(Sum(Umsatz)&amp;gt;0,Sum({$&amp;lt;Jahr={$(=Only(Jahr)-1)},Tag={"&amp;lt;=$(#=max({$&amp;lt;Monat={'=Monat=max(Monat)'}&amp;gt;}Tag))"}&amp;gt;}Umsatz))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2011 11:16:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-by-chossing-different-periods/m-p/279506#M104014</guid>
      <dc:creator />
      <dc:date>2011-09-22T11:16:49Z</dc:date>
    </item>
    <item>
      <title>Re: Problem by chossing different periods</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-by-chossing-different-periods/m-p/279507#M104015</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;this one is almost working for a total turnover in between months with one problem.&lt;/P&gt;&lt;P&gt;What happens is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I choose July 2011 (which is from 03.07. till 29.07.2011).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get the turnover right in 2011. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But in 2010 the fomula picks (03.07. till 29.07.11) and not till 30.07.2011&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I only need the limitation of the day in the actual month. If a month is already finished, I need the whole turnover of that month or timeperiode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Here is an other explanation:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Turnover in the actual timeperiod:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;the full last two month in 2011 &lt;SPAN style="color: #339966;"&gt;(Jul and Aug) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;+&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #ff0000;"&gt;the actual month till yesterday in 2011&lt;SPAN style="color: #000000;"&gt;&lt;SPAN style="color: #339966;"&gt; (01.09. - 21.09.2011)&lt;/SPAN&gt; -&amp;gt;&amp;nbsp; I choose "&lt;SPAN style="color: #008000;"&gt;2011&lt;/SPAN&gt;" and "&lt;SPAN style="color: #339966;"&gt;Jul&lt;/SPAN&gt;, &lt;SPAN style="color: #339966;"&gt;Aug &lt;/SPAN&gt;and &lt;SPAN style="color: #339966;"&gt;Sep&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Compared turnover last year:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;the full last two month in 2010 &lt;/SPAN&gt;&lt;SPAN style="color: #339966;"&gt;(Jul and Aug)&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt; &lt;/SPAN&gt;+&amp;nbsp; &lt;SPAN style="color: #ff0000;"&gt;the actual month till yesterday in 2010 &lt;/SPAN&gt;&lt;SPAN style="color: #339966;"&gt;(01.09. - 21.09.2010)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2011 11:58:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-by-chossing-different-periods/m-p/279507#M104015</guid>
      <dc:creator>newqlikie</dc:creator>
      <dc:date>2011-09-22T11:58:23Z</dc:date>
    </item>
    <item>
      <title>Re: Problem by chossing different periods</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-by-chossing-different-periods/m-p/279508#M104016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;tell me if this is ok :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;Jahr={$(=Only(Jahr)-1)},Monat-={$(#=(max(Monat)))}&amp;gt;+&lt;/P&gt;&lt;P&gt;&amp;lt;Jahr={$(=Only(Jahr)-1)},Monat={$(#=(max(Monat)))},Tag={"&amp;lt;=$(#=max({$&amp;lt;Monat={'=Monat=max(Monat)'}&amp;gt;}Tag))"}&amp;gt;}Umsatz)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;C u ,&lt;/P&gt;&lt;P&gt;Stefano&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2011 12:40:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-by-chossing-different-periods/m-p/279508#M104016</guid>
      <dc:creator />
      <dc:date>2011-09-22T12:40:38Z</dc:date>
    </item>
    <item>
      <title>Problem by chossing different periods</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-by-chossing-different-periods/m-p/279509#M104017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stefano,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm sorry,but it is also not working. &lt;/P&gt;&lt;P&gt;Your function is taking the whole "September" (01.09. till 30.0.2010)&amp;nbsp; from last year, if I only choose "Sep" and "2011".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any other idea?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2011 12:45:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-by-chossing-different-periods/m-p/279509#M104017</guid>
      <dc:creator>newqlikie</dc:creator>
      <dc:date>2011-09-22T12:45:40Z</dc:date>
    </item>
    <item>
      <title>Re: Problem by chossing different periods</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-by-chossing-different-periods/m-p/279510#M104018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;hi think the problem is the String Value of Month,&lt;/P&gt;&lt;P&gt;May u try a reload with a num format of month?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Than u can try to post me that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Stefano&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2011 13:26:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-by-chossing-different-periods/m-p/279510#M104018</guid>
      <dc:creator />
      <dc:date>2011-09-22T13:26:18Z</dc:date>
    </item>
    <item>
      <title>Problem by chossing different periods</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-by-chossing-different-periods/m-p/279511#M104019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stefano,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how do I do a reload of the month varlues in a num format?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2011 13:59:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-by-chossing-different-periods/m-p/279511#M104019</guid>
      <dc:creator>newqlikie</dc:creator>
      <dc:date>2011-09-22T13:59:01Z</dc:date>
    </item>
    <item>
      <title>Problem by chossing different periods</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-by-chossing-different-periods/m-p/279512#M104020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try with this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;num(month(JARECDAT)) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ste.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2011 14:18:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-by-chossing-different-periods/m-p/279512#M104020</guid>
      <dc:creator />
      <dc:date>2011-09-22T14:18:40Z</dc:date>
    </item>
    <item>
      <title>Re: Problem by chossing different periods</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-by-chossing-different-periods/m-p/279513#M104021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stefano,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;enclosed the reload with the month in num format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It has not changed anything in relation to the formulas.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2011 14:30:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-by-chossing-different-periods/m-p/279513#M104021</guid>
      <dc:creator>newqlikie</dc:creator>
      <dc:date>2011-09-22T14:30:04Z</dc:date>
    </item>
    <item>
      <title>Re: Problem by chossing different periods</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-by-chossing-different-periods/m-p/279514#M104022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;let me know if the first expression is ok.&lt;/P&gt;&lt;P&gt;Have confidence in me and in Qlik.. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ste.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2011 14:39:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-by-chossing-different-periods/m-p/279514#M104022</guid>
      <dc:creator />
      <dc:date>2011-09-22T14:39:03Z</dc:date>
    </item>
    <item>
      <title>Re: Problem by chossing different periods</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-by-chossing-different-periods/m-p/279515#M104023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stefano,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am really sorry to say, that the function is still not working, but I think, you are almost with it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is, if you tick in month "07" and in year "2011", the total turnover was 10.079,73 EUR and not 9.908,67 EUR. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That problem occurs, because the actual year has different workingdays, than in 2010. Therefore I need the total turnover (beginning from the first to the last day) for each month, except for the actual month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is another example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;Total turnover of the past months in the past years:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;First day of a month in the past ("01.month.past-year") till to the last day of a month in the past (for Aug. "31.08.past-year", or for Jun. "30.07.past-year")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;Total turnover of the actual month in the past year:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;First day of the actual month&amp;nbsp; ("01.month.past-year") till one day before the actual date (today is 23.09.2011 =&amp;gt; "22.07.2010").&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;Total turnover of the actual month in the actual year:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;First day of the actual month&amp;nbsp; ("01.month.actual year") till one day before the actual date (today is 23.09.2011 =&amp;gt; "22.07.2011").&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again for your further help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Sep 2011 06:13:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-by-chossing-different-periods/m-p/279515#M104023</guid>
      <dc:creator>newqlikie</dc:creator>
      <dc:date>2011-09-23T06:13:55Z</dc:date>
    </item>
  </channel>
</rss>

