<?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 Pivot Double the values compare with table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Pivot-Double-the-values-compare-with-table/m-p/1680404#M726851</link>
    <description>&lt;P&gt;hi guys,&lt;/P&gt;&lt;P&gt;I am facing a problem regarding a pivot table.&lt;/P&gt;&lt;P&gt;I am connected to a big data table. And I have some selection.&lt;/P&gt;&lt;P&gt;The problem is the difference between pivot table which shows 16 as Sum(Valoare) but the straight table show only two records, 8 + 0 =8.&lt;/P&gt;&lt;P&gt;The table shows the correct values, but why pivot table doubles the values ?&lt;/P&gt;&lt;P&gt;The same situation is for any date selected.&lt;/P&gt;&lt;P&gt;please advice &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Untitled.jpg" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/29325i2B13F3B7C6B84A39/image-size/large?v=v2&amp;amp;px=999" role="button" title="Untitled.jpg" alt="Untitled.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 19:01:19 GMT</pubDate>
    <dc:creator>Robert78</dc:creator>
    <dc:date>2024-11-16T19:01:19Z</dc:date>
    <item>
      <title>Pivot Double the values compare with table</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Double-the-values-compare-with-table/m-p/1680404#M726851</link>
      <description>&lt;P&gt;hi guys,&lt;/P&gt;&lt;P&gt;I am facing a problem regarding a pivot table.&lt;/P&gt;&lt;P&gt;I am connected to a big data table. And I have some selection.&lt;/P&gt;&lt;P&gt;The problem is the difference between pivot table which shows 16 as Sum(Valoare) but the straight table show only two records, 8 + 0 =8.&lt;/P&gt;&lt;P&gt;The table shows the correct values, but why pivot table doubles the values ?&lt;/P&gt;&lt;P&gt;The same situation is for any date selected.&lt;/P&gt;&lt;P&gt;please advice &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Untitled.jpg" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/29325i2B13F3B7C6B84A39/image-size/large?v=v2&amp;amp;px=999" role="button" title="Untitled.jpg" alt="Untitled.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 19:01:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Double-the-values-compare-with-table/m-p/1680404#M726851</guid>
      <dc:creator>Robert78</dc:creator>
      <dc:date>2024-11-16T19:01:19Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Double the values compare with table</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Double-the-values-compare-with-table/m-p/1680417#M726852</link>
      <description>&lt;P class="lia-align-justify"&gt;&lt;SPAN&gt;Hello Dear,&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="lia-align-justify"&gt;&lt;SPAN&gt;It may happen if you're joining tables with one-to-many relationships into one logical table in QV. &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="lia-align-justify"&gt;&lt;STRONG&gt;Try using aggr() in your pivot table&lt;/STRONG&gt;&lt;/P&gt;&lt;P class="lia-align-justify"&gt;&lt;SPAN&gt;It maybe something like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;aggr(&amp;lt;your current expression&amp;gt;, &amp;lt;value&amp;gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="lia-align-justify"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-align-justify"&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="lia-align-justify"&gt;&lt;SPAN&gt;Deepak&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Feb 2020 14:42:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Double-the-values-compare-with-table/m-p/1680417#M726852</guid>
      <dc:creator>deepakahirwar</dc:creator>
      <dc:date>2020-02-28T14:42:44Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Double the values compare with table</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Double-the-values-compare-with-table/m-p/1680441#M726853</link>
      <description>&lt;P&gt;Each object in Qlik shows only distinct values respectively the distinct combination of values. To monitor the data like they are really loaded you need to add an unique id to your tablebox - if none exists you could create one in the script by adding recno() and/or rowno() to the load-statement of these data.&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Fri, 28 Feb 2020 15:24:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Double-the-values-compare-with-table/m-p/1680441#M726853</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2020-02-28T15:24:56Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Double the values compare with table</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Double-the-values-compare-with-table/m-p/1681251#M726854</link>
      <description>&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;I am not using any join, I just load a simple qvd with this script (see below):&lt;/P&gt;&lt;P&gt;I cannot undestand why all values are doubled in pivot, while in straight table all values are correct. I have displayed all columns !&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pivot table 2.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/29507i7A8E643E44208DD8/image-size/large?v=v2&amp;amp;px=999" role="button" title="pivot table 2.png" alt="pivot table 2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SET vCaleDate=C:\Users\bro-rio\Desktop\Proiecte Baumit\QLICKVIEW\Raport BRO QLICK\;&lt;/P&gt;&lt;P&gt;LOAD&lt;BR /&gt;[ADM],&lt;BR /&gt;[AnFactura],&lt;BR /&gt;[An],&lt;BR /&gt;[BAU_OBJECTIVEID],&lt;BR /&gt;[CANTITATE_HC],&lt;BR /&gt;[CANTITATE_LEMN],&lt;BR /&gt;[CANTITATE_METAL],&lt;BR /&gt;[CANTITATE_POLIETILENA],&lt;BR /&gt;[CANTITATE_PP],&lt;BR /&gt;[COD_GRUPA_2017],&lt;BR /&gt;[COD_GRUPA_PRINCIPALA_2017],&lt;BR /&gt;[Cant_Tot],&lt;BR /&gt;[CantitateFacturata],&lt;BR /&gt;[CantitateTotalaFacturata],&lt;BR /&gt;[Cantitate],&lt;BR /&gt;[CodArticol],&lt;BR /&gt;[CodClientFacturare],&lt;BR /&gt;[CodGrupaPrincipala],&lt;BR /&gt;[CodGrupa],&lt;BR /&gt;[CodSubGrupa],&lt;BR /&gt;[CodclientFiliala],&lt;BR /&gt;[Consum],&lt;BR /&gt;[Cost_Total],&lt;BR /&gt;[Cost_Unitar],&lt;BR /&gt;[DataEfectivaALivrarii],&lt;BR /&gt;[DataFactura],&lt;BR /&gt;If(Len(Trim(DataFactura)), DataFactura, 'NoDate') as DataFactura_ok, // aici inlocuiesc NULL cu "NoDate",&lt;BR /&gt;[DataLivrare],&lt;BR /&gt;[Data],&lt;BR /&gt;[DescriereArticol],&lt;BR /&gt;[Expr1],&lt;BR /&gt;[Expr2],&lt;BR /&gt;[FACTOR],&lt;BR /&gt;[FINALSALESRESPONSIBLE],&lt;BR /&gt;[GROSIME_POLISTIREN],&lt;BR /&gt;[GRUPA_2017],&lt;BR /&gt;[GrupaPrincipala],&lt;BR /&gt;[Grupa],&lt;BR /&gt;[IdFactura],&lt;BR /&gt;[LINEDISC],&lt;BR /&gt;[LINENUM],&lt;BR /&gt;[LINEPERCENT],&lt;BR /&gt;[LunaFactura],&lt;BR /&gt;[Luna],&lt;BR /&gt;[M3_POLISTIREN],&lt;BR /&gt;[M3_POLISTIREN_Facturat],&lt;BR /&gt;[NrComanda],&lt;BR /&gt;[Nr_Siloz],&lt;BR /&gt;[NumeArticol],&lt;BR /&gt;[NumeClientPrincipal],&lt;BR /&gt;[NumeFiliala],&lt;BR /&gt;[ReferintaClient],&lt;BR /&gt;[SALESPRICE],&lt;BR /&gt;[SUPRAFATA_DIN_CONSUM],&lt;BR /&gt;[Site],&lt;BR /&gt;[Status],&lt;BR /&gt;[SubGrupa],&lt;BR /&gt;[TRANSTABLEID],&lt;BR /&gt;[TipClient],&lt;BR /&gt;[Transport],&lt;BR /&gt;[UM],&lt;BR /&gt;[ValoareDiscountSuplimentarFacturat],&lt;BR /&gt;[ValoareDiscountSuplimentar],&lt;BR /&gt;[ValoareFacturata],&lt;BR /&gt;[Valoare],&lt;BR /&gt;[Zona]&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;FROM&lt;BR /&gt;[$(vCaleDate)XX_BRO_CA_ONLINE.qvd]&lt;BR /&gt;(qvd);&lt;/P&gt;</description>
      <pubDate>Tue, 03 Mar 2020 11:21:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Double-the-values-compare-with-table/m-p/1681251#M726854</guid>
      <dc:creator>Robert78</dc:creator>
      <dc:date>2020-03-03T11:21:09Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Double the values compare with table</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Double-the-values-compare-with-table/m-p/1681338#M726855</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;I think i solve it. The problem was my qvd file, somehow all the records was doubled.&lt;/P&gt;&lt;P&gt;I recreate the qvd and now is perfect !! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;case closed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Mar 2020 14:30:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Double-the-values-compare-with-table/m-p/1681338#M726855</guid>
      <dc:creator>Robert78</dc:creator>
      <dc:date>2020-03-03T14:30:32Z</dc:date>
    </item>
  </channel>
</rss>

