<?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 removing duplicate values from pivot table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/removing-duplicate-values-from-pivot-table/m-p/1375321#M419890</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have below scenario in which i need to values should show in my pivot table only once if it gets repeated with respect to vendor.Please suggest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="421"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" width="118"&gt;Project&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="64"&gt;Vendor&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="64"&gt;docno.&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="64"&gt;Value&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="111"&gt;expected output&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="120" rowspan="6" style="border-top: none;"&gt;A121&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;V1&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;d1010&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;134&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;134&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none; border-left: none;"&gt;V1&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;d1020&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;134&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none; border-left: none;"&gt;V2&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;e1010&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;137&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;137&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none; border-left: none;"&gt;V3&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;e1011&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;136&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;136&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none; border-left: none;"&gt;V3&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;d1022&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;136&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none; border-left: none;"&gt;V3&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;d1023&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;132&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;&lt;P&gt;132&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Oct 2017 10:36:08 GMT</pubDate>
    <dc:creator>vijetas42</dc:creator>
    <dc:date>2017-10-30T10:36:08Z</dc:date>
    <item>
      <title>removing duplicate values from pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/removing-duplicate-values-from-pivot-table/m-p/1375321#M419890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have below scenario in which i need to values should show in my pivot table only once if it gets repeated with respect to vendor.Please suggest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="421"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" width="118"&gt;Project&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="64"&gt;Vendor&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="64"&gt;docno.&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="64"&gt;Value&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="111"&gt;expected output&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="120" rowspan="6" style="border-top: none;"&gt;A121&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;V1&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;d1010&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;134&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;134&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none; border-left: none;"&gt;V1&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;d1020&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;134&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none; border-left: none;"&gt;V2&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;e1010&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;137&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;137&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none; border-left: none;"&gt;V3&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;e1011&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;136&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;136&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none; border-left: none;"&gt;V3&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;d1022&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;136&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none; border-left: none;"&gt;V3&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;d1023&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;132&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;&lt;P&gt;132&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Oct 2017 10:36:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/removing-duplicate-values-from-pivot-table/m-p/1375321#M419890</guid>
      <dc:creator>vijetas42</dc:creator>
      <dc:date>2017-10-30T10:36:08Z</dc:date>
    </item>
    <item>
      <title>Re: removing duplicate values from pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/removing-duplicate-values-from-pivot-table/m-p/1375322#M419891</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;Based on you data, when we use pivot chart object by default it should give you the desired output. what is the issue. can you elabrate more (i.e share like source data, current &amp;amp; expected output) tks&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/181455_Capture.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Oct 2017 10:45:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/removing-duplicate-values-from-pivot-table/m-p/1375322#M419891</guid>
      <dc:creator>devarasu07</dc:creator>
      <dc:date>2017-10-30T10:45:08Z</dc:date>
    </item>
    <item>
      <title>Re: removing duplicate values from pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/removing-duplicate-values-from-pivot-table/m-p/1375323#M419892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;What is the logic your using to determine the value ? how your basing the uniqueness , on which columns &lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Oct 2017 10:45:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/removing-duplicate-values-from-pivot-table/m-p/1375323#M419892</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2017-10-30T10:45:40Z</dc:date>
    </item>
    <item>
      <title>Re: removing duplicate values from pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/removing-duplicate-values-from-pivot-table/m-p/1375324#M419893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;uniqueness of value should be based on column vendor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Oct 2017 10:49:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/removing-duplicate-values-from-pivot-table/m-p/1375324#M419893</guid>
      <dc:creator>vijetas42</dc:creator>
      <dc:date>2017-10-30T10:49:07Z</dc:date>
    </item>
    <item>
      <title>Re: removing duplicate values from pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/removing-duplicate-values-from-pivot-table/m-p/1375325#M419894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please see the screenshot where I have mentioned the expected output should be like for duplicate it should consider 0&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Oct 2017 10:50:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/removing-duplicate-values-from-pivot-table/m-p/1375325#M419894</guid>
      <dc:creator>vijetas42</dc:creator>
      <dc:date>2017-10-30T10:50:18Z</dc:date>
    </item>
    <item>
      <title>Re: removing duplicate values from pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/removing-duplicate-values-from-pivot-table/m-p/1375326#M419895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How you derive the Value measure? in your screen shot DocNo is unique field and if we apply your suggested rule then the last row (V3&amp;nbsp;&amp;nbsp; d1023&amp;nbsp;&amp;nbsp;&amp;nbsp; 132 as expected output? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Oct 2017 10:58:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/removing-duplicate-values-from-pivot-table/m-p/1375326#M419895</guid>
      <dc:creator>devarasu07</dc:creator>
      <dc:date>2017-10-30T10:58:25Z</dc:date>
    </item>
    <item>
      <title>Re: removing duplicate values from pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/removing-duplicate-values-from-pivot-table/m-p/1375327#M419896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;If its on the vendor ..then you have mentioned 2 values for V3, which is wrong rite ? could you re-check again give us the logic &lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Oct 2017 11:18:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/removing-duplicate-values-from-pivot-table/m-p/1375327#M419896</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2017-10-30T11:18:39Z</dc:date>
    </item>
    <item>
      <title>Re: removing duplicate values from pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/removing-duplicate-values-from-pivot-table/m-p/1375328#M419897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think in script you have to handle this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find below demo for this... hope this will help..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Temp:&lt;/P&gt;&lt;P&gt;LOAD * Inline [&lt;/P&gt;&lt;P&gt;Name,Value&lt;/P&gt;&lt;P&gt;V1,10&lt;/P&gt;&lt;P&gt;V1,20&lt;/P&gt;&lt;P&gt;V1,30&lt;/P&gt;&lt;P&gt;V2,1000&lt;/P&gt;&lt;P&gt;V2,20&lt;/P&gt;&lt;P&gt;V2,30&lt;/P&gt;&lt;P&gt;V3,10232&lt;/P&gt;&lt;P&gt;V3,20&lt;/P&gt;&lt;P&gt;V3,30&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Temp2:&amp;nbsp; &lt;/P&gt;&lt;P&gt;Load&amp;nbsp; &lt;/P&gt;&lt;P&gt; Name,&amp;nbsp; &lt;/P&gt;&lt;P&gt; Value,&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt; if(Name = Previous(Name),0,Value) as NewValue&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Resident Temp ;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Drop Table Temp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Oct 2017 14:07:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/removing-duplicate-values-from-pivot-table/m-p/1375328#M419897</guid>
      <dc:creator>parthesh</dc:creator>
      <dc:date>2017-10-30T14:07:31Z</dc:date>
    </item>
  </channel>
</rss>

