<?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 Add only one value per row ID in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Add-only-one-value-per-row-ID/m-p/2504485#M103773</link>
    <description>&lt;P&gt;I need to do a sum on a Value column per Row ID.&lt;/P&gt;
&lt;TABLE style="border-collapse: collapse; width: 130pt;" border="0" width="174" cellspacing="0" cellpadding="0"&gt;&lt;COLGROUP&gt;&lt;COL style="width: 65pt;" span="2" width="87" /&gt; &lt;/COLGROUP&gt;
&lt;TBODY&gt;
&lt;TR style="height: 16.0pt;"&gt;
&lt;TD width="87" height="21" class="xl63" style="height: 16.0pt; width: 65pt;"&gt;Row ID&lt;/TD&gt;
&lt;TD width="87" class="xl63" style="border-left: none; width: 65pt;"&gt;Value&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 16.0pt;"&gt;
&lt;TD height="21" align="right" class="xl63" style="height: 16.0pt; border-top: none;"&gt;0&lt;/TD&gt;
&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;0.5&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 16.0pt;"&gt;
&lt;TD height="21" align="right" class="xl63" style="height: 16.0pt; border-top: none;"&gt;0&lt;/TD&gt;
&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;0.5&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 16.0pt;"&gt;
&lt;TD height="21" align="right" class="xl63" style="height: 16.0pt; border-top: none;"&gt;0&lt;/TD&gt;
&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;0.5&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 16.0pt;"&gt;
&lt;TD height="21" align="right" class="xl63" style="height: 16.0pt; border-top: none;"&gt;1&lt;/TD&gt;
&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;1.7&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 16.0pt;"&gt;
&lt;TD height="21" align="right" class="xl63" style="height: 16.0pt; border-top: none;"&gt;1&lt;/TD&gt;
&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;1.7&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 16.0pt;"&gt;
&lt;TD height="21" align="right" class="xl63" style="height: 16.0pt; border-top: none;"&gt;1&lt;/TD&gt;
&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;1.7&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 16.0pt;"&gt;
&lt;TD height="21" align="right" class="xl63" style="height: 16.0pt; border-top: none;"&gt;1&lt;/TD&gt;
&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;1.7&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 16.0pt;"&gt;
&lt;TD height="21" align="right" class="xl63" style="height: 16.0pt; border-top: none;"&gt;2&lt;/TD&gt;
&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;2.3&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 16.0pt;"&gt;
&lt;TD height="21" align="right" class="xl63" style="height: 16.0pt; border-top: none;"&gt;2&lt;/TD&gt;
&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;2.3&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 16.0pt;"&gt;
&lt;TD height="21" align="right" class="xl63" style="height: 16.0pt; border-top: none;"&gt;3&lt;/TD&gt;
&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;1.1&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 16.0pt;"&gt;
&lt;TD height="21" align="right" class="xl63" style="height: 16.0pt; border-top: none;"&gt;3&lt;/TD&gt;
&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;1.1&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 16.0pt;"&gt;
&lt;TD height="21" align="right" class="xl63" style="height: 16.0pt; border-top: none;"&gt;3&lt;/TD&gt;
&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;1.1&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 16.0pt;"&gt;
&lt;TD height="21" align="right" class="xl63" style="height: 16.0pt; border-top: none;"&gt;3&lt;/TD&gt;
&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;1.1&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 16.0pt;"&gt;
&lt;TD height="21" align="right" class="xl63" style="height: 16.0pt; border-top: none;"&gt;3&lt;/TD&gt;
&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;1.1&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My calculation should take only one value per Row ID&lt;/P&gt;
&lt;P&gt;0.5+1.7+2.3+1.1 = 5.6&lt;/P&gt;</description>
    <pubDate>Tue, 04 Feb 2025 21:24:47 GMT</pubDate>
    <dc:creator>qlikwiz123</dc:creator>
    <dc:date>2025-02-04T21:24:47Z</dc:date>
    <item>
      <title>Add only one value per row ID</title>
      <link>https://community.qlik.com/t5/App-Development/Add-only-one-value-per-row-ID/m-p/2504485#M103773</link>
      <description>&lt;P&gt;I need to do a sum on a Value column per Row ID.&lt;/P&gt;
