<?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 Add a dimension in Pivot Table based on two fields in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Add-a-dimension-in-Pivot-Table-based-on-two-fields/m-p/718149#M258088</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like to add a Dimension in a Pivot Table which is based on two other Dimensions values. Syntax if the following&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If([Corporate Account]='OTHER', [Sales Account], [Corporate Account])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the Corporate Account for the cell is Other, I would like the dimension's value to be Sales Account, and else Corporate Account.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suspect that [Sales Account] is the name of the field, but does not refer to the value of the field for one very cell. Same with [Corporate Account]. How can I refer to the value of the Dimension [Sales Account] or [Corporate Account] for one very cell in pivot table ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is wrong with this syntax ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 05 Jul 2014 10:38:43 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-07-05T10:38:43Z</dc:date>
    <item>
      <title>Add a dimension in Pivot Table based on two fields</title>
      <link>https://community.qlik.com/t5/QlikView/Add-a-dimension-in-Pivot-Table-based-on-two-fields/m-p/718149#M258088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like to add a Dimension in a Pivot Table which is based on two other Dimensions values. Syntax if the following&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If([Corporate Account]='OTHER', [Sales Account], [Corporate Account])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the Corporate Account for the cell is Other, I would like the dimension's value to be Sales Account, and else Corporate Account.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suspect that [Sales Account] is the name of the field, but does not refer to the value of the field for one very cell. Same with [Corporate Account]. How can I refer to the value of the Dimension [Sales Account] or [Corporate Account] for one very cell in pivot table ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is wrong with this syntax ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Jul 2014 10:38:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-a-dimension-in-Pivot-Table-based-on-two-fields/m-p/718149#M258088</guid>
      <dc:creator />
      <dc:date>2014-07-05T10:38:43Z</dc:date>
    </item>
  </channel>
</rss>

