<?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 New field/ Demension from field values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/New-field-Demension-from-field-values/m-p/1554431#M744446</link>
    <description>&lt;P&gt;I have a field call class code and there are multiple values RR1,RR2,RR3,IG1,IG2,IG3,CA1,CA2,CA3,CA4.&lt;/P&gt;&lt;P&gt;i have to get the sum of sales for all a group of values for example all RR values.&lt;/P&gt;&lt;P&gt;I know i could use set analysis to define it for the expression but i cam trying to put it in a chart and have the group of values act like a field/dimension. So i would have 1 expression Sum(sales) and then dimensions RR,IG,CA all in a straight table.&lt;/P&gt;&lt;P&gt;Is it possible to create new fields or dimensions from field values ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>kylealpaugh</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>New field/ Demension from field values</title>
      <link>https://community.qlik.com/t5/QlikView/New-field-Demension-from-field-values/m-p/1554431#M744446</link>
      <description>&lt;P&gt;I have a field call class code and there are multiple values RR1,RR2,RR3,IG1,IG2,IG3,CA1,CA2,CA3,CA4.&lt;/P&gt;&lt;P&gt;i have to get the sum of sales for all a group of values for example all RR values.&lt;/P&gt;&lt;P&gt;I know i could use set analysis to define it for the expression but i cam trying to put it in a chart and have the group of values act like a field/dimension. So i would have 1 expression Sum(sales) and then dimensions RR,IG,CA all in a straight table.&lt;/P&gt;&lt;P&gt;Is it possible to create new fields or dimensions from field values ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/New-field-Demension-from-field-values/m-p/1554431#M744446</guid>
      <dc:creator>kylealpaugh</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: New field/ Demension from field values</title>
      <link>https://community.qlik.com/t5/QlikView/New-field-Demension-from-field-values/m-p/1554488#M744447</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;My first thought is:&lt;/P&gt;&lt;P&gt;In the loading data script create another field which will flag the records.&lt;/P&gt;&lt;P&gt;use this:&lt;/P&gt;&lt;PRE&gt;if(wildmatch([class code],'RR*'),'RR',if(wildmatch([class code],'IG*'),'IG','CA')) as Code_Flag&lt;/PRE&gt;&lt;P&gt;Now you have new dimension named Code_Flag&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2019 21:45:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/New-field-Demension-from-field-values/m-p/1554488#M744447</guid>
      <dc:creator>waszcma1</dc:creator>
      <dc:date>2019-03-08T21:45:58Z</dc:date>
    </item>
    <item>
      <title>Re: New field/ Demension from field values</title>
      <link>https://community.qlik.com/t5/QlikView/New-field-Demension-from-field-values/m-p/1554509#M744448</link>
      <description>&lt;P&gt;In a chart, you could add a dimension as:&lt;/P&gt;&lt;P&gt;=left([Class Code],2)&lt;/P&gt;&lt;P&gt;Or do the same in the script to derive a new field.&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;</description>
      <pubDate>Sat, 09 Mar 2019 01:15:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/New-field-Demension-from-field-values/m-p/1554509#M744448</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2019-03-09T01:15:28Z</dc:date>
    </item>
  </channel>
</rss>

