<?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 comparing years in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/comparing-years/m-p/939827#M13176</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hey everyone,&lt;/P&gt;&lt;P&gt;i am creating a sale report and i am trying to compare sales between years:&lt;/P&gt;&lt;P&gt;my sales field = SUM(NIS_TOTPRICE)&lt;/P&gt;&lt;P&gt;and year = Year,&lt;/P&gt;&lt;P&gt;can someone please help me?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Dec 2015 10:34:21 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-12-16T10:34:21Z</dc:date>
    <item>
      <title>comparing years</title>
      <link>https://community.qlik.com/t5/App-Development/comparing-years/m-p/939827#M13176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hey everyone,&lt;/P&gt;&lt;P&gt;i am creating a sale report and i am trying to compare sales between years:&lt;/P&gt;&lt;P&gt;my sales field = SUM(NIS_TOTPRICE)&lt;/P&gt;&lt;P&gt;and year = Year,&lt;/P&gt;&lt;P&gt;can someone please help me?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Dec 2015 10:34:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/comparing-years/m-p/939827#M13176</guid>
      <dc:creator />
      <dc:date>2015-12-16T10:34:21Z</dc:date>
    </item>
    <item>
      <title>Re: comparing years</title>
      <link>https://community.qlik.com/t5/App-Development/comparing-years/m-p/939828#M13177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the exact issue that you are facing? You seem to have all the piece you have to compare the sales&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Dec 2015 10:36:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/comparing-years/m-p/939828#M13177</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-12-16T10:36:46Z</dc:date>
    </item>
    <item>
      <title>Re: comparing years</title>
      <link>https://community.qlik.com/t5/App-Development/comparing-years/m-p/939829#M13178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Sunny i am trying to make an expression for a&amp;nbsp; report&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/109153_2.PNG" style="height: 328px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Dec 2015 11:01:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/comparing-years/m-p/939829#M13178</guid>
      <dc:creator />
      <dc:date>2015-12-16T11:01:49Z</dc:date>
    </item>
    <item>
      <title>Re: comparing years</title>
      <link>https://community.qlik.com/t5/App-Development/comparing-years/m-p/939830#M13179</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;There are more than one way to do it, you can make some changes in data model to simplify your set analysis expressions as discussed in detail &lt;A href="https://community.qlik.com/qlik-blogpost/3619"&gt;Year-over-Year Comparisons&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another approach you can take it do comparison in set analysis of the expression. For that you have to give range of months you want to include while calculating, in your case it can be last 12 months or years as 2013/2014/2015 so on.&lt;/P&gt;&lt;P&gt;You can find some more details in &lt;A href="https://community.qlik.com/thread/193965"&gt;Range of month in a bar chart&lt;/A&gt; . It is for bar charts but your expression will remain same for straight table as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Dec 2015 11:45:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/comparing-years/m-p/939830#M13179</guid>
      <dc:creator>thakkarrahul01</dc:creator>
      <dc:date>2015-12-16T11:45:23Z</dc:date>
    </item>
    <item>
      <title>Re: comparing years</title>
      <link>https://community.qlik.com/t5/App-Development/comparing-years/m-p/939831#M13180</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;I am sorry but the image is not clear. But when you would like to compare a measure between 2 years, make use of a set analysis expression to do so.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Dec 2015 13:04:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/comparing-years/m-p/939831#M13180</guid>
      <dc:creator>reddy-s</dc:creator>
      <dc:date>2015-12-16T13:04:25Z</dc:date>
    </item>
    <item>
      <title>Re: comparing years</title>
      <link>https://community.qlik.com/t5/App-Development/comparing-years/m-p/939832#M13181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey everyone ,&lt;/P&gt;&lt;P&gt;o.k i got this&amp;nbsp; to show me the year on:&lt;/P&gt;&lt;P&gt;(sum ({$&amp;lt;Year={'YEAR'}&amp;gt;}NIS_TOTPRICE))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;NIS_TOTPRICE=sales&lt;/SPAN&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;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;i am trying to show the sales of the past year &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;lets say (sum ({$&amp;lt;Year={'YEAR'}&amp;gt;}NIS_TOTPRICE)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;show me the year that has been choseen&amp;nbsp; for example 2014&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;and i want to see&amp;nbsp; 2013 sales...&lt;/P&gt;&lt;P&gt;i need some help with the syntax...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Dec 2015 08:54:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/comparing-years/m-p/939832#M13181</guid>
      <dc:creator />
      <dc:date>2015-12-17T08:54:27Z</dc:date>
    </item>
    <item>
      <title>Re: comparing years</title>
      <link>https://community.qlik.com/t5/App-Development/comparing-years/m-p/939833#M13182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;past year : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;sum ({$&amp;lt;Year={'$(YEAR)-1'}&amp;gt;}NIS_TOTPRICE)&lt;/SPAN&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;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;bruno&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Dec 2015 09:14:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/comparing-years/m-p/939833#M13182</guid>
      <dc:creator>brunobertels</dc:creator>
      <dc:date>2015-12-17T09:14:20Z</dc:date>
    </item>
    <item>
      <title>Re: comparing years</title>
      <link>https://community.qlik.com/t5/App-Development/comparing-years/m-p/939834#M13183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;tried it but doesn't work....&lt;/P&gt;&lt;P&gt;i&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;also&amp;nbsp; &lt;/SPAN&gt;tried defining it with&lt;/P&gt;&lt;P&gt;Num(&amp;nbsp; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;sum ({$&amp;lt;Year={'$(YEAR)-1'}&amp;gt;}NIS_TOTPRICE)&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;but did not work as well...&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Dec 2015 09:27:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/comparing-years/m-p/939834#M13183</guid>
      <dc:creator />
      <dc:date>2015-12-17T09:27:36Z</dc:date>
    </item>
    <item>
      <title>Re: comparing years</title>
      <link>https://community.qlik.com/t5/App-Development/comparing-years/m-p/939835#M13184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;sum ({$&amp;lt;&lt;STRONG&gt;Year&lt;/STRONG&gt;={$(=max(&lt;STRONG&gt;Year&lt;/STRONG&gt;-1))}&amp;gt;}NIS_TOTPRICE)&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;)&lt;/SPAN&gt;&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;where &lt;STRONG&gt;Year &lt;/STRONG&gt;is your dimension&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Chek also your syntax lower / upper Case&lt;/SPAN&gt;&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;Try also for your set analysis this amazing tool : &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;A href="http://tools.qlikblog.at/SetAnalysisWizard/QlikView-SetAnalysis_Wizard_and_Generator.aspx?sa="&gt;http://tools.qlikblog.at/SetAnalysisWizard/QlikView-SetAnalysis_Wizard_and_Generator.aspx?sa=&lt;/A&gt;&lt;/SPAN&gt;&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;Bruno&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Dec 2015 09:52:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/comparing-years/m-p/939835#M13184</guid>
      <dc:creator>brunobertels</dc:creator>
      <dc:date>2015-12-17T09:52:59Z</dc:date>
    </item>
    <item>
      <title>Re: comparing years</title>
      <link>https://community.qlik.com/t5/App-Development/comparing-years/m-p/939836#M13185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;doesn't work...&lt;/P&gt;&lt;P&gt;this is has work:&lt;/P&gt;&lt;P&gt;(sum ({$&amp;lt;Year={'YEAR'}&amp;gt;}NIS_TOTPRICE))&lt;/P&gt;&lt;P&gt;but that doesn't :&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;sum ({$&amp;lt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Year&lt;/STRONG&gt;={$(=max(&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Year&lt;/STRONG&gt;-1))}&amp;gt;}NIS_TOTPRICE)&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;....&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Dec 2015 11:06:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/comparing-years/m-p/939836#M13185</guid>
      <dc:creator />
      <dc:date>2015-12-17T11:06:16Z</dc:date>
    </item>
    <item>
      <title>Re: comparing years</title>
      <link>https://community.qlik.com/t5/App-Development/comparing-years/m-p/939837#M13186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok sorry to read that&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you share a sample of your data or the qvf&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;Bruno&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Dec 2015 11:15:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/comparing-years/m-p/939837#M13186</guid>
      <dc:creator>brunobertels</dc:creator>
      <dc:date>2015-12-17T11:15:48Z</dc:date>
    </item>
    <item>
      <title>Re: comparing years</title>
      <link>https://community.qlik.com/t5/App-Development/comparing-years/m-p/939838#M13187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ofcurse what is your mail?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Dec 2015 11:20:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/comparing-years/m-p/939838#M13187</guid>
      <dc:creator />
      <dc:date>2015-12-17T11:20:30Z</dc:date>
    </item>
    <item>
      <title>Re: comparing years</title>
      <link>https://community.qlik.com/t5/App-Development/comparing-years/m-p/939839#M13188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can upload your app here&lt;/P&gt;&lt;P&gt;clic on advance user editor and join link&lt;/P&gt;&lt;P&gt;or send me it bruno.bertelsatcegetel.net ( change at by @)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bruno&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Dec 2015 11:51:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/comparing-years/m-p/939839#M13188</guid>
      <dc:creator>brunobertels</dc:creator>
      <dc:date>2015-12-17T11:51:07Z</dc:date>
    </item>
    <item>
      <title>Re: comparing years</title>
      <link>https://community.qlik.com/t5/App-Development/comparing-years/m-p/939840#M13189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is a Link:&lt;/P&gt;&lt;P&gt;&lt;A href="https://drive.google.com/folderview?id=0B2IfmXahIOnody1EU2YzOWtQR0U&amp;amp;usp=sharing" title="https://drive.google.com/folderview?id=0B2IfmXahIOnody1EU2YzOWtQR0U&amp;amp;usp=sharing"&gt;קלינטון המעודכן ביותר&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Dec 2015 12:02:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/comparing-years/m-p/939840#M13189</guid>
      <dc:creator />
      <dc:date>2015-12-17T12:02:31Z</dc:date>
    </item>
    <item>
      <title>Re: comparing years</title>
      <link>https://community.qlik.com/t5/App-Development/comparing-years/m-p/939841#M13190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for sharing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At the end it's working&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/109291_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ILS Total&lt;/STRONG&gt; give the whole total for all the years and total for a selected year &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Set analysis ( Year)&lt;/STRONG&gt; i changed it like that : Num(sum ({$&amp;lt;year={}&amp;gt;}NIS_TOTPRICE))&lt;/P&gt;&lt;P&gt;but as is this formula is wrong because "year" here is interpreted as qlik syntax keyword (blue) and not like a dimension.(orange) &lt;/P&gt;&lt;P&gt;so without year selection it gives you the same result as ILS Total&lt;/P&gt;&lt;P&gt;selecting a year it will give you the total for the year selected&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if ever you always want the total even if a year is selected use this : &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Num(sum ({&amp;lt;YEAR=&amp;gt;}NIS_TOTPRICE))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PAST YEAR&lt;/STRONG&gt; i changed it like that :&amp;nbsp; sum ({$&amp;lt;YEAR={'$(=max(YEAR-1))'}&amp;gt;}NIS_TOTPRICE)&lt;/P&gt;&lt;P&gt;so without any year selection it will give you the total for 2013 if your data end in 2014 and so on&lt;/P&gt;&lt;P&gt;selecting a specific year eg: 2010 , it will give you the total for 2009 etc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i can't send you back your modified app for it is two heavy to upload it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope it is what you need especialy for PAST YEAR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bruno &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Dec 2015 13:21:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/comparing-years/m-p/939841#M13190</guid>
      <dc:creator>brunobertels</dc:creator>
      <dc:date>2015-12-17T13:21:21Z</dc:date>
    </item>
    <item>
      <title>Re: comparing years</title>
      <link>https://community.qlik.com/t5/App-Development/comparing-years/m-p/939842#M13191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H6 style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-family: inherit; line-height: 1.5em; font-style: inherit; font-size: 11.7px;"&gt;Bruno thank you very much!!!&lt;/STRONG&gt;&lt;/H6&gt;&lt;P&gt;&lt;STRONG style="font-family: inherit; line-height: 1.5em; font-style: inherit; font-size: 11.7px;"&gt;you helped me&amp;nbsp; alot!!&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: inherit; line-height: 1.5em; font-style: inherit; font-size: 11.7px;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Dec 2015 13:33:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/comparing-years/m-p/939842#M13191</guid>
      <dc:creator />
      <dc:date>2015-12-17T13:33:55Z</dc:date>
    </item>
    <item>
      <title>Re: comparing years</title>
      <link>https://community.qlik.com/t5/App-Development/comparing-years/m-p/939843#M13192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Bruno is there is a chance you can help me figure out why this if condition doesn't work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sum({$&amp;lt;YEAR={'$(=max(YEAR-1))'}&amp;gt;}RIV_QUANT)&amp;gt;0 and sum({$&amp;lt;YEAR={'$(=max(YEAR-1))'}&amp;gt;}NIS_TOTPRICE)&amp;gt;0 and (sum ({$&amp;lt;Year={'YEAR'}&amp;gt;}RIV_QUANT))&amp;lt;1 &lt;SPAN style="font-size: 13.3333px;"&gt;and (sum ({$&amp;lt;Year={'YEAR'}&amp;gt;}NIS_TOTPRICE))&amp;lt;1,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;(sum ({$&amp;lt;Year={'YEAR'}&amp;gt;}NIS_TOTPRICE))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RIV_QUANT= quantatiy&lt;/P&gt;&lt;P&gt;NIS_TOTPRICE=SALES&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Dec 2015 09:13:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/comparing-years/m-p/939843#M13192</guid>
      <dc:creator />
      <dc:date>2015-12-20T09:13:08Z</dc:date>
    </item>
    <item>
      <title>Re: comparing years</title>
      <link>https://community.qlik.com/t5/App-Development/comparing-years/m-p/939844#M13193</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;Sorry i don't know how to achieve this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your mesure seems wrong and should be : &lt;/P&gt;&lt;P&gt;if (&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;YEAR={'$(=max(YEAR)-1)'}&amp;gt;}RIV_QUANT)&amp;gt;0&lt;/P&gt;&lt;P&gt;and sum({$&amp;lt;YEAR={'$(=max(YEAR)-1)'}&amp;gt;}NIS_TOTPRICE)&amp;gt;0&lt;/P&gt;&lt;P&gt;and sum ({$&amp;lt;YEAR={'$(=max(YEAR))'}&amp;gt;}RIV_QUANT)&amp;lt;0&lt;/P&gt;&lt;P&gt;and sum ({$&amp;lt;YEAR={'$(=max(YEAR))'}&amp;gt;}NIS_TOTPRICE)&amp;lt;0,&lt;/P&gt;&lt;P&gt;sum ({$&amp;lt;YEAR={'$(=max(YEAR))'}&amp;gt;}NIS_TOTPRICE),0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tested it but it does'nt work. I'am not sure If &amp;amp; And are the solution here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck and let me know if you find a solution , I am a little bit curious on how it can be solved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bruno&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Dec 2015 09:49:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/comparing-years/m-p/939844#M13193</guid>
      <dc:creator>brunobertels</dc:creator>
      <dc:date>2015-12-21T09:49:47Z</dc:date>
    </item>
  </channel>
</rss>