&lt;TABLE style="border-collapse: collapse; width: 130pt;" border="0" width="174" cellspacing="0" cellpadding="0"&gt;&lt;COLGROUP&gt;&lt;COL style="width: 65pt;" span="2" width="87" /&gt; &lt;/COLGROUP&gt;
&lt;TBODY&gt;
&lt;TR style="height: 16.0pt;"&gt;
&lt;TD width="87" height="21" class="xl63" style="height: 16.0pt; width: 65pt;"&gt;Row ID&lt;/TD&gt;
&lt;TD width="87" class="xl63" style="border-left: none; width: 65pt;"&gt;Value&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 16.0pt;"&gt;
&lt;TD height="21" align="right" class="xl63" style="height: 16.0pt; border-top: none;"&gt;0&lt;/TD&gt;
&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;0.5&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 16.0pt;"&gt;
&lt;TD height="21" align="right" class="xl63" style="height: 16.0pt; border-top: none;"&gt;0&lt;/TD&gt;
&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;0.5&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 16.0pt;"&gt;
&lt;TD height="21" align="right" class="xl63" style="height: 16.0pt; border-top: none;"&gt;0&lt;/TD&gt;
&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;0.5&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 16.0pt;"&gt;
&lt;TD height="21" align="right" class="xl63" style="height: 16.0pt; border-top: none;"&gt;1&lt;/TD&gt;
&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;1.7&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 16.0pt;"&gt;
&lt;TD height="21" align="right" class="xl63" style="height: 16.0pt; border-top: none;"&gt;1&lt;/TD&gt;
&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;1.7&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 16.0pt;"&gt;
&lt;TD height="21" align="right" class="xl63" style="height: 16.0pt; border-top: none;"&gt;1&lt;/TD&gt;
&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;1.7&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 16.0pt;"&gt;
&lt;TD height="21" align="right" class="xl63" style="height: 16.0pt; border-top: none;"&gt;1&lt;/TD&gt;
&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;1.7&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 16.0pt;"&gt;
&lt;TD height="21" align="right" class="xl63" style="height: 16.0pt; border-top: none;"&gt;2&lt;/TD&gt;
&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;2.3&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 16.0pt;"&gt;
&lt;TD height="21" align="right" class="xl63" style="height: 16.0pt; border-top: none;"&gt;2&lt;/TD&gt;
&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;2.3&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 16.0pt;"&gt;
&lt;TD height="21" align="right" class="xl63" style="height: 16.0pt; border-top: none;"&gt;3&lt;/TD&gt;
&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;1.1&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 16.0pt;"&gt;
&lt;TD height="21" align="right" class="xl63" style="height: 16.0pt; border-top: none;"&gt;3&lt;/TD&gt;
&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;1.1&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 16.0pt;"&gt;
&lt;TD height="21" align="right" class="xl63" style="height: 16.0pt; border-top: none;"&gt;3&lt;/TD&gt;
&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;1.1&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 16.0pt;"&gt;
&lt;TD height="21" align="right" class="xl63" style="height: 16.0pt; border-top: none;"&gt;3&lt;/TD&gt;
&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;1.1&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 16.0pt;"&gt;
&lt;TD height="21" align="right" class="xl63" style="height: 16.0pt; border-top: none;"&gt;3&lt;/TD&gt;
&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;1.1&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My calculation should take only one value per Row ID&lt;/P&gt;
&lt;P&gt;0.5+1.7+2.3+1.1 = 5.6&lt;/P&gt;</description>
      <pubDate>Tue, 04 Feb 2025 21:24:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Add-only-one-value-per-row-ID/m-p/2504485#M103773</guid>
      <dc:creator>qlikwiz123</dc:creator>
      <dc:date>2025-02-04T21:24:47Z</dc:date>
    </item>
    <item>
      <title>Re: Add only one value per row ID</title>
      <link>https://community.qlik.com/t5/App-Development/Add-only-one-value-per-row-ID/m-p/2504489#M103775</link>
      <description>&lt;P&gt;If you are doing this in the front end (sheets/charts), you would use Row ID as dimension and sum(Value) as measure.&lt;/P&gt;
