<?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 and variables in Visualization and Usability</title>
    <link>https://community.qlik.com/t5/Visualization-and-Usability/Rangesum-and-variables/m-p/40749#M8564</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great Sunny! It worked!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and I have a last question.&lt;/P&gt;&lt;P&gt;I to use an expression like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P align="center" style="margin-bottom: 12.0pt; text-align: center;"&gt;&lt;SPAN lang="EN-US" style="font-size: 12.0pt; color: blue;"&gt;RangeSum&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 12.0pt;"&gt;(&lt;SPAN style="color: blue;"&gt;Above&lt;/SPAN&gt;(&lt;SPAN style="color: blue;"&gt;Sum&lt;/SPAN&gt;(&lt;SPAN style="color: maroon;"&gt;Sales&lt;/SPAN&gt;), 0, &lt;SPAN style="color: blue;"&gt;RowNo&lt;/SPAN&gt;())) / &lt;SPAN style="color: blue;"&gt;Sum&lt;/SPAN&gt;(&lt;SPAN style="color: blue;"&gt;total&lt;/SPAN&gt; &lt;SPAN style="color: maroon;"&gt;Sales&lt;/SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;but in my case, I need to use $(vSales) instead of Sales.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 12.0pt; color: blue;"&gt;RangeSum&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 12.0pt;"&gt;(&lt;SPAN style="color: blue;"&gt;Above&lt;/SPAN&gt;(Total $(vSales), 0, &lt;SPAN style="color: blue;"&gt;RowNo&lt;/SPAN&gt;(Total))) / &lt;SPAN style="color: blue;"&gt;Sum&lt;/SPAN&gt;(&lt;SPAN style="color: blue;"&gt;total&lt;/SPAN&gt; $(vSales))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 12.0pt;"&gt;But it didn´t worked.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 12.0pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 12.0pt;"&gt;Could you please tell me what the mistake is?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 12.0pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 12.0pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 12.0pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 12.0pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Mar 2018 14:51:37 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-03-02T14:51:37Z</dc:date>
    <item>
      <title>Rangesum and variables</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Rangesum-and-variables/m-p/40745#M8560</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;I need to accumulate the results of the expression "Sales*Percentage" in Qlik Sense Desktop.&lt;/P&gt;&lt;P&gt;I´,ve tried this options:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. RangeSum(Above($(vSales), 0, RowNo())), &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where $(vSales) = sum({&amp;lt;IDAccount={'40'}&amp;gt;}Sales*Percentage&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. RangeSum(Above((sum({&amp;lt;IDAccount={'40'}&amp;gt;}Sales*Percentage)), 0, RowNo())),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I have the results but they are not cummulative&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need a clue to solve this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Mar 2018 12:56:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Rangesum-and-variables/m-p/40745#M8560</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-02T12:56:31Z</dc:date>
    </item>
    <item>
      <title>Re: Rangesum and variables</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Rangesum-and-variables/m-p/40746#M8561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have more than one dimensions? May be this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;RangeSum(Above(&lt;SPAN style="color: #ff0000;"&gt;TOTAL&lt;/SPAN&gt; Sum({&amp;lt;IDAccount={'40'}&amp;gt;}Sales*Percentage), 0, RowNo(&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; color: #ff0000;"&gt;TOTAL&lt;/SPAN&gt;)))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Mar 2018 13:01:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Rangesum-and-variables/m-p/40746#M8561</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-03-02T13:01:02Z</dc:date>
    </item>
    <item>
      <title>Re: Rangesum and variables</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Rangesum-and-variables/m-p/40747#M8562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sunny, you are the best!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And can I replace the whole sum by the variable $(vSales)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Mar 2018 13:05:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Rangesum-and-variables/m-p/40747#M8562</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-02T13:05:09Z</dc:date>
    </item>
    <item>
      <title>Re: Rangesum and variables</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Rangesum-and-variables/m-p/40748#M8563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe you should be able to do that&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Mar 2018 13:09:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Rangesum-and-variables/m-p/40748#M8563</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-03-02T13:09:37Z</dc:date>
    </item>
    <item>
      <title>Re: Rangesum and variables</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Rangesum-and-variables/m-p/40749#M8564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great Sunny! It worked!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and I have a last question.&lt;/P&gt;&lt;P&gt;I to use an expression like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P align="center" style="margin-bottom: 12.0pt; text-align: center;"&gt;&lt;SPAN lang="EN-US" style="font-size: 12.0pt; color: blue;"&gt;RangeSum&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 12.0pt;"&gt;(&lt;SPAN style="color: blue;"&gt;Above&lt;/SPAN&gt;(&lt;SPAN style="color: blue;"&gt;Sum&lt;/SPAN&gt;(&lt;SPAN style="color: maroon;"&gt;Sales&lt;/SPAN&gt;), 0, &lt;SPAN style="color: blue;"&gt;RowNo&lt;/SPAN&gt;())) / &lt;SPAN style="color: blue;"&gt;Sum&lt;/SPAN&gt;(&lt;SPAN style="color: blue;"&gt;total&lt;/SPAN&gt; &lt;SPAN style="color: maroon;"&gt;Sales&lt;/SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;but in my case, I need to use $(vSales) instead of Sales.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 12.0pt; color: blue;"&gt;RangeSum&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 12.0pt;"&gt;(&lt;SPAN style="color: blue;"&gt;Above&lt;/SPAN&gt;(Total $(vSales), 0, &lt;SPAN style="color: blue;"&gt;RowNo&lt;/SPAN&gt;(Total))) / &lt;SPAN style="color: blue;"&gt;Sum&lt;/SPAN&gt;(&lt;SPAN style="color: blue;"&gt;total&lt;/SPAN&gt; $(vSales))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 12.0pt;"&gt;But it didn´t worked.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 12.0pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 12.0pt;"&gt;Could you please tell me what the mistake is?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 12.0pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 12.0pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 12.0pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 12.0pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Mar 2018 14:51:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Rangesum-and-variables/m-p/40749#M8564</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-02T14:51:37Z</dc:date>
    </item>
    <item>
      <title>Re: Rangesum and variables</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Rangesum-and-variables/m-p/40750#M8565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think since vSales is already Sum(Sales), you cannot really do this Sum(TOTAL Sum(Sales))... you will either need to create a new variable like this Sum(TOTAL Sales) or specify the whole expression here&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Mar 2018 14:59:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Rangesum-and-variables/m-p/40750#M8565</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-03-02T14:59:06Z</dc:date>
    </item>
    <item>
      <title>Re: Rangesum and variables</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Rangesum-and-variables/m-p/40751#M8566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 12.0pt; color: blue;"&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 12.0pt;"&gt;RangeSum(Above(TOTAL $(vVentas), 0, RowNo(TOTAL))) / $(vSales)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where $(vSales) is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;IDAccount={'40'}&amp;gt;}Total Sales*Percentage)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but it didn´t worked &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, 02 Mar 2018 15:15:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Rangesum-and-variables/m-p/40751#M8566</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-02T15:15:20Z</dc:date>
    </item>
    <item>
      <title>Re: Rangesum and variables</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Rangesum-and-variables/m-p/40752#M8567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found another mistake and solved it.&lt;/P&gt;&lt;P&gt;It´s working now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I appreciatte so much your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Sunny!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Mar 2018 15:33:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Rangesum-and-variables/m-p/40752#M8567</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-02T15:33:20Z</dc:date>
    </item>
  </channel>
</rss>

