<?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: Rangesum expressions in combination with If (RowNo ...) not working in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Rangesum-expressions-in-combination-with-If-RowNo-not-working/m-p/1387121#M459635</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not 100% sure, but does this give you what you are looking to get?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(saleorder_monthyear = Max(TOTAL saleorder_monthyear),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;dual(round(100*(rangesum(above(sum({&amp;lt;saleorder_monthyear&amp;gt;}saleorder_netamount),0,Aantalmaandenperiode))-rangesum(above(sum({&amp;lt;saleorder_monthyear&amp;gt;}saleorder_netamount),AantalMaanden+Aantalmaandenperiode,Aantalmaandenperiode)))/rangesum(above(sum({&amp;lt;saleorder_monthyear&amp;gt;}saleorder_netamount),AantalMaanden+Aantalmaandenperiode,Aantalmaandenperiode)),0.01)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;'% (' &amp;amp; round(rangesum(above(sum({&amp;lt;saleorder_monthyear&amp;gt;}saleorder_netamount),0,Aantalmaandenperiode))/1000,0.01) &amp;amp; ') ('&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp; round(rangesum(above(sum({&amp;lt;saleorder_monthyear&amp;gt;}saleorder_netamount),AantalMaanden+Aantalmaandenperiode,Aantalmaandenperiode))/1000,0.01) &amp;amp; ') ('&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp; round(((rangesum(above(sum({&amp;lt;saleorder_monthyear&amp;gt;}saleorder_netamount),0,Aantalmaandenperiode))-rangesum(above(sum({&amp;lt;saleorder_monthyear&amp;gt;}saleorder_netamount),AantalMaanden+Aantalmaandenperiode,Aantalmaandenperiode)))/1000),0.01) &amp;amp; ')',&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(rangesum(above(sum({&amp;lt;saleorder_monthyear&amp;gt;}saleorder_netamount),0,Aantalmaandenperiode))-rangesum(above(sum({&amp;lt;saleorder_monthyear&amp;gt;}saleorder_netamount),AantalMaanden+Aantalmaandenperiode,Aantalmaandenperiode)))/rangesum(above(sum({&amp;lt;saleorder_monthyear&amp;gt;}saleorder_netamount),AantalMaanden+Aantalmaandenperiode,Aantalmaandenperiode))))&lt;/STRONG&gt;&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/174722_Capture.PNG" style="height: 283px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 Aug 2017 17:18:34 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2017-08-25T17:18:34Z</dc:date>
    <item>
      <title>Rangesum expressions in combination with If (RowNo ...) not working</title>
      <link>https://community.qlik.com/t5/QlikView/Rangesum-expressions-in-combination-with-If-RowNo-not-working/m-p/1387119#M459633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys &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;So I have a question that I know will probably be not that easy. I will add a data file for sure and I will give all information that I can possibly give.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So on the main sheet you will find some graphs/lists/boxes. Let me quickly address them all since they are in Dutch &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/grin.png" /&gt;&lt;/P&gt;&lt;P&gt;The first one are the months that I use to calculate revenue. They should be similar to English so you should be able to understand those. &lt;/P&gt;&lt;P&gt;Then there is a current selections box which is basic so no problem there.&lt;/P&gt;&lt;P&gt;Sale_order website is scrambled so just ignore.&lt;/P&gt;&lt;P&gt;In te vullen variabelen VOOR MERK: this is a box I use to make variables and give them values. All 6 are used in the first graph (Omzetevolutie merk). &lt;/P&gt;&lt;P&gt;First one: How much the brand must increase in order to be showed in the graph over a certain period. &lt;/P&gt;&lt;P&gt;Second: Same as first but not the limit so if a brand has risen more than this value, it will not be showed.&lt;/P&gt;&lt;P&gt;Third: Minimal revenue for the FIRST period&lt;/P&gt;&lt;P&gt;Fourth: Minimal revenue for the SECOND period&lt;/P&gt;&lt;P&gt;Fifth: The amount of months each period has. 6 means: we want to compare a total of 6 months to another total of 6 months.&lt;/P&gt;&lt;P&gt;Sixth: The amount of time between the 2 periods. &lt;/P&gt;&lt;P&gt;For example: fifth = 6 and sixth = 0 means that we want to compare 6 months to the previous 6 months.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This only works if the selected months are done right. After a lot of experimenting, I came up with a formula that made this work in every case, no matter how long the periods/time between periodes (but ofcourse within the possible time of the file so not more than 40 something months). So for 6 and 0 (fifht/sixth variable) I need to select 12 months. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Productnaam list is the list of products with their name. They are scrambled however. There is also 1 brand in the file: Mbrrbb (scrambled) so this is the only brand to work with. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first graph shows evolution of this brand in revenue over a certain period. For the 6 and 0 this means that the last 6 selected months, have a revenue of 25.88 thousand and the 6 months before had 15.46 thousand. The difference is 10.42 thousand and this is an increase of 67.42% (these values are all shown in the graph next to the datapoint). Note that changing the variables could result in omitting this brand so keep the minimum revenues as low as possible (1000 will do) and keep the min and max increase high (so -100% and like 1000% for the max change so that this does not interrupt anything). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The second one shows evolution of all products within this brand. But, and this is the problem: it does not show all products of this brand. Only the ones that have 12 data points (so 1 value for every selected month) are calculated. The others (with 11 or less values) are not calculated because of how the expression is created (with RowNo() &amp;gt;= ....).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question now is: how can I have all products listed in there, not matter how much data points they have? And they have to be seperated in the right way ofcourse. If the product has 1 value in the first 6 months and 2 values in the next 6 months, it should calculate the difference between those 2 periods correctly without mixing the values up in the different periods.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is a hard question I guess so if u need more material or some example of what the values should be or the output, just ask and I'll see what I can do &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;Kind regards and thanks in advance!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Aug 2017 15:58:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rangesum-expressions-in-combination-with-If-RowNo-not-working/m-p/1387119#M459633</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-25T15:58:45Z</dc:date>
    </item>
    <item>
      <title>Re: Rangesum expressions in combination with If (RowNo ...) not working</title>
      <link>https://community.qlik.com/t5/QlikView/Rangesum-expressions-in-combination-with-If-RowNo-not-working/m-p/1387120#M459634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Def. not one of the easier questions, but I am up for the challenge. So, I am going to convert your combo chart into a straight table as I can see the numbers more clearly in it compared to a chart. For fixing this.... I am seeing 8 productnaam, but it seems that you are hoping to see more productnaam? Is that right? How many more more do you expect to see? All possible values that show in productnaam list box?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Aug 2017 16:45:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rangesum-expressions-in-combination-with-If-RowNo-not-working/m-p/1387120#M459634</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-08-25T16:45:24Z</dc:date>
    </item>
    <item>
      <title>Re: Rangesum expressions in combination with If (RowNo ...) not working</title>
      <link>https://community.qlik.com/t5/QlikView/Rangesum-expressions-in-combination-with-If-RowNo-not-working/m-p/1387121#M459635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not 100% sure, but does this give you what you are looking to get?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(saleorder_monthyear = Max(TOTAL saleorder_monthyear),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;dual(round(100*(rangesum(above(sum({&amp;lt;saleorder_monthyear&amp;gt;}saleorder_netamount),0,Aantalmaandenperiode))-rangesum(above(sum({&amp;lt;saleorder_monthyear&amp;gt;}saleorder_netamount),AantalMaanden+Aantalmaandenperiode,Aantalmaandenperiode)))/rangesum(above(sum({&amp;lt;saleorder_monthyear&amp;gt;}saleorder_netamount),AantalMaanden+Aantalmaandenperiode,Aantalmaandenperiode)),0.01)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;'% (' &amp;amp; round(rangesum(above(sum({&amp;lt;saleorder_monthyear&amp;gt;}saleorder_netamount),0,Aantalmaandenperiode))/1000,0.01) &amp;amp; ') ('&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp; round(rangesum(above(sum({&amp;lt;saleorder_monthyear&amp;gt;}saleorder_netamount),AantalMaanden+Aantalmaandenperiode,Aantalmaandenperiode))/1000,0.01) &amp;amp; ') ('&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp; round(((rangesum(above(sum({&amp;lt;saleorder_monthyear&amp;gt;}saleorder_netamount),0,Aantalmaandenperiode))-rangesum(above(sum({&amp;lt;saleorder_monthyear&amp;gt;}saleorder_netamount),AantalMaanden+Aantalmaandenperiode,Aantalmaandenperiode)))/1000),0.01) &amp;amp; ')',&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(rangesum(above(sum({&amp;lt;saleorder_monthyear&amp;gt;}saleorder_netamount),0,Aantalmaandenperiode))-rangesum(above(sum({&amp;lt;saleorder_monthyear&amp;gt;}saleorder_netamount),AantalMaanden+Aantalmaandenperiode,Aantalmaandenperiode)))/rangesum(above(sum({&amp;lt;saleorder_monthyear&amp;gt;}saleorder_netamount),AantalMaanden+Aantalmaandenperiode,Aantalmaandenperiode))))&lt;/STRONG&gt;&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/174722_Capture.PNG" style="height: 283px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Aug 2017 17:18:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rangesum-expressions-in-combination-with-If-RowNo-not-working/m-p/1387121#M459635</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-08-25T17:18:34Z</dc:date>
    </item>
    <item>
      <title>Re: Rangesum expressions in combination with If (RowNo ...) not working</title>
      <link>https://community.qlik.com/t5/QlikView/Rangesum-expressions-in-combination-with-If-RowNo-not-working/m-p/1387122#M459636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi you &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/grin.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I want to be able to see all of them by scrolling down, I usually change the chart so that I can see 5 items and if there are more than 5, I can scroll down to see other items. The screenshot looks promising but I can only check it next friday &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt; .&lt;/P&gt;&lt;P&gt;Thanks though, I assume this is the solution and it's quite great that you figured it out already &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/grin.png" /&gt;&lt;/P&gt;&lt;P&gt;How does it work though? I see you changed the first line but why is it able to calculate it now? And does it work for a few other combinations of periods/time between periods?&lt;/P&gt;&lt;P&gt;The color of the dots I will write myself because it's quite easy once you have the correct expression haha.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Aug 2017 20:41:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rangesum-expressions-in-combination-with-If-RowNo-not-working/m-p/1387122#M459636</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-25T20:41:45Z</dc:date>
    </item>
    <item>
      <title>Re: Rangesum expressions in combination with If (RowNo ...) not working</title>
      <link>https://community.qlik.com/t5/QlikView/Rangesum-expressions-in-combination-with-If-RowNo-not-working/m-p/1387123#M459637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey again&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Well, I should have noticed ofcourse, but this does not work (unfortunately). You can easely see this too since all the products in the screenshot have extremly low values for sales. It seemed as the perfect solution but well &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;P&gt;I wil help you though. I will upload a new QV file with an extra table. This table shows sales for the last 12 months so you can manually verify the % in excel. If you download this table in excel and sum the first 6 months and the second 6, you can calculate the percentual difference. Also, just clicking on one item gives the table for the 1 item and you can immediatly see that the %'s are not correct.&lt;/P&gt;&lt;P&gt;I also understood what you did with the set expression now. Perhaps that the arguments of the rangesum should be changed too? I ask almost in every rangesum to take 12 months (2 times the 6 month period + the time in between which is 0 in this example so 2*6 + 0 = 12). Shoudln't this be changed to something like Max(total saleorder_monthyear then too?)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the effort and hopefully you haven't given up on me &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/grin.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ps: if you would try this formula, with all the current if's that correspond with the variables in the table, would you still get the (correct) 65% for the mark (haven't tested that). This could also be an idea to check whether or not the expression works &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Sep 2017 08:35:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rangesum-expressions-in-combination-with-If-RowNo-not-working/m-p/1387123#M459637</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-01T08:35:17Z</dc:date>
    </item>
    <item>
      <title>Re: Rangesum expressions in combination with If (RowNo ...) not working</title>
      <link>https://community.qlik.com/t5/QlikView/Rangesum-expressions-in-combination-with-If-RowNo-not-working/m-p/1387124#M459638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Lets pick a productnaam, can you tell me what the expected output needs to be for this guy?&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/175337_Capture.PNG" style="height: 137px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Sep 2017 11:19:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rangesum-expressions-in-combination-with-If-RowNo-not-working/m-p/1387124#M459638</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-09-01T11:19:45Z</dc:date>
    </item>
    <item>
      <title>Re: Rangesum expressions in combination with If (RowNo ...) not working</title>
      <link>https://community.qlik.com/t5/QlikView/Rangesum-expressions-in-combination-with-If-RowNo-not-working/m-p/1387125#M459639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So the calculation should make the sum of the first 6 months and calculate the percentual difference between those 6 months and the next 6 months. For this product, this means that the first 6 months are:&lt;/P&gt;&lt;P&gt;Juli 2017&lt;/P&gt;&lt;P&gt;June 2017&lt;/P&gt;&lt;P&gt;May 2017&lt;/P&gt;&lt;P&gt;April 2017&lt;/P&gt;&lt;P&gt;March 2017&lt;/P&gt;&lt;P&gt;February 2017&lt;/P&gt;&lt;P&gt;The total sum for these months is: 3.91 + 19.79 + 11.72 + 11.97 + 0 (April 2017 is not in the screenshot) + 7.89 = 55.28&lt;/P&gt;&lt;P&gt;The 6 months before this period gives a total of 122.24 if I calculated correctly.µ&lt;/P&gt;&lt;P&gt;So the output in graph has to be:&lt;/P&gt;&lt;P&gt;First the percentage that gives the difference. Calculation is as follows:&lt;/P&gt;&lt;P&gt;(55.28 - 122.24)/122.24 = -0.54777 ... or -54.78%. &lt;/P&gt;&lt;P&gt;The number right next to this percentage, should be the total sum of the last 6 months divided by 1000 or for this example: 55.28/1000 = 0.05528 rounded = 0.06&lt;/P&gt;&lt;P&gt;The number next to that should be the total sum of the first 6 months so: 122.24/1000 = 0.12224 = 0.12&lt;/P&gt;&lt;P&gt;The last number gives the difference in absolute values: 0.06-0.12 = -0.06&lt;/P&gt;&lt;P&gt;Does this clarify what I want to achieve with every product?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Sep 2017 11:38:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rangesum-expressions-in-combination-with-If-RowNo-not-working/m-p/1387125#M459639</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-01T11:38:05Z</dc:date>
    </item>
    <item>
      <title>Re: Rangesum expressions in combination with If (RowNo ...) not working</title>
      <link>https://community.qlik.com/t5/QlikView/Rangesum-expressions-in-combination-with-If-RowNo-not-working/m-p/1387126#M459640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think the problem is missing values which is causing RangeSum() to not accumulate correctly... Take a look here&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/175346_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since there is no April, RangeSum(...., 0, 6) is considering Jan 2017 into the calculation.... RangeSum have no idea that April is a 0 and just look at the last 6 values and sum them up....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now there are 2 ways you can address the issue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Populate the missing values&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-3786"&gt;Generating Missing Data In QlikView&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Use AsOfTable&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/4531"&gt;The As-Of Table&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Although, I like the AsOfTable approach, it might become challenging in your case because you have a dynamic way to determine how many periods back the user can go based on user input....Don't get me wrong, it is still possible to do this way, but might have to be played and tested with....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both methods will have there challenge, but you will have to decide which way you would like to go...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Sep 2017 12:17:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rangesum-expressions-in-combination-with-If-RowNo-not-working/m-p/1387126#M459640</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-09-01T12:17:47Z</dc:date>
    </item>
    <item>
      <title>Re: Rangesum expressions in combination with If (RowNo ...) not working</title>
      <link>https://community.qlik.com/t5/QlikView/Rangesum-expressions-in-combination-with-If-RowNo-not-working/m-p/1387127#M459641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No offense, but this was exactly what the issue was, and I described this as being the issue! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/grin.png" /&gt;&lt;/P&gt;&lt;P&gt;I copy from my initial post:&lt;/P&gt;&lt;P&gt;Copied text:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;The second one shows evolution of all products within this brand. But, &lt;STRONG&gt;and this is the problem: it does not show all products of this brand. Only the ones that have 12 data points&lt;/STRONG&gt; (so 1 value for every selected month) are calculated. The others (with 11 or less values) are not calculated because of how the expression is created (with RowNo() &amp;gt;= ....).&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="text-decoration: underline;"&gt;This was not in the original post:&lt;/SPAN&gt; I should have mentioned that it was also a problem for the rangesum indeed!&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Copied text:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;My question now is: how can I have all products listed in there, not matter how much data points they have? And they have to be separated in the right way of course. If the product has 1 value in the first 6 months and 2 values in the next 6 months, it should calculate the difference between those 2 periods correctly without mixing the values up in the different periods.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;End of copied text.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I think that the second method would be possible but I do not know how to implement it. I actually came across this post and just skipped it because I am not experienced enough to understand this (since I did not write the script and only do the QV calculations/graphs/...). So would you be able to solve it or am I on my own &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Sep 2017 12:41:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rangesum-expressions-in-combination-with-If-RowNo-not-working/m-p/1387127#M459641</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-01T12:41:13Z</dc:date>
    </item>
    <item>
      <title>Re: Rangesum expressions in combination with If (RowNo ...) not working</title>
      <link>https://community.qlik.com/t5/QlikView/Rangesum-expressions-in-combination-with-If-RowNo-not-working/m-p/1387128#M459642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No offence taken my friend &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;With regards to helping... I do want to help... but there are few questions and concerns&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) How many possible values can the user input for rangeSum input? We are using 6 right now... how high and low can it go? Will it go in certain increments?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) I don't have the source files... I have a way around that... but can (and probably will) take some extra time for me to code it....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Sep 2017 12:47:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rangesum-expressions-in-combination-with-If-RowNo-not-working/m-p/1387128#M459642</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-09-01T12:47:51Z</dc:date>
    </item>
    <item>
      <title>Re: Rangesum expressions in combination with If (RowNo ...) not working</title>
      <link>https://community.qlik.com/t5/QlikView/Rangesum-expressions-in-combination-with-If-RowNo-not-working/m-p/1387129#M459643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bro You're Patience &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/cool.png" /&gt;. Hats Off.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Sep 2017 12:52:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rangesum-expressions-in-combination-with-If-RowNo-not-working/m-p/1387129#M459643</guid>
      <dc:creator>HirisH_V7</dc:creator>
      <dc:date>2017-09-01T12:52:39Z</dc:date>
    </item>
    <item>
      <title>Re: Rangesum expressions in combination with If (RowNo ...) not working</title>
      <link>https://community.qlik.com/t5/QlikView/Rangesum-expressions-in-combination-with-If-RowNo-not-working/m-p/1387130#M459644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Sep 2017 12:54:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rangesum-expressions-in-combination-with-If-RowNo-not-working/m-p/1387130#M459644</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-09-01T12:54:07Z</dc:date>
    </item>
    <item>
      <title>Re: Rangesum expressions in combination with If (RowNo ...) not working</title>
      <link>https://community.qlik.com/t5/QlikView/Rangesum-expressions-in-combination-with-If-RowNo-not-working/m-p/1387131#M459645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The range should at max be 24 but I do not control that. If my supervisor wants to see certain information, he/she should be able to access that. The most common things are yearly basis analyses so last 12 months compared to 12 months before that (total 24 months). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What exactly do you mean with the source files? Can I help with something?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Sep 2017 13:24:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rangesum-expressions-in-combination-with-If-RowNo-not-working/m-p/1387131#M459645</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-01T13:24:38Z</dc:date>
    </item>
    <item>
      <title>Re: Rangesum expressions in combination with If (RowNo ...) not working</title>
      <link>https://community.qlik.com/t5/QlikView/Rangesum-expressions-in-combination-with-If-RowNo-not-working/m-p/1387132#M459646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the attached&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/175363_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Sep 2017 13:30:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rangesum-expressions-in-combination-with-If-RowNo-not-working/m-p/1387132#M459646</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-09-01T13:30:04Z</dc:date>
    </item>
    <item>
      <title>Re: Rangesum expressions in combination with If (RowNo ...) not working</title>
      <link>https://community.qlik.com/t5/QlikView/Rangesum-expressions-in-combination-with-If-RowNo-not-working/m-p/1387133#M459647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This appears to be correct. So the only way to do this is by editing the script and creating this new field: AsOfMonth?&lt;/P&gt;&lt;P&gt;I'll see if this can be implemented in the current script and then I will let you know if it works &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; (prob next week).&lt;/P&gt;&lt;P&gt;I assume this is the correct answer so I'll flag it as solved ^^&lt;/P&gt;&lt;P&gt;Now I just have to understand the expression &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/grin.png" /&gt; But will figure it out!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Sep 2017 13:39:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rangesum-expressions-in-combination-with-If-RowNo-not-working/m-p/1387133#M459647</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-01T13:39:17Z</dc:date>
    </item>
  </channel>
</rss>

