<?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 ignore dimension for sum in expression in Qlik Learning Discussions</title>
    <link>https://community.qlik.com/t5/Qlik-Learning-Discussions/How-to-ignore-dimension-for-sum-in-expression/m-p/817227#M2813</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try sum(aggr(sum(distinct mynumber),id_statut,otheridtokeep))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Mar 2015 11:37:37 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2015-03-17T11:37:37Z</dc:date>
    <item>
      <title>How to ignore dimension for sum in expression</title>
      <link>https://community.qlik.com/t5/Qlik-Learning-Discussions/How-to-ignore-dimension-for-sum-in-expression/m-p/817224#M2810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want make a sum in a expression but a join in my load script duplicate some data, for example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;id;mynumber;otherid,somedataofotherid&lt;/P&gt;&lt;P&gt;1;25;87;somedata1&lt;/P&gt;&lt;P&gt;1;25;88;somedata2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to sum mynumber and have 25 for result, I want to ignore otherid and&amp;nbsp; somedataofotherid ? I have also lot of filter and i use lot of if to filter my data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perhaps it's not possible ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Christophe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2015 09:15:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Learning-Discussions/How-to-ignore-dimension-for-sum-in-expression/m-p/817224#M2810</guid>
      <dc:creator />
      <dc:date>2015-03-17T09:15:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to ignore dimension for sum in expression</title>
      <link>https://community.qlik.com/t5/Qlik-Learning-Discussions/How-to-ignore-dimension-for-sum-in-expression/m-p/817225#M2811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try sum({&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;otherid=,&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;somedataofotherid=&lt;/SPAN&gt;&lt;/SPAN&gt;&amp;gt;}distinct mynumber)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2015 09:28:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Learning-Discussions/How-to-ignore-dimension-for-sum-in-expression/m-p/817225#M2811</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-03-17T09:28:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to ignore dimension for sum in expression</title>
      <link>https://community.qlik.com/t5/Qlik-Learning-Discussions/How-to-ignore-dimension-for-sum-in-expression/m-p/817226#M2812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Thank you for the response but unfortunatly it does not work for me.&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;Please find enclosed test project,&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;Your solution is working if I use distinct in expression, but if I add an other id to keep I want to have 50 for result (25 for otheridtokeep = 8 + 25 for&amp;nbsp; otheridtokeep&amp;nbsp; = 9) for id_statut = 1 (and not 75)&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 8pt;"&gt;datatest:&lt;BR /&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;INLINE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[&lt;BR /&gt; id_statut, mynumber, otherid, otheriddata, otheridtokeep&lt;BR /&gt; 1, 25, 58, otherdata1,8&lt;BR /&gt; 1, 25, 87, otherdata2,8&lt;BR /&gt; 1, 25, 87, otherdata2,9&lt;BR /&gt; 2, 41, 48, otherdata3,1&lt;BR /&gt;2, 41, 46, otherdata4,2&lt;BR /&gt; 3, 25, 49, otherdata5,3&lt;BR /&gt; 3, 24, 57, otherdata6,4&lt;BR /&gt;]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;; &lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;Thanks for your help.&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;Christophe&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2015 11:27:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Learning-Discussions/How-to-ignore-dimension-for-sum-in-expression/m-p/817226#M2812</guid>
      <dc:creator />
      <dc:date>2015-03-17T11:27:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to ignore dimension for sum in expression</title>
      <link>https://community.qlik.com/t5/Qlik-Learning-Discussions/How-to-ignore-dimension-for-sum-in-expression/m-p/817227#M2813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try sum(aggr(sum(distinct mynumber),id_statut,otheridtokeep))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2015 11:37:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Learning-Discussions/How-to-ignore-dimension-for-sum-in-expression/m-p/817227#M2813</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-03-17T11:37:37Z</dc:date>
    </item>
  </channel>
</rss>

