<?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 table problems in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Pivot-table-problems/m-p/481030#M179762</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;I need:&lt;/P&gt;&lt;P&gt;When selecting a date, see the PRODUTOR that did not deliver between the selected date and the day before the earliest date, and delivered in pieces earlier date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The question is:&lt;/P&gt;&lt;P&gt;How many PRODUTOR did not deliver parts between 10.14.2013 and 10.12.2013, which had delivered parts 10.11.2013?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The rules&lt;/P&gt;&lt;P&gt;In the column of day 2013-10-14 I need count PRODUTOR who delivered parts 11/10/2013.&lt;/P&gt;&lt;P&gt;In columns 10.13.2013 until 10.12.2013, I bring the sum of the parts delivered on each of these dates, which should be zero.&lt;/P&gt;&lt;P&gt;In the column of the day 10.11.2013, I bring the sum of the parts delivered on this date which the PRODUTOR not delivered during the period 10.14.2013 to 10.12.2013.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried creating a dimension calculated to see which PRODUTOR that meet the above rules, but it did not work, see.&lt;/P&gt;&lt;P&gt;If(&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Aggr (Sum ({&amp;lt;MIX_TBL_ORIGEM={'ZLD'}, MIX_PRD_FLAG={'P'}, ANO={'*'}, MÊS={'*'}, MIX_DIA_DO_MES={'*'}, MIX_DTCOLE={'&amp;gt;=$(=Date(a2 - vDiasAnalise))&amp;lt;$(a2)'}&amp;gt;} MIX_QTDTOTAL), FÁBRICA, SETOR, LINHA, MIX_FORNECEDOR_ID) = 0,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;MIX_FORNECDOR_ID, Null())&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please, see attached file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tks&lt;/P&gt;&lt;P&gt;&lt;OBJECT height="0" type="application/gas-events-abn" width="0"&gt;&lt;/OBJECT&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Oct 2013 20:49:51 GMT</pubDate>
    <dc:creator>MarcoARaymundo</dc:creator>
    <dc:date>2013-10-16T20:49:51Z</dc:date>
    <item>
      <title>Pivot table problems</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-problems/m-p/481030#M179762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;I need:&lt;/P&gt;&lt;P&gt;When selecting a date, see the PRODUTOR that did not deliver between the selected date and the day before the earliest date, and delivered in pieces earlier date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The question is:&lt;/P&gt;&lt;P&gt;How many PRODUTOR did not deliver parts between 10.14.2013 and 10.12.2013, which had delivered parts 10.11.2013?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The rules&lt;/P&gt;&lt;P&gt;In the column of day 2013-10-14 I need count PRODUTOR who delivered parts 11/10/2013.&lt;/P&gt;&lt;P&gt;In columns 10.13.2013 until 10.12.2013, I bring the sum of the parts delivered on each of these dates, which should be zero.&lt;/P&gt;&lt;P&gt;In the column of the day 10.11.2013, I bring the sum of the parts delivered on this date which the PRODUTOR not delivered during the period 10.14.2013 to 10.12.2013.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried creating a dimension calculated to see which PRODUTOR that meet the above rules, but it did not work, see.&lt;/P&gt;&lt;P&gt;If(&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Aggr (Sum ({&amp;lt;MIX_TBL_ORIGEM={'ZLD'}, MIX_PRD_FLAG={'P'}, ANO={'*'}, MÊS={'*'}, MIX_DIA_DO_MES={'*'}, MIX_DTCOLE={'&amp;gt;=$(=Date(a2 - vDiasAnalise))&amp;lt;$(a2)'}&amp;gt;} MIX_QTDTOTAL), FÁBRICA, SETOR, LINHA, MIX_FORNECEDOR_ID) = 0,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;MIX_FORNECDOR_ID, Null())&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please, see attached file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tks&lt;/P&gt;&lt;P&gt;&lt;OBJECT height="0" type="application/gas-events-abn" width="0"&gt;&lt;/OBJECT&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Oct 2013 20:49:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-problems/m-p/481030#M179762</guid>
      <dc:creator>MarcoARaymundo</dc:creator>
      <dc:date>2013-10-16T20:49:51Z</dc:date>
    </item>
  </channel>
</rss>

