<?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: Comparing years and months in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Comparing-years-and-months/m-p/1001697#M14792</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;for some reason its still not working....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Nov 2015 16:03:45 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-11-16T16:03:45Z</dc:date>
    <item>
      <title>Comparing years and months</title>
      <link>https://community.qlik.com/t5/App-Development/Comparing-years-and-months/m-p/1001685#M14780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey I am trying to compare sales by years and months meaning &lt;/P&gt;&lt;P&gt;February 2014 sales vs February 2013 sales how can I preform this?&lt;/P&gt;&lt;P&gt;And how can I show it on percentages?&lt;/P&gt;&lt;P&gt; I am adding a picture of my app&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="my table.PNG" class="jive-image image-1" src="/legacyfs/online/105571_my table.PNG" style="height: 401px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Nov 2015 08:46:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Comparing-years-and-months/m-p/1001685#M14780</guid>
      <dc:creator />
      <dc:date>2015-11-16T08:46:21Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing years and months</title>
      <link>https://community.qlik.com/t5/App-Development/Comparing-years-and-months/m-p/1001686#M14781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;go through&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/180655"&gt;How to create MTD,YTD,PMTD and PYTD&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Nov 2015 10:34:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Comparing-years-and-months/m-p/1001686#M14781</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2015-11-16T10:34:43Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing years and months</title>
      <link>https://community.qlik.com/t5/App-Development/Comparing-years-and-months/m-p/1001687#M14782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hey sureshqv , tnx for your help but i belive the soultion will be changing / applying things on the App itself....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Nov 2015 10:45:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Comparing-years-and-months/m-p/1001687#M14782</guid>
      <dc:creator />
      <dc:date>2015-11-16T10:45:00Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing years and months</title>
      <link>https://community.qlik.com/t5/App-Development/Comparing-years-and-months/m-p/1001688#M14783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i need the user to have the ability to change it manually...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Nov 2015 11:00:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Comparing-years-and-months/m-p/1001688#M14783</guid>
      <dc:creator />
      <dc:date>2015-11-16T11:00:01Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing years and months</title>
      <link>https://community.qlik.com/t5/App-Development/Comparing-years-and-months/m-p/1001689#M14784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jhonatan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From the description of the problem, I think you need some thing like this. When 2014 and&amp;nbsp; Feb is selected, the results should be compared to 2013 - Feb right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If so check this out: &lt;/P&gt;&lt;P&gt;&lt;IMG alt="S1.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/105616_S1.PNG" style="height: 179px; width: 620px;" /&gt;&lt;IMG alt="S2.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/105635_S2.PNG" style="height: 198px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;- Sangram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Nov 2015 12:24:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Comparing-years-and-months/m-p/1001689#M14784</guid>
      <dc:creator>reddy-s</dc:creator>
      <dc:date>2015-11-16T12:24:09Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing years and months</title>
      <link>https://community.qlik.com/t5/App-Development/Comparing-years-and-months/m-p/1001690#M14785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Exactly !! yes thats what i need how can i do it ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Nov 2015 13:28:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Comparing-years-and-months/m-p/1001690#M14785</guid>
      <dc:creator />
      <dc:date>2015-11-16T13:28:50Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing years and months</title>
      <link>https://community.qlik.com/t5/App-Development/Comparing-years-and-months/m-p/1001691#M14786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jhonatan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just create two measures like this:&lt;/P&gt;&lt;P&gt;1) sum([Field])&lt;/P&gt;&lt;P&gt;2) sum({$&amp;lt; Year = {'$(=num((GetFieldSelections(Year) - 1), '###0' ))'}&amp;gt;} [Field])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create these measure and make use of them in your chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As @sureshgv mentioned, the best practice is to do it in the script which gives you better performance. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Sangram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Nov 2015 13:51:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Comparing-years-and-months/m-p/1001691#M14786</guid>
      <dc:creator>reddy-s</dc:creator>
      <dc:date>2015-11-16T13:51:37Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing years and months</title>
      <link>https://community.qlik.com/t5/App-Development/Comparing-years-and-months/m-p/1001692#M14787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if i have Sum(sales)&amp;nbsp; as measure,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that means i have to put in the &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;GetFieldSelections?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Nov 2015 14:03:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Comparing-years-and-months/m-p/1001692#M14787</guid>
      <dc:creator />
      <dc:date>2015-11-16T14:03:05Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing years and months</title>
      <link>https://community.qlik.com/t5/App-Development/Comparing-years-and-months/m-p/1001693#M14788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;would mind to help me with syntax?&lt;/P&gt;&lt;P&gt;year=year&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sales = sum ( iv_cost)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Nov 2015 14:32:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Comparing-years-and-months/m-p/1001693#M14788</guid>
      <dc:creator />
      <dc:date>2015-11-16T14:32:51Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing years and months</title>
      <link>https://community.qlik.com/t5/App-Development/Comparing-years-and-months/m-p/1001694#M14789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jhonatan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then just use these expressions:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;1) sum(sales) - assuming year 2014 is selected&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;2) sum({$&amp;lt; Year = {'$(=num((GetFieldSelections(Year) - 1), '###0' ))'}&amp;gt;} sales) - this will give you the sum of sales for 2013 considering any other month or quarter selections as well.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Nov 2015 14:48:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Comparing-years-and-months/m-p/1001694#M14789</guid>
      <dc:creator>reddy-s</dc:creator>
      <dc:date>2015-11-16T14:48:25Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing years and months</title>
      <link>https://community.qlik.com/t5/App-Development/Comparing-years-and-months/m-p/1001695#M14790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No probelm,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So that would be :&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;1) sum(iv_cost) - assuming year 2014 is selected&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;2) sum({$&amp;lt; year = {'$(=num((GetFieldSelections(year) - 1), '###0' ))'}&amp;gt;} iv_cost)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Nov 2015 15:42:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Comparing-years-and-months/m-p/1001695#M14790</guid>
      <dc:creator>reddy-s</dc:creator>
      <dc:date>2015-11-16T15:42:59Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing years and months</title>
      <link>https://community.qlik.com/t5/App-Development/Comparing-years-and-months/m-p/1001696#M14791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;TNX alot you realiy helping me!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Nov 2015 15:56:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Comparing-years-and-months/m-p/1001696#M14791</guid>
      <dc:creator />
      <dc:date>2015-11-16T15:56:44Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing years and months</title>
      <link>https://community.qlik.com/t5/App-Development/Comparing-years-and-months/m-p/1001697#M14792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;for some reason its still not working....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Nov 2015 16:03:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Comparing-years-and-months/m-p/1001697#M14792</guid>
      <dc:creator />
      <dc:date>2015-11-16T16:03:45Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing years and months</title>
      <link>https://community.qlik.com/t5/App-Development/Comparing-years-and-months/m-p/1001698#M14793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jhonatan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The fields are case sensitive.&lt;/P&gt;&lt;P&gt;Can you attach the QVF if possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sangram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Nov 2015 16:55:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Comparing-years-and-months/m-p/1001698#M14793</guid>
      <dc:creator>reddy-s</dc:creator>
      <dc:date>2015-11-16T16:55:45Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing years and months</title>
      <link>https://community.qlik.com/t5/App-Development/Comparing-years-and-months/m-p/1001699#M14794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;TRIED IT AGAIN AND IT WORKED!!! tnx alot!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Nov 2015 18:21:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Comparing-years-and-months/m-p/1001699#M14794</guid>
      <dc:creator />
      <dc:date>2015-11-16T18:21:13Z</dc:date>
    </item>
  </channel>
</rss>

