<?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: Use different dimensions for single expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Use-different-dimensions-for-single-expression/m-p/744094#M265647</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was never able to understand the concept of &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;dimensionality before today. Thanks to your sample qvw file, I have a much better idea about it and will def. use this in the future.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Best,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;S&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Mar 2015 16:20:04 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2015-03-04T16:20:04Z</dc:date>
    <item>
      <title>Use different dimensions for single expression</title>
      <link>https://community.qlik.com/t5/QlikView/Use-different-dimensions-for-single-expression/m-p/744091#M265644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have been unable to find a specific question like this on the forums, though I may just be searching in the wrong way since it doesn't seem a particularly uncommon case.&amp;nbsp; Another way to phrase it might be 'how to use a dimension (2 below) for only a single expression'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to have a pivot table where one expression uses fewer dimensions than the other (see below).&amp;nbsp; Set analysis or dimensionality with partial sums leave duplicated or blank rows in the table respectively, so that doesn't give me what I want.&amp;nbsp; Any help is greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I want:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/79880_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The closest I can get to that is to use dimensionality() and partial sums in the pivot table, which gives this:&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/79881_pastedImage_1.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;All the values / totals are correct here, but I have entire rows of pointless blank cells.&amp;nbsp; Tried unsuccessfully to use conditional on 'Expression 1', but then it either appears or not in the entire table, rather than row-by-row.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2015 15:22:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-different-dimensions-for-single-expression/m-p/744091#M265644</guid>
      <dc:creator />
      <dc:date>2015-03-04T15:22:47Z</dc:date>
    </item>
    <item>
      <title>Re: Use different dimensions for single expression</title>
      <link>https://community.qlik.com/t5/QlikView/Use-different-dimensions-for-single-expression/m-p/744092#M265645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the 1st expression has a formula of:&amp;nbsp;&amp;nbsp; if( dimensionality()=1, Count(distinct Customer), Sum(Sales))&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/79886_Capture.PNG" style="height: 225px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2015 15:35:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-different-dimensions-for-single-expression/m-p/744092#M265645</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2015-03-04T15:35:21Z</dc:date>
    </item>
    <item>
      <title>Re: Use different dimensions for single expression</title>
      <link>https://community.qlik.com/t5/QlikView/Use-different-dimensions-for-single-expression/m-p/744093#M265646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jackpot.&amp;nbsp; Can't believe using a single if/else expression escaped me, but this is exactly what I needed.&amp;nbsp; Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2015 16:06:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-different-dimensions-for-single-expression/m-p/744093#M265646</guid>
      <dc:creator />
      <dc:date>2015-03-04T16:06:20Z</dc:date>
    </item>
    <item>
      <title>Re: Use different dimensions for single expression</title>
      <link>https://community.qlik.com/t5/QlikView/Use-different-dimensions-for-single-expression/m-p/744094#M265647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was never able to understand the concept of &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;dimensionality before today. Thanks to your sample qvw file, I have a much better idea about it and will def. use this in the future.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Best,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;S&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2015 16:20:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-different-dimensions-for-single-expression/m-p/744094#M265647</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-03-04T16:20:04Z</dc:date>
    </item>
  </channel>
</rss>

