<?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: Only show values for specific Dimensions in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Pivot-Table-Only-show-values-for-specific-Dimensions/m-p/1766476#M59296</link>
    <description>&lt;P&gt;Might need more information, but you could create an additional inline table with:&lt;/P&gt;&lt;P&gt;DimCalcs:&lt;BR /&gt;Load * inline [&lt;BR /&gt;Dim,Calc&lt;BR /&gt;1,Sum&lt;BR /&gt;1,Count(Measure)&lt;BR /&gt;1,Min(Measure)&lt;BR /&gt;2,Count(Measure)&lt;BR /&gt;2,Min(Measure)&lt;BR /&gt;3,Count(Measure)&lt;BR /&gt;3,Min(Measure)&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;And then, for your row dimensions, use Dim and Calc.&lt;/P&gt;&lt;P&gt;For your measure, you would use something like this (I don't know what you calculations are):&lt;/P&gt;&lt;P&gt;Pick(Match(Calc,'Sum','Count(Measure)','Min(Measure)'),&lt;BR /&gt;Sum(Value),&lt;BR /&gt;Count(Value),&lt;BR /&gt;Min(Value))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 05 Dec 2020 13:51:12 GMT</pubDate>
    <dc:creator>GaryGiles</dc:creator>
    <dc:date>2020-12-05T13:51:12Z</dc:date>
    <item>
      <title>Pivot Table: Only show values for specific Dimensions</title>
      <link>https://community.qlik.com/t5/App-Development/Pivot-Table-Only-show-values-for-specific-Dimensions/m-p/1766344#M59277</link>
      <description>&lt;P&gt;Hi Qlikers,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to create a pivot table where the measure values only show up for certain row-level dimensions. In the example below, I would like the "Sum" to only show for dim "1" rather than appearing in 2 &amp;amp; 3. I am currently using set analysis, but I've tried conditional show. I would like to stay away from if statements as the real chart I'm implementing this have 5+ measures for each dim &amp;amp; 15 different dims.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this possible?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="etrotter_0-1607092568290.png" style="width: 847px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/45254i0A3D2B6D05E5FEF7/image-dimensions/847x289?v=v2" width="847" height="289" role="button" title="etrotter_0-1607092568290.png" alt="etrotter_0-1607092568290.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 01:00:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Pivot-Table-Only-show-values-for-specific-Dimensions/m-p/1766344#M59277</guid>
      <dc:creator>etrotter</dc:creator>
      <dc:date>2024-11-16T01:00:11Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table: Only show values for specific Dimensions</title>
      <link>https://community.qlik.com/t5/App-Development/Pivot-Table-Only-show-values-for-specific-Dimensions/m-p/1766475#M59295</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;This can be solved by introducing flag values in the data model.&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dimension | Value&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | flag&amp;nbsp;&lt;/P&gt;&lt;P&gt;1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;sum&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0&lt;/P&gt;&lt;P&gt;1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; count(Measure).&amp;nbsp; &amp;nbsp; 1&lt;/P&gt;&lt;P&gt;1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;min(Measure).&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&lt;/P&gt;&lt;P&gt;if&amp;nbsp; flag is there then you can have the flag = {'1'} include in the set expression of your measure , which will eliminate the dimensions that has the flag as 0. Hence for dimension 1 it will show the values count(Measure) and sum(Measure) which has the flag values as 1 and value sum will not be shown since the flag value is 0&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 05 Dec 2020 13:26:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Pivot-Table-Only-show-values-for-specific-Dimensions/m-p/1766475#M59295</guid>
      <dc:creator>ibdK4evr</dc:creator>
      <dc:date>2020-12-05T13:26:50Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table: Only show values for specific Dimensions</title>
      <link>https://community.qlik.com/t5/App-Development/Pivot-Table-Only-show-values-for-specific-Dimensions/m-p/1766476#M59296</link>
      <description>&lt;P&gt;Might need more information, but you could create an additional inline table with:&lt;/P&gt;&lt;P&gt;DimCalcs:&lt;BR /&gt;Load * inline [&lt;BR /&gt;Dim,Calc&lt;BR /&gt;1,Sum&lt;BR /&gt;1,Count(Measure)&lt;BR /&gt;1,Min(Measure)&lt;BR /&gt;2,Count(Measure)&lt;BR /&gt;2,Min(Measure)&lt;BR /&gt;3,Count(Measure)&lt;BR /&gt;3,Min(Measure)&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;And then, for your row dimensions, use Dim and Calc.&lt;/P&gt;&lt;P&gt;For your measure, you would use something like this (I don't know what you calculations are):&lt;/P&gt;&lt;P&gt;Pick(Match(Calc,'Sum','Count(Measure)','Min(Measure)'),&lt;BR /&gt;Sum(Value),&lt;BR /&gt;Count(Value),&lt;BR /&gt;Min(Value))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 05 Dec 2020 13:51:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Pivot-Table-Only-show-values-for-specific-Dimensions/m-p/1766476#M59296</guid>
      <dc:creator>GaryGiles</dc:creator>
      <dc:date>2020-12-05T13:51:12Z</dc:date>
    </item>
  </channel>
</rss>