&lt;P&gt;To do this in the load script you use the group by function to aggregate per Row ID..&lt;/P&gt;
&lt;P&gt;Load "Row ID",&lt;BR /&gt;&amp;nbsp; &amp;nbsp;Sum(Value) as&amp;nbsp; NewValue&lt;BR /&gt;From ...&lt;BR /&gt;Group by "Row ID";&lt;/P&gt;
&lt;P&gt;This creates a new table with the aggregated values.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Feb 2025 22:33:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Add-only-one-value-per-row-ID/m-p/2504489#M103775</guid>
      <dc:creator>Lisa_P</dc:creator>
      <dc:date>2025-02-04T22:33:05Z</dc:date>
    </item>
    <item>
      <title>Re: Add only one value per row ID</title>
      <link>https://community.qlik.com/t5/App-Development/Add-only-one-value-per-row-ID/m-p/2504492#M103777</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/5905"&gt;@Lisa_P&lt;/a&gt;&amp;nbsp;Hi, I want to do this as a Text KPI on the front end. Built it using&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SUM(Aggr(Only(Value),Row ID))&lt;/P&gt;</description>
      <pubDate>Tue, 04 Feb 2025 23:27:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Add-only-one-value-per-row-ID/m-p/2504492#M103777</guid>
      <dc:creator>qlikwiz123</dc:creator>
      <dc:date>2025-02-04T23:27:18Z</dc:date>
    </item>
    <item>
      <title>Re: Add only one value per row ID</title>
      <link>https://community.qlik.com/t5/App-Development/Add-only-one-value-per-row-ID/m-p/2504508#M103783</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/9788"&gt;@qlikwiz123&lt;/a&gt;&amp;nbsp; IF you are looking for KPI then I believe you have two options&lt;/P&gt;
&lt;P&gt;1. Use Sum(Value) formula in KPI and then select any Row Id as per need in filter.&lt;/P&gt;
&lt;P&gt;2. Or you can use set analysis and hardcode the Row Id using following Sum ( {&amp;lt;Row ID = {0}&amp;gt;} Value)&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2025 05:15:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Add-only-one-value-per-row-ID/m-p/2504508#M103783</guid>
      <dc:creator>Dataintellinalytics</dc:creator>
      <dc:date>2025-02-05T05:15:04Z</dc:date>
    </item>
    <item>
      <title>Re: Add only one value per row ID</title>
      <link>https://community.qlik.com/t5/App-Development/Add-only-one-value-per-row-ID/m-p/2504599#M103804</link>
      <description>&lt;P&gt;Maybe just:&lt;/P&gt;
&lt;P&gt;sum(aggr(sum(distinct Value), [Row ID]))&lt;BR /&gt;or&lt;BR /&gt;sum(aggr(avg(Value), [Row ID]))&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2025 11:40:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Add-only-one-value-per-row-ID/m-p/2504599#M103804</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2025-02-05T11:40:40Z</dc:date>
    </item>
    <item>
      <title>Re: Add only one value per row ID</title>
      <link>https://community.qlik.com/t5/App-Development/Add-only-one-value-per-row-ID/m-p/2504607#M103807</link>
      <description>&lt;P&gt;if you are trying to sum up the distinct values and show on the KPI, then&amp;nbsp;= Sum(DISTINCT Value) should work. if try to group by Row ID you may get different results but if you wanna consider different values for the same id and do it for all other ids then prolly&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/28038"&gt;@marcus_sommer&lt;/a&gt;&amp;nbsp; solution should do the job.&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="2504485 -  Add only one value per row ID.PNG" style="width: 704px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/177263i84B12833D6B3D407/image-size/large?v=v2&amp;amp;px=999" role="button" title="2504485 -  Add only one value per row ID.PNG" alt="2504485 -  Add only one value per row ID.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2025 12:17:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Add-only-one-value-per-row-ID/m-p/2504607#M103807</guid>
      <dc:creator>Qrishna</dc:creator>
      <dc:date>2025-02-05T12:17:28Z</dc:date>
    </item>
  </channel>
</rss>

