<?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: how to create one field from the table based on 2 different fields in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/how-to-create-one-field-from-the-table-based-on-2-different/m-p/752936#M1050659</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why not you directly check the Field1 for this. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or you can try&lt;/P&gt;&lt;P&gt;LOAD Field1,Field2,if(Field2='b','Y','N') as Flag,RowNo() as RID;&lt;/P&gt;&lt;P&gt;LOAD * Inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;Field1,Field2&lt;/P&gt;&lt;P&gt;x,a&lt;/P&gt;&lt;P&gt;x,a&lt;/P&gt;&lt;P&gt;x,a&lt;/P&gt;&lt;P&gt;x,b&lt;/P&gt;&lt;P&gt;x,b&lt;/P&gt;&lt;P&gt;y,a&lt;/P&gt;&lt;P&gt;y,a&lt;/P&gt;&lt;P&gt;y,a&lt;/P&gt;&lt;P&gt;y,b&lt;/P&gt;&lt;P&gt;y,b&lt;/P&gt;&lt;P&gt;]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Nov 2014 09:38:32 GMT</pubDate>
    <dc:creator>its_anandrjs</dc:creator>
    <dc:date>2014-11-03T09:38:32Z</dc:date>
    <item>
      <title>how to create one field from the table based on 2 different fields</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-create-one-field-from-the-table-based-on-2-different/m-p/752927#M1050650</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;i have 2 fields in one table, need to derive one more field based on the 2 existing fields, please suggest me how to achieve this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Nov 2014 08:50:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-create-one-field-from-the-table-based-on-2-different/m-p/752927#M1050650</guid>
      <dc:creator />
      <dc:date>2014-11-03T08:50:01Z</dc:date>
    </item>
    <item>
      <title>Re: how to create one field from the table based on 2 different fields</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-create-one-field-from-the-table-based-on-2-different/m-p/752928#M1050651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Field1 + Field2 as Field3, //Returns the sum of the two fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Field1 &amp;amp; Field2 as Field4, //Returns the concatenated string of the two fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should get the picture.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Nov 2014 08:52:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-create-one-field-from-the-table-based-on-2-different/m-p/752928#M1050651</guid>
      <dc:creator>simenkg</dc:creator>
      <dc:date>2014-11-03T08:52:31Z</dc:date>
    </item>
    <item>
      <title>Re: how to create one field from the table based on 2 different fields</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-create-one-field-from-the-table-based-on-2-different/m-p/752929#M1050652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Savi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a bit more detail on what you are trying to get as your end result would be good.&lt;/P&gt;&lt;P&gt;If you are just trying to combine the two fields, you can use '&amp;amp;' and alias as a new field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg. FieldA &amp;amp; FieldB As Field C&lt;/P&gt;&lt;P&gt;Or with a separator FieldA &amp;amp; '|' &amp;amp; FieldB As FieldC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope that help&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Nov 2014 08:52:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-create-one-field-from-the-table-based-on-2-different/m-p/752929#M1050652</guid>
      <dc:creator />
      <dc:date>2014-11-03T08:52:42Z</dc:date>
    </item>
    <item>
      <title>Re: how to create one field from the table based on 2 different fields</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-create-one-field-from-the-table-based-on-2-different/m-p/752930#M1050653</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;If this fields are string or number you can concatenate this fields or if conditionally you can to create it you can do this in the load script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;Field1,&lt;/P&gt;&lt;P&gt;Field2,&lt;/P&gt;&lt;P&gt;Field1&amp;amp;'-'&amp;amp;Field2 as Newfield&lt;/P&gt;&lt;P&gt;From Location;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;Field1,&lt;/P&gt;&lt;P&gt;Field2,&lt;/P&gt;&lt;P&gt;If(Field1=2 and Field2 &amp;lt;= 5,Field1,Field2)&amp;nbsp; as Newfield&lt;/P&gt;&lt;P&gt;From Location;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It depends on the conditions. Provide if you have any sample date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Nov 2014 08:57:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-create-one-field-from-the-table-based-on-2-different/m-p/752930#M1050653</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-11-03T08:57:37Z</dc:date>
    </item>
    <item>
      <title>Re: how to create one field from the table based on 2 different fields</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-create-one-field-from-the-table-based-on-2-different/m-p/752931#M1050654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what exactly you want to calculate?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Nov 2014 09:01:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-create-one-field-from-the-table-based-on-2-different/m-p/752931#M1050654</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2014-11-03T09:01:44Z</dc:date>
    </item>
    <item>
      <title>Re: how to create one field from the table based on 2 different fields</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-create-one-field-from-the-table-based-on-2-different/m-p/752932#M1050655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="book2.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/70352_book2.png" style="width: 620px; height: 342px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Nov 2014 09:14:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-create-one-field-from-the-table-based-on-2-different/m-p/752932#M1050655</guid>
      <dc:creator />
      <dc:date>2014-11-03T09:14:08Z</dc:date>
    </item>
    <item>
      <title>Re: how to create one field from the table based on 2 different fields</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-create-one-field-from-the-table-based-on-2-different/m-p/752933#M1050656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For field2 &amp;lt;&amp;gt; b, how do you derive output?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Nov 2014 09:17:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-create-one-field-from-the-table-based-on-2-different/m-p/752933#M1050656</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2014-11-03T09:17:06Z</dc:date>
    </item>
    <item>
      <title>Re: how to create one field from the table based on 2 different fields</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-create-one-field-from-the-table-based-on-2-different/m-p/752934#M1050657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Write like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Fie&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;ld1,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="line-height: 1.5em; color: #3d3d3d; font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Field2,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; if( Field2 = 'b','y')&amp;nbsp; as OP&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;From Location;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;With your snap shot not understood provide any sample for this in any inline table or excel file for exlanation&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Regards&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Nov 2014 09:20:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-create-one-field-from-the-table-based-on-2-different/m-p/752934#M1050657</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-11-03T09:20:35Z</dc:date>
    </item>
    <item>
      <title>Re: how to create one field from the table based on 2 different fields</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-create-one-field-from-the-table-based-on-2-different/m-p/752935#M1050658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if field2 has 'b' then for all field1 records having 'x' o/p should be 'Y'&lt;/P&gt;&lt;P&gt;if field2 doesn't have 'b' then for all field1 records having 'x' o/p should be 'N'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Nov 2014 09:23:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-create-one-field-from-the-table-based-on-2-different/m-p/752935#M1050658</guid>
      <dc:creator />
      <dc:date>2014-11-03T09:23:54Z</dc:date>
    </item>
    <item>
      <title>Re: how to create one field from the table based on 2 different fields</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-create-one-field-from-the-table-based-on-2-different/m-p/752936#M1050659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why not you directly check the Field1 for this. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or you can try&lt;/P&gt;&lt;P&gt;LOAD Field1,Field2,if(Field2='b','Y','N') as Flag,RowNo() as RID;&lt;/P&gt;&lt;P&gt;LOAD * Inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;Field1,Field2&lt;/P&gt;&lt;P&gt;x,a&lt;/P&gt;&lt;P&gt;x,a&lt;/P&gt;&lt;P&gt;x,a&lt;/P&gt;&lt;P&gt;x,b&lt;/P&gt;&lt;P&gt;x,b&lt;/P&gt;&lt;P&gt;y,a&lt;/P&gt;&lt;P&gt;y,a&lt;/P&gt;&lt;P&gt;y,a&lt;/P&gt;&lt;P&gt;y,b&lt;/P&gt;&lt;P&gt;y,b&lt;/P&gt;&lt;P&gt;]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Nov 2014 09:38:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-create-one-field-from-the-table-based-on-2-different/m-p/752936#M1050659</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-11-03T09:38:32Z</dc:date>
    </item>
    <item>
      <title>Re: how to create one field from the table based on 2 different fields</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-create-one-field-from-the-table-based-on-2-different/m-p/752937#M1050660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tbl1:&lt;/P&gt;&lt;P&gt;Load * Inline [&lt;/P&gt;&lt;P&gt;Field1,Field2,Field3&lt;/P&gt;&lt;P&gt;x,a,12&lt;/P&gt;&lt;P&gt;x,b,11&lt;/P&gt;&lt;P&gt;y,a,13&lt;/P&gt;&lt;P&gt;y,b,11 ];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Left Join(Tbl1)&lt;/P&gt;&lt;P&gt;Load Field1,If(Sum(Field1='x' And Field2='b'),'Y','N') As Op Resident Tbl1 Group by Field1;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Nov 2014 09:39:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-create-one-field-from-the-table-based-on-2-different/m-p/752937#M1050660</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2014-11-03T09:39:23Z</dc:date>
    </item>
  </channel>
</rss>

