<?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: pivot table expression doesn't work in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/pivot-table-expression-doesn-t-work/m-p/797998#M281825</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Take a look to Dimensionality() function, it may help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Feb 2015 15:45:39 GMT</pubDate>
    <dc:creator>alexandros17</dc:creator>
    <dc:date>2015-02-13T15:45:39Z</dc:date>
    <item>
      <title>pivot table expression doesn't work</title>
      <link>https://community.qlik.com/t5/QlikView/pivot-table-expression-doesn-t-work/m-p/797997#M281824</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;I need pivot table that shows the following data with these conditions:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; a) show only stores/clientes that SalesDate&amp;gt;StoreDate&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; b) Value &amp;gt;1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; c) Number os sales &amp;gt;=2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my data:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="77804" alt="X1.PNG" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/77804_X1.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my pivot table is ok when full expanded...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="77805" alt="x2.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/77805_x2.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;my expression in pivot table doesn't work ok when collapsed.. the total should be 3 not 5&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="77806" alt="x3.PNG" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/77806_x3.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my current expression is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if (count(Distinct if(SalesDate &amp;gt;= StoreDate and Value &amp;gt;1, SalesDate))&amp;gt;=2&amp;nbsp;&amp;nbsp; , count(Distinct if(SalesDate &amp;gt;= StoreDate and Value &amp;gt;1, SalesDate)))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my qdw is here : &lt;A _jive_internal="true" href="https://community.qlik.com/servlet/JiveServlet/downloadBody/7951-102-1-10732/OnlySalesDateStoreDate_.qvw"&gt;http://community.qlik.com/servlet/JiveServlet/downloadBody/7951-102-1-10732/OnlySalesDateStoreDate_.qvw&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can some one help please...i realy need this...&lt;/P&gt;&lt;P&gt;thanks in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CAFC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Feb 2015 18:47:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/pivot-table-expression-doesn-t-work/m-p/797997#M281824</guid>
      <dc:creator>cafcptg2011</dc:creator>
      <dc:date>2015-02-12T18:47:43Z</dc:date>
    </item>
    <item>
      <title>Re: pivot table expression doesn't work</title>
      <link>https://community.qlik.com/t5/QlikView/pivot-table-expression-doesn-t-work/m-p/797998#M281825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Take a look to Dimensionality() function, it may help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2015 15:45:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/pivot-table-expression-doesn-t-work/m-p/797998#M281825</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2015-02-13T15:45:39Z</dc:date>
    </item>
    <item>
      <title>Re: pivot table expression doesn't work</title>
      <link>https://community.qlik.com/t5/QlikView/pivot-table-expression-doesn-t-work/m-p/797999#M281826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes, it help me your solution... thank you very much...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but, I noticed that the pivot table has strange behavior....&lt;/P&gt;&lt;P&gt;when is collapsed the dimension client still is visible, why? although, data is correct...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when is collapsed (the data is correct):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="78092" alt="Capturar1.PNG" class="jive-image image-4" src="https://community.qlik.com/legacyfs/online/78092_Capturar1.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;full expand (information is correct):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="78089" alt="Capturar2.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/78089_Capturar2.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the correct would be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="78091" alt="Capturar3.PNG" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/78091_Capturar3.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my current expression is :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if (Dimensionality() = 1,&amp;nbsp; if ( Count(aggr(count(Distinct if(SalesDate &amp;gt;= StoreDate and Value &amp;gt;1, SalesDate)), Store, Client))&amp;gt;=2&amp;nbsp;&amp;nbsp; , Count(aggr(count(Distinct if(SalesDate &amp;gt;= StoreDate and Value &amp;gt;1, SalesDate)),Store, Client)) ),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; if (count(Distinct if(SalesDate &amp;gt;= StoreDate and Value &amp;gt;1, SalesDate))&amp;gt;=2&amp;nbsp;&amp;nbsp; ,count(Distinct if(SalesDate &amp;gt;= StoreDate and Value &amp;gt;1, SalesDate)) ))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could someone please, refine my expression to get my pivot table correct...?? is it possivel? or is it normal like that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my qvw is here: &lt;A _jive_internal="true" href="https://community.qlik.com/servlet/JiveServlet/downloadBody/7952-102-1-10763/OnlySalesDateStoreDate2.qvw"&gt;http://community.qlik.com/servlet/JiveServlet/downloadBody/7952-102-1-10763/OnlySalesDateStoreDate2.qvw&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CAFC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2015 17:15:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/pivot-table-expression-doesn-t-work/m-p/797999#M281826</guid>
      <dc:creator>cafcptg2011</dc:creator>
      <dc:date>2015-02-13T17:15:01Z</dc:date>
    </item>
  </channel>
</rss>

