<?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 Calculated Dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Pivot-Calculated-Dimension/m-p/394769#M147218</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;Im trying to show to different fields as a dimension in a pivot table by using the following expression :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(match([Indicator Name],'Type 1','Typ2'),[Filter 1], [Filter2])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the first columns value is either Type1 or Type 2, then the next dimension should hold 'Filter 1' data otherwise is should how 'Filter 2' data.&amp;nbsp; Is this possible to do?&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;Fiorano&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Feb 2013 16:25:36 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-02-28T16:25:36Z</dc:date>
    <item>
      <title>Pivot Calculated Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Calculated-Dimension/m-p/394769#M147218</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;Im trying to show to different fields as a dimension in a pivot table by using the following expression :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(match([Indicator Name],'Type 1','Typ2'),[Filter 1], [Filter2])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the first columns value is either Type1 or Type 2, then the next dimension should hold 'Filter 1' data otherwise is should how 'Filter 2' data.&amp;nbsp; Is this possible to do?&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;Fiorano&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Feb 2013 16:25:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Calculated-Dimension/m-p/394769#M147218</guid>
      <dc:creator />
      <dc:date>2013-02-28T16:25:36Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Calculated Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Calculated-Dimension/m-p/394770#M147219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the match() function assigns a value of 1 to 'Type1' and 2 to 'Typ2' as you have it written; it isn't a true/false operator.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;[Indicator Name]&lt;/SPAN&gt;='Type1' or &lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;[Indicator Name]&lt;/SPAN&gt;='Typ2',&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;[Filter 1], [Filter2]&lt;/SPAN&gt;). But no promises.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Feb 2013 16:29:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Calculated-Dimension/m-p/394770#M147219</guid>
      <dc:creator />
      <dc:date>2013-02-28T16:29:06Z</dc:date>
    </item>
  </channel>
</rss>

