<?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: Facing issue with the deriving fields in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Facing-issue-with-the-deriving-fields/m-p/1372977#M820089</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Another Solution would be&lt;/P&gt;&lt;P&gt;MAP_NAME_TO_TEXT:&lt;BR /&gt;Mapping LOAD&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Text&lt;BR /&gt;FROM&lt;BR /&gt;&lt;C&gt;&lt;BR /&gt;(ooxml, embedded labels, table is Sheet1);&lt;/C&gt;&lt;/P&gt;&lt;P&gt;Final:&lt;BR /&gt;Load *,&lt;BR /&gt;If(Code='ABC',Text) as Test,&lt;BR /&gt;If (Code='BCA',Text) as Test1,&lt;BR /&gt;If(Code='BDS',Text) as Test2&lt;/P&gt;&lt;P&gt;;&lt;BR /&gt;LOAD Key, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Code,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ApplyMap('MAP_NAME_TO_TEXT',Name,'NA') as Text&lt;BR /&gt;FROM&lt;BR /&gt;&lt;C&gt;&lt;BR /&gt;(ooxml, embedded labels, table is Sheet1);&lt;/C&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Aug 2017 13:25:04 GMT</pubDate>
    <dc:creator>sasiparupudi1</dc:creator>
    <dc:date>2017-08-09T13:25:04Z</dc:date>
    <item>
      <title>Facing issue with the deriving fields</title>
      <link>https://community.qlik.com/t5/QlikView/Facing-issue-with-the-deriving-fields/m-p/1372973#M820085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am facing a issue with the deriving the new fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having two tables &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In one table I am having a fields &lt;/P&gt;&lt;P&gt;Name&lt;/P&gt;&lt;P&gt;Code&lt;/P&gt;&lt;P&gt;Key&lt;/P&gt;&lt;P&gt;In second table I am having fields &lt;/P&gt;&lt;P&gt;Name &lt;/P&gt;&lt;P&gt;Text&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here I need to write condition like if(code='ABC',Text) as Test&lt;/P&gt;&lt;P&gt;same way if(code='BCA',Text) as Test1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;if(code='BDS',Text) as Test2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Hope I am clear. Can anyone please help me on this&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Here I am attaching sample data and qvw please have a look&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Chinnu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Facing-issue-with-the-deriving-fields/m-p/1372973#M820085</guid>
      <dc:creator>chinnu123</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Facing issue with the deriving fields</title>
      <link>https://community.qlik.com/t5/QlikView/Facing-issue-with-the-deriving-fields/m-p/1372974#M820086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is this what you want?&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/172931_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD Key, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Code, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[Sample data1.xlsx]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(ooxml, embedded labels, table is Sheet1);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Left Join (Table)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD Text, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[sample data2.xlsx]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(ooxml, embedded labels, table is Sheet1);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FinalTable:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD *,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Match(Code, 'ABC', 'BCA', 'BDS'), Text) as Test&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident Table;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DROP Table Table;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Aug 2017 12:15:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Facing-issue-with-the-deriving-fields/m-p/1372974#M820086</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-08-09T12:15:30Z</dc:date>
    </item>
    <item>
      <title>Re: Facing issue with the deriving fields</title>
      <link>https://community.qlik.com/t5/QlikView/Facing-issue-with-the-deriving-fields/m-p/1372975#M820087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PFA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Aug 2017 12:19:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Facing-issue-with-the-deriving-fields/m-p/1372975#M820087</guid>
      <dc:creator>nilesh_gangurde</dc:creator>
      <dc:date>2017-08-09T12:19:21Z</dc:date>
    </item>
    <item>
      <title>Re: Facing issue with the deriving fields</title>
      <link>https://community.qlik.com/t5/QlikView/Facing-issue-with-the-deriving-fields/m-p/1372976#M820088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can not use other table's field in the if condition(can only use fields in the same table). So in order to use you have to join two tables then only you can use it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Aug 2017 12:31:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Facing-issue-with-the-deriving-fields/m-p/1372976#M820088</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-09T12:31:41Z</dc:date>
    </item>
    <item>
      <title>Re: Facing issue with the deriving fields</title>
      <link>https://community.qlik.com/t5/QlikView/Facing-issue-with-the-deriving-fields/m-p/1372977#M820089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Another Solution would be&lt;/P&gt;&lt;P&gt;MAP_NAME_TO_TEXT:&lt;BR /&gt;Mapping LOAD&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Text&lt;BR /&gt;FROM&lt;BR /&gt;&lt;C&gt;&lt;BR /&gt;(ooxml, embedded labels, table is Sheet1);&lt;/C&gt;&lt;/P&gt;&lt;P&gt;Final:&lt;BR /&gt;Load *,&lt;BR /&gt;If(Code='ABC',Text) as Test,&lt;BR /&gt;If (Code='BCA',Text) as Test1,&lt;BR /&gt;If(Code='BDS',Text) as Test2&lt;/P&gt;&lt;P&gt;;&lt;BR /&gt;LOAD Key, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Code,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ApplyMap('MAP_NAME_TO_TEXT',Name,'NA') as Text&lt;BR /&gt;FROM&lt;BR /&gt;&lt;C&gt;&lt;BR /&gt;(ooxml, embedded labels, table is Sheet1);&lt;/C&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Aug 2017 13:25:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Facing-issue-with-the-deriving-fields/m-p/1372977#M820089</guid>
      <dc:creator>sasiparupudi1</dc:creator>
      <dc:date>2017-08-09T13:25:04Z</dc:date>
    </item>
    <item>
      <title>Re: Facing issue with the deriving fields</title>
      <link>https://community.qlik.com/t5/QlikView/Facing-issue-with-the-deriving-fields/m-p/1372978#M820090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chinnu,&lt;/P&gt;&lt;P&gt;This is pretty straight forward .&lt;/P&gt;&lt;P&gt;You don't even need to join both table.&lt;/P&gt;&lt;P&gt;PFA Solution&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pankaj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Aug 2017 14:01:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Facing-issue-with-the-deriving-fields/m-p/1372978#M820090</guid>
      <dc:creator>passionate</dc:creator>
      <dc:date>2017-08-09T14:01:02Z</dc:date>
    </item>
    <item>
      <title>Re: Facing issue with the deriving fields</title>
      <link>https://community.qlik.com/t5/QlikView/Facing-issue-with-the-deriving-fields/m-p/1372979#M820091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;Hi Sunny,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Thanks for your reply, I am getting error when I am putting only before the If condition can you please correct me if &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;I am wrong in some where. I ma attaching sample qvw file&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Thanks,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Chinnu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Aug 2017 01:24:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Facing-issue-with-the-deriving-fields/m-p/1372979#M820091</guid>
      <dc:creator>chinnu123</dc:creator>
      <dc:date>2017-08-10T01:24:50Z</dc:date>
    </item>
    <item>
      <title>Re: Facing issue with the deriving fields</title>
      <link>https://community.qlik.com/t5/QlikView/Facing-issue-with-the-deriving-fields/m-p/1372980#M820092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try without Only function...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FinalTable:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD *,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Code='ABC',Text) AS SAMPLE1,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Code='ABD',Text) AS SAMPLE2,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Code='BCA',Text) AS SAMPLE3&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident Table;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Aug 2017 10:52:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Facing-issue-with-the-deriving-fields/m-p/1372980#M820092</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-08-10T10:52:41Z</dc:date>
    </item>
  </channel>
</rss>

