<?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: Add static dimension value in a pivot table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Add-static-dimension-value-in-a-pivot-table/m-p/309451#M585326</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Joe and Shubhu, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your replies and help. It's working the way you suggested &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Too bad you can't do this in the pivot itself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rishi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 31 Aug 2011 13:49:28 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-08-31T13:49:28Z</dc:date>
    <item>
      <title>Add static dimension value in a pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Add-static-dimension-value-in-a-pivot-table/m-p/309446#M585319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a dimension called Category and have some postal codes within it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I would like to do in this dimension is to add new values in the category like A102, A104 based on age to make some calculations with this new dimension in the expression field. I know I can do this with add calculated dimension but I can not manage this. I tried using this code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=IF([Age client]&amp;gt;=18,'A102',&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF([Age client]&amp;lt;18,'A104',[Category]))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But then only A102 and A104 remain as dimension while the others A101, A103 and A107 are gone because they fall outside the criteria of age. How can I achieve this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The dimension looks like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Category&lt;/P&gt;&lt;P&gt;A101&lt;/P&gt;&lt;P&gt;A103&lt;/P&gt;&lt;P&gt;A107&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And ultimately should look like this:&lt;/P&gt;&lt;P&gt;Category&lt;/P&gt;&lt;P&gt;A101&lt;/P&gt;&lt;P&gt;A102&lt;/P&gt;&lt;P&gt;A103&lt;/P&gt;&lt;P&gt;A104&lt;/P&gt;&lt;P&gt;A107&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for your thoughts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rishi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2011 09:24:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-static-dimension-value-in-a-pivot-table/m-p/309446#M585319</guid>
      <dc:creator />
      <dc:date>2011-08-30T09:24:28Z</dc:date>
    </item>
    <item>
      <title>Add static dimension value in a pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Add-static-dimension-value-in-a-pivot-table/m-p/309447#M585321</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;are you saying that A101, A103 and A107 have a null [Age Client]? or how are they falling outside the range? If any of those values has an age client it will be caught in your expression and renamed to A102 or A104 accordingly&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a bit more info would be good on how your fields are linked and how the data looks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if it is the case that the age client is null for those 3 you will need something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=IF([Age client]&amp;gt;=18,'A102',&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF([Age client]&amp;lt;18,'A104',If (isnull([Age Client]),[Category])))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2011 09:49:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-static-dimension-value-in-a-pivot-table/m-p/309447#M585321</guid>
      <dc:creator />
      <dc:date>2011-08-30T09:49:20Z</dc:date>
    </item>
    <item>
      <title>Add static dimension value in a pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Add-static-dimension-value-in-a-pivot-table/m-p/309448#M585323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Use concatenate.&lt;/P&gt;&lt;P&gt;if you are using (say)&lt;/P&gt;&lt;P&gt;load catagory,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; codes&lt;/P&gt;&lt;P&gt;from ac.qvd;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;concatenate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load if([age client] &amp;gt; 18, 18) as catagory,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if([age client] &amp;gt; 18, 'A012') as codes&lt;/P&gt;&lt;P&gt;from xyz.xls;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use excel for such push thing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Reg,&lt;/P&gt;&lt;P&gt;Shubhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2011 10:34:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-static-dimension-value-in-a-pivot-table/m-p/309448#M585323</guid>
      <dc:creator />
      <dc:date>2011-08-30T10:34:27Z</dc:date>
    </item>
    <item>
      <title>Re: Add static dimension value in a pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Add-static-dimension-value-in-a-pivot-table/m-p/309449#M585324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Joe and Shubhu, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your replies. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@Shubhu I would prefer not to push from excel but add the dimensions within the chart based on expressions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For more details I have attached the QVW file. Any thoughts are appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rishi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2011 13:52:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-static-dimension-value-in-a-pivot-table/m-p/309449#M585324</guid>
      <dc:creator />
      <dc:date>2011-08-30T13:52:36Z</dc:date>
    </item>
    <item>
      <title>Re: Add static dimension value in a pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Add-static-dimension-value-in-a-pivot-table/m-p/309450#M585325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rishi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from looking at your qvw it seems you are trying to duplicate up your values so that they appear in the expression both for the calculated A102/A104 and then your standard field values too, I'm not sure if this can be done with just a simple calulated dimension alone.&lt;/P&gt;&lt;P&gt;If that is what you are after I would agree with Shubhu, you need to do the calculation in your data load so there is the extra line in category and revenue for you to use.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2011 14:17:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-static-dimension-value-in-a-pivot-table/m-p/309450#M585325</guid>
      <dc:creator />
      <dc:date>2011-08-30T14:17:19Z</dc:date>
    </item>
    <item>
      <title>Re: Add static dimension value in a pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Add-static-dimension-value-in-a-pivot-table/m-p/309451#M585326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Joe and Shubhu, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your replies and help. It's working the way you suggested &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Too bad you can't do this in the pivot itself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rishi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2011 13:49:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-static-dimension-value-in-a-pivot-table/m-p/309451#M585326</guid>
      <dc:creator />
      <dc:date>2011-08-31T13:49:28Z</dc:date>
    </item>
  </channel>
</rss>

