<?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: REMOVING SUMMATION FOR DUPLICATED RECORDS in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/REMOVING-SUMMATION-FOR-DUPLICATED-RECORDS/m-p/442795#M1152146</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks but this does not fit the need as the distinct would just keep one record and I would then miss the display of both instance names if I select per database name list box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Think I need to put this more as an expression than in my main load query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks anyway for trying.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Jun 2013 17:23:25 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-06-05T17:23:25Z</dc:date>
    <item>
      <title>REMOVING SUMMATION FOR DUPLICATED RECORDS</title>
      <link>https://community.qlik.com/t5/QlikView/REMOVING-SUMMATION-FOR-DUPLICATED-RECORDS/m-p/442793#M1152144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello ,&amp;nbsp; this is my first try with Qlikview.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it make sense and someone can give some ideas.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I only have one table in my load right now.&lt;/P&gt;&lt;P&gt;Rows containing : &lt;/P&gt;&lt;P&gt;Server_name, instance_name, disk_space_used&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ie : A1P1SRV,INSTA(INSTA1), 10000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; A2P1SRV,INSTA(INSTA2),&amp;nbsp; 10000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here, first 5 charaters : INSTA is the Database name.&amp;nbsp;&amp;nbsp; For one database I have 1 or more instances.&lt;/P&gt;&lt;P&gt;I made a field in my load defined as (left(instance_name,5)) as databse&amp;nbsp; to have the possibility to have a list box with database name to select.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a list box showing all : instance_name&lt;/P&gt;&lt;P&gt;I have a list box showing all : database&lt;/P&gt;&lt;P&gt;I have a box showing sum of my selections.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOW:&lt;/P&gt;&lt;P&gt; if I select one instance only &amp;gt;&amp;gt;&amp;gt;&amp;nbsp;&amp;nbsp; the sum = 10000&amp;nbsp;&amp;nbsp; (ok)&lt;/P&gt;&lt;P&gt;if I select one database,&amp;nbsp; it highlights the 2 instances (ok) but makes the sum of both instances which gives me &lt;STRONG&gt;wrong info&lt;/STRONG&gt; as 20000.&lt;/P&gt;&lt;P&gt;If I select both instances it makes the sum of both instances which gives me &lt;STRONG&gt;wrong info&lt;/STRONG&gt; as 20000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to tell Qlikview to only do sum with one of the lines if it finds duplicate&amp;nbsp; ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;André&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jun 2013 13:58:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/REMOVING-SUMMATION-FOR-DUPLICATED-RECORDS/m-p/442793#M1152144</guid>
      <dc:creator />
      <dc:date>2013-06-05T13:58:20Z</dc:date>
    </item>
    <item>
      <title>Re: REMOVING SUMMATION FOR DUPLICATED RECORDS</title>
      <link>https://community.qlik.com/t5/QlikView/REMOVING-SUMMATION-FOR-DUPLICATED-RECORDS/m-p/442794#M1152145</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;You can try using Distinct in its formula.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;Rebeca&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jun 2013 16:17:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/REMOVING-SUMMATION-FOR-DUPLICATED-RECORDS/m-p/442794#M1152145</guid>
      <dc:creator />
      <dc:date>2013-06-05T16:17:45Z</dc:date>
    </item>
    <item>
      <title>Re: REMOVING SUMMATION FOR DUPLICATED RECORDS</title>
      <link>https://community.qlik.com/t5/QlikView/REMOVING-SUMMATION-FOR-DUPLICATED-RECORDS/m-p/442795#M1152146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks but this does not fit the need as the distinct would just keep one record and I would then miss the display of both instance names if I select per database name list box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Think I need to put this more as an expression than in my main load query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks anyway for trying.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jun 2013 17:23:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/REMOVING-SUMMATION-FOR-DUPLICATED-RECORDS/m-p/442795#M1152146</guid>
      <dc:creator />
      <dc:date>2013-06-05T17:23:25Z</dc:date>
    </item>
    <item>
      <title>Re: REMOVING SUMMATION FOR DUPLICATED RECORDS</title>
      <link>https://community.qlik.com/t5/QlikView/REMOVING-SUMMATION-FOR-DUPLICATED-RECORDS/m-p/442796#M1152147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Rebeca,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here is what I came up too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;your idea of using : distinct was good in one of my list box where I do a count on databses.&amp;nbsp; (thanks to you)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for my list box where I had to make a sumation whith a value that I had to modify by the number of instance I did the following.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did put an extra field in the table I use in my Load.&amp;nbsp;&amp;nbsp; (NUMBER_OF_INST)&amp;nbsp; where I update to have the total # instances for one database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I then use it in a if statement and it does the job.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;if&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;NUMBER_OF_INST&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;gt;=2,&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;SUM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;TOTALDEFINESPCMB&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;/&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;NUMBER_OF_INST&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;SUM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;TOTALDEFINESPCMB&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks again&lt;/P&gt;&lt;P&gt;Andre&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jun 2013 14:47:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/REMOVING-SUMMATION-FOR-DUPLICATED-RECORDS/m-p/442796#M1152147</guid>
      <dc:creator />
      <dc:date>2013-06-06T14:47:25Z</dc:date>
    </item>
    <item>
      <title>Re: REMOVING SUMMATION FOR DUPLICATED RECORDS</title>
      <link>https://community.qlik.com/t5/QlikView/REMOVING-SUMMATION-FOR-DUPLICATED-RECORDS/m-p/442797#M1152148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;Rebeca&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jun 2013 15:40:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/REMOVING-SUMMATION-FOR-DUPLICATED-RECORDS/m-p/442797#M1152148</guid>
      <dc:creator />
      <dc:date>2013-06-06T15:40:20Z</dc:date>
    </item>
  </channel>
</rss>

