<?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: YTD previous month in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/YTD-previous-month/m-p/1335308#M840004</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Follow this link. It should help you a lot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlikview.com/docs/DOC-4313" title="https://community.qlikview.com/docs/DOC-4313"&gt;QlikView App: Set Analysis - Prior Period Compa... | Qlik Community&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Apr 2017 10:52:26 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-04-28T10:52:26Z</dc:date>
    <item>
      <title>YTD previous month</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-previous-month/m-p/1335306#M840002</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 have built a stiaght table with values for this years&amp;nbsp; months against customer.&lt;/P&gt;&lt;P&gt;The report is run on an ad hoc basis so I only return a grand for the completed previous months. For example today is the 28th April so the grand total should provide a sum of January to March. I thought this formula would do it, but I'm obviously missing something&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[LinkId]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"FIN"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;},&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Bill Code]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;-={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"REBATE"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;},&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Bill Country Code]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;-={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"US"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"MY"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"MX"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"AU"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"PE"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;},&lt;BR /&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Bill Date]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"&amp;gt;=$(=yearstart(today()),=monthend(Addmonths(Today(), -1)) "&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&lt;BR /&gt; &amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Bill Value]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;I've split the Bill Date expression out and&amp;nbsp; &lt;SPAN style="color: #800000;"&gt;(=yearstart(today()) &lt;SPAN style="color: #000000;"&gt;retruns 01/01/2017 and &lt;SPAN style="color: #800000;"&gt;monthend(Addmonths(Today(), -1)) &lt;/SPAN&gt;returns 31/03/2017.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 8pt;"&gt;Both are the dates I want to query between. Any help would be greatly appeciated&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 8pt;"&gt;Thanks in advance&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 8pt;"&gt;Dave&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-previous-month/m-p/1335306#M840002</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: YTD previous month</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-previous-month/m-p/1335307#M840003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;[Bill Date]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;"&amp;gt;=$(=yearstart(today())&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="; color: #0000ff; font-size: 10pt;"&gt;&lt;STRONG&gt;&amp;lt;=$(=&lt;/STRONG&gt;&lt;/SPAN&gt;monthend(Addmonths(Today(), -1))&lt;SPAN style="; color: #0000ff; font-size: 10pt;"&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt; "&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Apr 2017 10:24:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-previous-month/m-p/1335307#M840003</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2017-04-28T10:24:38Z</dc:date>
    </item>
    <item>
      <title>Re: YTD previous month</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-previous-month/m-p/1335308#M840004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Follow this link. It should help you a lot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlikview.com/docs/DOC-4313" title="https://community.qlikview.com/docs/DOC-4313"&gt;QlikView App: Set Analysis - Prior Period Compa... | Qlik Community&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Apr 2017 10:52:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-previous-month/m-p/1335308#M840004</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-28T10:52:26Z</dc:date>
    </item>
    <item>
      <title>Re: YTD previous month</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-previous-month/m-p/1335309#M840005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;unfortunately this doesn't work. It still bring back 0s. I can get round the problem using and if expression and summing the previous expressions.&lt;/P&gt;&lt;P&gt;I guess it's a workaround&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Apr 2017 11:07:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-previous-month/m-p/1335309#M840005</guid>
      <dc:creator />
      <dc:date>2017-04-28T11:07:11Z</dc:date>
    </item>
    <item>
      <title>Re: YTD previous month</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-previous-month/m-p/1335310#M840006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you post a representative sample?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Apr 2017 11:32:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-previous-month/m-p/1335310#M840006</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2017-04-28T11:32:16Z</dc:date>
    </item>
    <item>
      <title>Re: YTD previous month</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-previous-month/m-p/1335311#M840007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;unfortunately not, data protection wont allow us to even using the scrambler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Apr 2017 11:35:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-previous-month/m-p/1335311#M840007</guid>
      <dc:creator />
      <dc:date>2017-04-28T11:35:15Z</dc:date>
    </item>
  </channel>
</rss>

