<?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: Error in Expression - Duplicate Values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Error-in-Expression-Duplicate-Values/m-p/1528027#M747178</link>
    <description>&lt;P&gt;try this:&lt;/P&gt;&lt;P&gt;=If(Num_Month = '$(vPreYearLastMonth)' and Year = '$(vPreYear)', 0, Sum(&lt;FONT color="#ff0000"&gt;&lt;STRONG&gt;AGGR(Updated_OEC_Budget,&amp;nbsp; Cost-Code&lt;/STRONG&gt;&lt;/FONT&gt;)))&lt;/P&gt;</description>
    <pubDate>Tue, 08 Jan 2019 20:15:08 GMT</pubDate>
    <dc:creator>jduenyas</dc:creator>
    <dc:date>2019-01-08T20:15:08Z</dc:date>
    <item>
      <title>Error in Expression - Duplicate Values</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-Expression-Duplicate-Values/m-p/1528006#M747177</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a table below as shown below. I have my&amp;nbsp;expression for OEC - Current as&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;nbsp;=If(Num_Month = '$(vPreYearLastMonth)' and Year = '$(vPreYear)', 0, Sum(Updated_OEC_Budget))&amp;nbsp;&lt;/PRE&gt;&lt;P&gt;Sum(Updated_OEC_Budget) = 179922+522900 = 702822; but the expression is wrong (Duplicate Values as you see below).&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="1.PNG" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/3358i7DBD513333BEF801/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.PNG" alt="1.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone help me how to fix these duplicate values? Attached is the qvd&amp;nbsp;and qvw&amp;nbsp;file&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Bhavesh&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 04:49:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-Expression-Duplicate-Values/m-p/1528006#M747177</guid>
      <dc:creator>bhaveshp90</dc:creator>
      <dc:date>2024-11-16T04:49:19Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Expression - Duplicate Values</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-Expression-Duplicate-Values/m-p/1528027#M747178</link>
      <description>&lt;P&gt;try this:&lt;/P&gt;&lt;P&gt;=If(Num_Month = '$(vPreYearLastMonth)' and Year = '$(vPreYear)', 0, Sum(&lt;FONT color="#ff0000"&gt;&lt;STRONG&gt;AGGR(Updated_OEC_Budget,&amp;nbsp; Cost-Code&lt;/STRONG&gt;&lt;/FONT&gt;)))&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jan 2019 20:15:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-Expression-Duplicate-Values/m-p/1528027#M747178</guid>
      <dc:creator>jduenyas</dc:creator>
      <dc:date>2019-01-08T20:15:08Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Expression - Duplicate Values</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-Expression-Duplicate-Values/m-p/1528034#M747179</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/35830"&gt;@jduenyas&lt;/a&gt;&amp;nbsp;that expression works&amp;nbsp;for Total, but when I change the Engineering_Area the value becomes 0&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jan 2019 20:31:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-Expression-Duplicate-Values/m-p/1528034#M747179</guid>
      <dc:creator>bhaveshp90</dc:creator>
      <dc:date>2019-01-08T20:31:36Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Expression - Duplicate Values</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-Expression-Duplicate-Values/m-p/1528040#M747180</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46628"&gt;@sunny_talwar&lt;/a&gt;,&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/14931"&gt;@jonathandienst&lt;/a&gt;,&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22245"&gt;@swuehl&lt;/a&gt;, Can you please look into this problem?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jan 2019 20:51:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-Expression-Duplicate-Values/m-p/1528040#M747180</guid>
      <dc:creator>bhaveshp90</dc:creator>
      <dc:date>2019-01-08T20:51:24Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Expression - Duplicate Values</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-Expression-Duplicate-Values/m-p/1528226#M747181</link>
      <description>&lt;P&gt;It seems like one of the joins&amp;nbsp;or the logic in the load script is causing duplicate records. Your data model may need to be changed to better suit your analysis.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jan 2019 09:56:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-Expression-Duplicate-Values/m-p/1528226#M747181</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2019-01-09T09:56:41Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Expression - Duplicate Values</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-Expression-Duplicate-Values/m-p/1529198#M747182</link>
      <description>&lt;P&gt;As a test, try removing the NCC_Code column and see if the duplicates are removed.&amp;nbsp; Looks like you are getting a row for each distinct value of NCC_Code.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jan 2019 21:04:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-Expression-Duplicate-Values/m-p/1529198#M747182</guid>
      <dc:creator>Donicc</dc:creator>
      <dc:date>2019-01-10T21:04:25Z</dc:date>
    </item>
  </channel>
</rss>

