<?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 - expressions with different dimensions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Pivot-table-expressions-with-different-dimensions/m-p/600819#M222309</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everbody,&lt;/P&gt;&lt;P&gt;I have to achieve a pivot table with four dimensions and two expressions. The problem I am facing is that I have to link expression 1 only with dimension 1 and 2, and expression 2 with all the four dimensions. &lt;/P&gt;&lt;P&gt;My aim is to obtain a table with the following layout:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Tab.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/55440_Tab.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How would you figure it out?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Mar 2014 09:54:24 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-03-20T09:54:24Z</dc:date>
    <item>
      <title>Pivot table - expressions with different dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-expressions-with-different-dimensions/m-p/600819#M222309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everbody,&lt;/P&gt;&lt;P&gt;I have to achieve a pivot table with four dimensions and two expressions. The problem I am facing is that I have to link expression 1 only with dimension 1 and 2, and expression 2 with all the four dimensions. &lt;/P&gt;&lt;P&gt;My aim is to obtain a table with the following layout:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Tab.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/55440_Tab.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How would you figure it out?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Mar 2014 09:54:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-expressions-with-different-dimensions/m-p/600819#M222309</guid>
      <dc:creator />
      <dc:date>2014-03-20T09:54:24Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table - expressions with different dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-expressions-with-different-dimensions/m-p/600820#M222310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I solved my issue creating a table in the script with dimension 3 and 4 as fields and using a single expression with &lt;EM&gt;if&lt;/EM&gt; clauses for everything, like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;DIM_LEVEL01, DIM_LEVEL02, ORDER&lt;/P&gt;&lt;P&gt;A, X, 0&lt;/P&gt;&lt;P&gt;A, Y, 1&lt;/P&gt;&lt;P&gt;B, K, 2&lt;/P&gt;&lt;P&gt;B, W, 3&lt;/P&gt;&lt;P&gt;B, Z, 4&lt;/P&gt;&lt;P&gt;'','',5&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inside the unique expression, the result of expression1 is calculated when the if clause for DIM_LEVEL02 = '' is true. Later I placed DIM_LEVEL01 and DIM_LEVEL02 horizontally and kept blank their labels (the label of the expression as well).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this solution will be useful to someone.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Mar 2014 10:47:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-expressions-with-different-dimensions/m-p/600820#M222310</guid>
      <dc:creator />
      <dc:date>2014-03-24T10:47:41Z</dc:date>
    </item>
  </channel>
</rss>

