<?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: Monthwise Values Instead Of YTD in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Monthwise-Values-Instead-Of-YTD/m-p/1185798#M886275</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may think of calculating new month wise budget field in script using Peek/Previous function. Chart preparation would be easier.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Sep 2016 03:57:39 GMT</pubDate>
    <dc:creator>Digvijay_Singh</dc:creator>
    <dc:date>2016-09-16T03:57:39Z</dc:date>
    <item>
      <title>Monthwise Values Instead Of YTD</title>
      <link>https://community.qlik.com/t5/QlikView/Monthwise-Values-Instead-Of-YTD/m-p/1185793#M886270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've the following issue. Appreciate any quick help -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've a pivot table like this -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Table.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/137568_Table.PNG" style="height: 85px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Please Note-&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #ff0000;"&gt;The actual table in qlikview is actually a transpose of it where month-year is a dimension(The above mentioned table is not even the source, It's just a sample provided by client)&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The data that comes from source are ytd values. Hence Feb-15 actuals would be Feb-15 data - Jan-15 data = 12883&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody suggest how to achieve this at an expression level.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Current expression that i'm using to calculate '&lt;STRONG&gt;&lt;EM style="text-decoration: underline;"&gt;Connection Sales to Public&lt;/EM&gt;&lt;/STRONG&gt;' is - &lt;STRONG&gt;Only({&amp;lt;[Account Description] = {'412104*'}&amp;gt;}[YTD-Budget]). &lt;/STRONG&gt;Need a modified expression instead though.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;-Sneh&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/Monthwise-Values-Instead-Of-YTD/m-p/1185793#M886270</guid>
      <dc:creator>ashish_2511</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Monthwise Values Instead Of YTD</title>
      <link>https://community.qlik.com/t5/QlikView/Monthwise-Values-Instead-Of-YTD/m-p/1185794#M886271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What exactly are you trying to accomplish? I am not sure I understand how your data looks and what you are trying to achieve out of it. Can you may be provide a better sample with expected output?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Sep 2016 17:13:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Monthwise-Values-Instead-Of-YTD/m-p/1185794#M886271</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-09-15T17:13:01Z</dc:date>
    </item>
    <item>
      <title>Re: Monthwise Values Instead Of YTD</title>
      <link>https://community.qlik.com/t5/QlikView/Monthwise-Values-Instead-Of-YTD/m-p/1185795#M886272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Sunny&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks For your Quick response.&lt;/P&gt;&lt;P&gt;Hope this will help you understand the scenario better -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Source data comes from month-wise excel sheets, like one excel for one month.&lt;/P&gt;&lt;P&gt;Now I've a column called YTD Budget which gives me the numbers per month.&lt;/P&gt;&lt;P&gt;So, Now lets say January file has YTD Budget = 100 (From the excel) and Feb has 300.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In report I need to show&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Month-Year&amp;nbsp;&amp;nbsp;&amp;nbsp; YTD Budget&lt;/P&gt;&lt;P&gt;Jan-2016&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100&lt;/P&gt;&lt;P&gt;Feb-2016&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 200(300-100)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached is a Reduced qvw. DM table is TB_Files.&lt;/P&gt;&lt;P&gt;Please see the Visualization table as well (There's just one).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Sep 2016 20:21:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Monthwise-Values-Instead-Of-YTD/m-p/1185795#M886272</guid>
      <dc:creator>ashish_2511</dc:creator>
      <dc:date>2016-09-15T20:21:14Z</dc:date>
    </item>
    <item>
      <title>Re: Monthwise Values Instead Of YTD</title>
      <link>https://community.qlik.com/t5/QlikView/Monthwise-Values-Instead-Of-YTD/m-p/1185796#M886273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think there is no data in the attached sample. It is all empty. Can you reattach with data in it &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Sep 2016 20:59:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Monthwise-Values-Instead-Of-YTD/m-p/1185796#M886273</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-09-15T20:59:14Z</dc:date>
    </item>
    <item>
      <title>Re: Monthwise Values Instead Of YTD</title>
      <link>https://community.qlik.com/t5/QlikView/Monthwise-Values-Instead-Of-YTD/m-p/1185797#M886274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you have Month-Year as dimension(not pivoted) then you can use Your_Expression - Above(Your_Exp)&lt;/P&gt;&lt;P&gt;and if you are pivoting for Moth-Year Dim then use &lt;SPAN style="font-size: 13.3333px;"&gt;Your_Expression - Before(Your_Exp)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Sep 2016 21:18:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Monthwise-Values-Instead-Of-YTD/m-p/1185797#M886274</guid>
      <dc:creator>neelamsaroha157</dc:creator>
      <dc:date>2016-09-15T21:18:44Z</dc:date>
    </item>
    <item>
      <title>Re: Monthwise Values Instead Of YTD</title>
      <link>https://community.qlik.com/t5/QlikView/Monthwise-Values-Instead-Of-YTD/m-p/1185798#M886275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may think of calculating new month wise budget field in script using Peek/Previous function. Chart preparation would be easier.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2016 03:57:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Monthwise-Values-Instead-Of-YTD/m-p/1185798#M886275</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2016-09-16T03:57:39Z</dc:date>
    </item>
    <item>
      <title>Re: Monthwise Values Instead Of YTD</title>
      <link>https://community.qlik.com/t5/QlikView/Monthwise-Values-Instead-Of-YTD/m-p/1185799#M886276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Sunny&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see this one.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2016 08:36:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Monthwise-Values-Instead-Of-YTD/m-p/1185799#M886276</guid>
      <dc:creator>ashish_2511</dc:creator>
      <dc:date>2016-09-16T08:36:30Z</dc:date>
    </item>
    <item>
      <title>Re: Monthwise Values Instead Of YTD</title>
      <link>https://community.qlik.com/t5/QlikView/Monthwise-Values-Instead-Of-YTD/m-p/1185800#M886277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you please post an example.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2016 08:38:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Monthwise-Values-Instead-Of-YTD/m-p/1185800#M886277</guid>
      <dc:creator>ashish_2511</dc:creator>
      <dc:date>2016-09-16T08:38:08Z</dc:date>
    </item>
    <item>
      <title>Re: Monthwise Values Instead Of YTD</title>
      <link>https://community.qlik.com/t5/QlikView/Monthwise-Values-Instead-Of-YTD/m-p/1185801#M886278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you looking to get this?&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/137731_Capture.PNG" style="height: 198px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expressions used&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Only({&amp;lt;[Account Description] = {'412104*'}&amp;gt;}[YTD-Budget]) - Above(Only({&amp;lt;[Account Description] = {'412104*'}&amp;gt;}[YTD-Budget]))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Only({&amp;lt;[Account Description] = {'412105*'}&amp;gt;}[YTD-Budget]) - Above(Only({&amp;lt;[Account Description] = {'412105*'}&amp;gt;}[YTD-Budget]))&lt;/STRONG&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;and so on&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2016 16:25:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Monthwise-Values-Instead-Of-YTD/m-p/1185801#M886278</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-09-16T16:25:55Z</dc:date>
    </item>
    <item>
      <title>Re: Monthwise Values Instead Of YTD</title>
      <link>https://community.qlik.com/t5/QlikView/Monthwise-Values-Instead-Of-YTD/m-p/1185802#M886279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot Sunny&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/love.png" /&gt;. this works for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I slightly modified it to -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;If(RowNo()=1,Only({&amp;lt;[Account Description] = {'412104*'}&amp;gt;}[YTD-Budget]),Only({&amp;lt;[Account Description] = {'412104*'}&amp;gt;}[YTD-Budget]) - Above(Only({&amp;lt;[Account Description] = {'412104*'}&amp;gt;}[YTD-Budget])))&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which gives me the Jan-2015 value as well.&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;It would be great if you could also suggest a way to implement this at the script level. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;-Sneh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2016 17:04:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Monthwise-Values-Instead-Of-YTD/m-p/1185802#M886279</guid>
      <dc:creator>ashish_2511</dc:creator>
      <dc:date>2016-09-16T17:04:17Z</dc:date>
    </item>
    <item>
      <title>Re: Monthwise Values Instead Of YTD</title>
      <link>https://community.qlik.com/t5/QlikView/Monthwise-Values-Instead-Of-YTD/m-p/1185803#M886280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your script is very complicated for me to propose anything, but as Digvijay mentioned, you can use &lt;A href="https://community.qlik.com/docs/DOC-9314"&gt;Peek() or Previous() ?&lt;/A&gt; to accomplish this in the script. If you can provide sample data for one of the expressions, I might be able to show you how it can be done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, you can further simplify your above expression to this&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Only({&amp;lt;[Account Description] = {'412104*'}&amp;gt;}[YTD-Budget]) - &lt;SPAN style="color: #ff0000;"&gt;Alt(&lt;/SPAN&gt;Above(Only({&amp;lt;[Account Description] = {'412104*'}&amp;gt;}[YTD-Budget]))&lt;SPAN style="color: #ff0000;"&gt;, 0)&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of using this&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-family: inherit; font-weight: inherit;"&gt;&lt;EM&gt;If(RowNo()=1,Only({&amp;lt;[Account Description] = {'412104*'}&amp;gt;}[YTD-Budget]),Only({&amp;lt;[Account Description] = {'412104*'}&amp;gt;}[YTD-Budget]) - Above(Only({&amp;lt;[Account Description] = {'412104*'}&amp;gt;}[YTD-Budget])))&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="137752" alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/137752_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Applied the new expression to just one expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2016 18:09:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Monthwise-Values-Instead-Of-YTD/m-p/1185803#M886280</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-09-16T18:09:27Z</dc:date>
    </item>
    <item>
      <title>Re: Monthwise Values Instead Of YTD</title>
      <link>https://community.qlik.com/t5/QlikView/Monthwise-Values-Instead-Of-YTD/m-p/1185804#M886281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much Sunny. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;-Sneh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2016 20:02:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Monthwise-Values-Instead-Of-YTD/m-p/1185804#M886281</guid>
      <dc:creator>ashish_2511</dc:creator>
      <dc:date>2016-09-16T20:02:11Z</dc:date>
    </item>
  </channel>
</rss>

