<?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 with ValueList() in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/RangeSum-with-ValueList/m-p/1031054#M15813</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not exactely sure what you want to calculate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But remember that Above() is limited to the column segment (without using TOTAL), so not sure how this is supposed to work given the ValueList() not really linked to your data model, thus returning the same record set for each dimensional value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you can post a small sample QVW and your expected results, maybe this helps to understand your issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Apr 2016 16:07:31 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2016-04-27T16:07:31Z</dc:date>
    <item>
      <title>RangeSum with ValueList()</title>
      <link>https://community.qlik.com/t5/App-Development/RangeSum-with-ValueList/m-p/1031053#M15812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everybody,&lt;/P&gt;&lt;P&gt;I'm having some problems with the function ValueList() with a RangeSum(above(...)), in particular I'm using the ValueList in order to set colors in my bar chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;if(ValueList('&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;EM&gt;New users&lt;/EM&gt;&lt;/SPAN&gt;i','Existing users', 'Inactive')='&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;EM&gt;New users&lt;/EM&gt;&lt;/SPAN&gt;'&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; ,(count({$&amp;lt;result={'ok'}, flag={'Battesimo'}&amp;gt;} DISTINCT user_id2))&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; ,if(ValueList('New users','&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;EM&gt;Existing users&lt;/EM&gt;&lt;/SPAN&gt;', '&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;EM&gt;Inactive&lt;/EM&gt;&lt;/SPAN&gt;')='&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;EM&gt;Existing users&lt;/EM&gt;&lt;/SPAN&gt;'&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,(count({$&amp;lt;result={'ok'}, flag={'Totale giocate'}&amp;gt;} DISTINCT user_id2))- count({$&amp;lt;result={'ok'}, flag={'Battesimo'}&amp;gt;} DISTINCT user_id2)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,if (ValueList('&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;EM&gt;New users&lt;/EM&gt;&lt;/SPAN&gt;','&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;EM&gt;Existing users&lt;/EM&gt;&lt;/SPAN&gt;', '&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;EM&gt;Inactive&lt;/EM&gt;&lt;/SPAN&gt;')= '&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;EM&gt;Inactive&lt;/EM&gt;&lt;/SPAN&gt;'&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,(rangesum(above(count({$&amp;lt;result={'ok'}, flag={'Battesimo'}&amp;gt;} DISTINCT user_id2),1,rowno()-1) )&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; - (&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; count({$&amp;lt;result={'ok'}, flag={'Totale giocate'}&amp;gt;} DISTINCT user_id2)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; count({$&amp;lt;result={'ok'}, flag={'Battesimo'}&amp;gt;} DISTINCT user_id2)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&amp;nbsp; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&amp;nbsp; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; )&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;With dimensions:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;- Weekstart(link_date)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;- ValueList('New users','Existing users', 'Inactive').&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;I tried the code without the ValueList (using 3 different measures and only "Weekstart(link_date)" as dimension) and it's working, however with the valuelist the measure in the third IF is not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2016 13:34:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/RangeSum-with-ValueList/m-p/1031053#M15812</guid>
      <dc:creator>silviacico</dc:creator>
      <dc:date>2016-04-27T13:34:32Z</dc:date>
    </item>
    <item>
      <title>Re: RangeSum with ValueList()</title>
      <link>https://community.qlik.com/t5/App-Development/RangeSum-with-ValueList/m-p/1031054#M15813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not exactely sure what you want to calculate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But remember that Above() is limited to the column segment (without using TOTAL), so not sure how this is supposed to work given the ValueList() not really linked to your data model, thus returning the same record set for each dimensional value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you can post a small sample QVW and your expected results, maybe this helps to understand your issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2016 16:07:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/RangeSum-with-ValueList/m-p/1031054#M15813</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-04-27T16:07:31Z</dc:date>
    </item>
    <item>
      <title>Re: RangeSum with ValueList()</title>
      <link>https://community.qlik.com/t5/App-Development/RangeSum-with-ValueList/m-p/1031055#M15814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN class="j-post-author"&gt;&lt;STRONG&gt;&lt;A href="https://community.qlik.com/people/swuehl"&gt;swuehl&lt;/A&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;that's an example of my problem, the second graph has to look like the first one, but the ValueList creates the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Silvia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Apr 2016 10:17:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/RangeSum-with-ValueList/m-p/1031055#M15814</guid>
      <dc:creator>silviacico</dc:creator>
      <dc:date>2016-04-28T10:17:35Z</dc:date>
    </item>
  </channel>
</rss>

