<?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: Creating new dimension with one value from two values in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Creating-new-dimension-with-one-value-from-two-values/m-p/2123332#M91429</link>
    <description>&lt;P&gt;hi&lt;/P&gt;
&lt;P&gt;Try like below&lt;/P&gt;
&lt;P&gt;Temp:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;ID, Field1&lt;BR /&gt;1, A&lt;BR /&gt;2, A&lt;BR /&gt;2, B&lt;BR /&gt;3, C&lt;BR /&gt;4, A&lt;BR /&gt;];&lt;BR /&gt;Final:&lt;BR /&gt;Load ID, Field1 as Field2 Resident Temp where Field1 &amp;lt;&amp;gt; 'B';&lt;/P&gt;
&lt;P&gt;Field 2 doesn't contain "B" value.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 28 Sep 2023 08:58:24 GMT</pubDate>
    <dc:creator>MayilVahanan</dc:creator>
    <dc:date>2023-09-28T08:58:24Z</dc:date>
    <item>
      <title>Creating new dimension with one value from two values</title>
      <link>https://community.qlik.com/t5/App-Development/Creating-new-dimension-with-one-value-from-two-values/m-p/2123292#M91424</link>
      <description>&lt;P&gt;I'm using Field1 as a dimension.&lt;BR /&gt;ID can have one or two values in Field1, one letter or one letter and always B, see ID 2.&lt;BR /&gt;But now I want Field1 split into a new dimension. In this case - I want a new Field2 with the value A for ID 2 and ignore B from Field1. It should always take the other letter and ignore B. If Field1 only contains one letter (lets say A), Field2 should not do anything.&lt;BR /&gt;How I do that?&lt;/P&gt;
&lt;TABLE width="134"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="69.425px" height="24px"&gt;ID&lt;/TD&gt;
&lt;TD width="63.775px" height="24px"&gt;Field1&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="69.425px" height="24px"&gt;1&lt;/TD&gt;
&lt;TD width="63.775px" height="24px"&gt;A&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="69.425px" height="24px"&gt;2&lt;/TD&gt;
&lt;TD width="63.775px" height="24px"&gt;A&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="69.425px" height="24px"&gt;2&lt;/TD&gt;
&lt;TD width="63.775px" height="24px"&gt;B&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="69.425px" height="24px"&gt;3&lt;/TD&gt;
&lt;TD width="63.775px" height="24px"&gt;C&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="69.425px" height="24px"&gt;4&lt;/TD&gt;
&lt;TD width="63.775px" height="24px"&gt;A&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;</description>
      <pubDate>Thu, 28 Sep 2023 07:19:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Creating-new-dimension-with-one-value-from-two-values/m-p/2123292#M91424</guid>
      <dc:creator>sfloberg</dc:creator>
      <dc:date>2023-09-28T07:19:02Z</dc:date>
    </item>
    <item>
      <title>Re: Creating new dimension with one value from two values</title>
      <link>https://community.qlik.com/t5/App-Development/Creating-new-dimension-with-one-value-from-two-values/m-p/2123312#M91428</link>
      <description>&lt;P&gt;my idea is to create a 3rd column in the table:&lt;/P&gt;
&lt;P&gt;Table:&lt;/P&gt;
&lt;P&gt;Load ID,&lt;/P&gt;
&lt;P&gt;Field1,&lt;/P&gt;
&lt;P&gt;ID &amp;amp;'-'&amp;amp;Field1 as Temp&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;then&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Table2:&lt;/P&gt;
&lt;P&gt;Load&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;if(SubField(Temp, '-', -1)&amp;lt;&amp;gt;'B', Temp) as Field2&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;resident Table;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2023 08:02:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Creating-new-dimension-with-one-value-from-two-values/m-p/2123312#M91428</guid>
      <dc:creator>Cascader</dc:creator>
      <dc:date>2023-09-28T08:02:43Z</dc:date>
    </item>
    <item>
      <title>Re: Creating new dimension with one value from two values</title>
      <link>https://community.qlik.com/t5/App-Development/Creating-new-dimension-with-one-value-from-two-values/m-p/2123332#M91429</link>
      <description>&lt;P&gt;hi&lt;/P&gt;
&lt;P&gt;Try like below&lt;/P&gt;
&lt;P&gt;Temp:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;ID, Field1&lt;BR /&gt;1, A&lt;BR /&gt;2, A&lt;BR /&gt;2, B&lt;BR /&gt;3, C&lt;BR /&gt;4, A&lt;BR /&gt;];&lt;BR /&gt;Final:&lt;BR /&gt;Load ID, Field1 as Field2 Resident Temp where Field1 &amp;lt;&amp;gt; 'B';&lt;/P&gt;
&lt;P&gt;Field 2 doesn't contain "B" value.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2023 08:58:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Creating-new-dimension-with-one-value-from-two-values/m-p/2123332#M91429</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2023-09-28T08:58:24Z</dc:date>
    </item>
  </channel>
</rss>

