<?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: How to calculate sum(Points) by Week and User in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-calculate-sum-Points-by-Week-and-User/m-p/1519646#M748507</link>
    <description>&lt;P&gt;Thank you Swehl&lt;STRONG&gt;,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I did something like that but I missed the Above().&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;DIV class="lia-message-author-rank lia-component-author-rank"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;</description>
    <pubDate>Wed, 12 Dec 2018 08:58:55 GMT</pubDate>
    <dc:creator>daniportero6</dc:creator>
    <dc:date>2018-12-12T08:58:55Z</dc:date>
    <item>
      <title>How to calculate sum(Points) by Week and User</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-sum-Points-by-Week-and-User/m-p/1519425#M748504</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I got a question, I've tryed to create a table with sum(points) by week and user. The example is like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;User&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Week&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Points&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Sum(Points)&lt;/P&gt;&lt;P&gt;Juan&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;12&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;12&lt;BR /&gt;Luis&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;20&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;20&lt;BR /&gt;Dani&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;8&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 8&lt;BR /&gt;Juan&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;10&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;22 (12+10)&lt;BR /&gt;Luis&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;7&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;27 (20+7)&lt;BR /&gt;Dani&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;11&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 19 (8+11)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help?&lt;/P&gt;&lt;P&gt;Thank you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 04:59:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-sum-Points-by-Week-and-User/m-p/1519425#M748504</guid>
      <dc:creator>daniportero6</dc:creator>
      <dc:date>2024-11-16T04:59:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate sum(Points) by Week and User</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-sum-Points-by-Week-and-User/m-p/1519428#M748505</link>
      <description>&lt;P&gt;Try something like&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;=Sum(Aggr( Rangesum(Above(Sum(Points),0,Rowno()), User, Week)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in a Chart with dimensions User and Week.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Dec 2018 16:38:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-sum-Points-by-Week-and-User/m-p/1519428#M748505</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2018-12-11T16:38:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate sum(Points) by Week and User</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-sum-Points-by-Week-and-User/m-p/1519455#M748506</link>
      <description>&lt;P&gt;another option to swuehl's&lt;BR /&gt;do it at script level&lt;/P&gt;&lt;PRE&gt;UserTemp:
LOAD User, 
Week, 
Points
FROM
[..\Downloads\CommTest.xlsx]
(ooxml, embedded labels, table is Sheet1);

UserFact:
load User, 
Week, 
Points,
if(User=Previous(User),Previous(PointsAccum)+Points,Points) as PointsAccum;
Load
User, 
Week, 
Points,
Points as PointsAccum
resident UserTemp
order by User, Week;

drop table UserTemp;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Dec 2018 17:27:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-sum-Points-by-Week-and-User/m-p/1519455#M748506</guid>
      <dc:creator>dplr-rn</dc:creator>
      <dc:date>2018-12-11T17:27:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate sum(Points) by Week and User</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-sum-Points-by-Week-and-User/m-p/1519646#M748507</link>
      <description>&lt;P&gt;Thank you Swehl&lt;STRONG&gt;,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I did something like that but I missed the Above().&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;DIV class="lia-message-author-rank lia-component-author-rank"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 12 Dec 2018 08:58:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-sum-Points-by-Week-and-User/m-p/1519646#M748507</guid>
      <dc:creator>daniportero6</dc:creator>
      <dc:date>2018-12-12T08:58:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate sum(Points) by Week and User</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-sum-Points-by-Week-and-User/m-p/1519648#M748508</link>
      <description>&lt;P&gt;I've never done that kind of script.&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's a nice one!&lt;/P&gt;&lt;P&gt;Thank you Dilipranjith &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Dec 2018 09:00:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-sum-Points-by-Week-and-User/m-p/1519648#M748508</guid>
      <dc:creator>daniportero6</dc:creator>
      <dc:date>2018-12-12T09:00:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate sum(Points) by Week and User</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-sum-Points-by-Week-and-User/m-p/1519956#M748509</link>
      <description>&lt;P&gt;Sorry, but I realize it's not that easy.&lt;/P&gt;&lt;P&gt;I post&amp;nbsp;attached my diagram model.&lt;/P&gt;&lt;P&gt;I wanna calculate sum(puntos) by usuario and JORNADALIGA, not Jornada, which is in a different table.&lt;/P&gt;&lt;P&gt;Ranking has this script:&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;LOAD Distinct &lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Jornada as JornadaLiga,&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; IterNo() as Jornada&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;Resident Puntos&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;While IterNo()&amp;lt;=Jornada;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;So, my problem is that I tryed with a left join (Puntos), but it's does not work.&amp;nbsp;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Jornada has 38 values, and JornadaLiga has 15, but every week has one more, till complete the 38 weeks of the League.&lt;/P&gt;&lt;P&gt;If need more details, let me know please.&lt;/P&gt;&lt;P&gt;Thank you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Dec 2018 15:42:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-sum-Points-by-Week-and-User/m-p/1519956#M748509</guid>
      <dc:creator>daniportero6</dc:creator>
      <dc:date>2018-12-12T15:42:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate sum(Points) by Week and User</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-sum-Points-by-Week-and-User/m-p/1519985#M748510</link>
      <description>&lt;P&gt;Sorry, I am not sure how your last post relates to your original question or what you are trying to do.&lt;/P&gt;&lt;P&gt;Could you post a small sample QVW with some sample data?&lt;/P&gt;</description>
      <pubDate>Wed, 12 Dec 2018 16:27:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-sum-Points-by-Week-and-User/m-p/1519985#M748510</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2018-12-12T16:27:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate sum(Points) by Week and User</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-sum-Points-by-Week-and-User/m-p/1520531#M748511</link>
      <description>&lt;P&gt;Sure!&lt;/P&gt;&lt;P&gt;I'm not sure if you can open it, I never can open the QVW file from anyone, but hope you can &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In case you can not open it, let me know and I'll post the full script.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Thu, 13 Dec 2018 14:56:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-sum-Points-by-Week-and-User/m-p/1520531#M748511</guid>
      <dc:creator>daniportero6</dc:creator>
      <dc:date>2018-12-13T14:56:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate sum(Points) by Week and User</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-sum-Points-by-Week-and-User/m-p/1520726#M748512</link>
      <description>&lt;P&gt;Yes, I can open the qvw.&lt;/P&gt;&lt;P&gt;The reason for JornadaLiga having 15 values and Jornada 38 is that you are using a RESIDENT LOAD of table Puntos to create your Ranking, and the field Jornada only shows these 15 values. Jornada is a key field, the complete set of all values can be found in your Calendario table.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am not sure what you are trying to achieve, but if you need the 38 values in your Ranking table, then use the Calendario table to get all available Jornada values.&lt;/P&gt;&lt;P&gt;It seems like your ranking is kind of an &lt;A title="As-Of-Table" href="https://community.qlik.com/t5/Qlik-Design-Blog/The-As-Of-Table/ba-p/1466130" target="_self"&gt;As-of-table&amp;nbsp;&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Is this what you want to do? This could be a script based solution for your full accumulation.&lt;/P&gt;&lt;P&gt;Then maybe create a chart with dimensions Usuario and JornadaLiga and as expression just =Sum(Puntos).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2018-12-13 21_37_09-Window.png" style="width: 550px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/2162iC02EEC2DC16B282F/image-size/large?v=v2&amp;amp;px=999" role="button" title="2018-12-13 21_37_09-Window.png" alt="2018-12-13 21_37_09-Window.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Dec 2018 20:39:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-sum-Points-by-Week-and-User/m-p/1520726#M748512</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2018-12-13T20:39:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate sum(Points) by Week and User</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-sum-Points-by-Week-and-User/m-p/1520931#M748513</link>
      <description>&lt;P&gt;What I would like to achieve&amp;nbsp;is just show in Ranking table the weeks which have been played, not all of them. And then, I can calculate how change the positions of every week. But to show just the week have been played, I did that script to calculate JornadaLiga.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any way to show the same table Ranking using Jornada and not JornadaLiga, but calculating the global position in the ranking for every player in that week, not sum(Puntos)?&lt;/P&gt;&lt;P&gt;Regards &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Dec 2018 10:07:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-sum-Points-by-Week-and-User/m-p/1520931#M748513</guid>
      <dc:creator>daniportero6</dc:creator>
      <dc:date>2018-12-14T10:07:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate sum(Points) by Week and User</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-sum-Points-by-Week-and-User/m-p/1520935#M748514</link>
      <description>&lt;P&gt;Here is the new change, I deleted JornadaLiga, and now I use Jornada in Ranking table, but I need calculate the global position like before.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Dec 2018 10:12:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-sum-Points-by-Week-and-User/m-p/1520935#M748514</guid>
      <dc:creator>daniportero6</dc:creator>
      <dc:date>2018-12-14T10:12:04Z</dc:date>
    </item>
  </channel>
</rss>

