<?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 a new Data Field from a Expression. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-create-a-new-Data-Field-from-a-Expression/m-p/1001597#M340465</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi wilmar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please try in script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;If(Data1 = Data2 and Data3 = Data4, Expression/Oldfield) as NewField&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 18 Oct 2015 06:16:35 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-10-18T06:16:35Z</dc:date>
    <item>
      <title>How to create a new Data Field from a Expression.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-a-new-Data-Field-from-a-Expression/m-p/1001595#M340463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dears.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have and expression like this;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If Data 1 = Data 2 and Data 3 = Data4, Data5.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i create a new field in the data base with the result of this expression?.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Oct 2015 23:50:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-a-new-Data-Field-from-a-Expression/m-p/1001595#M340463</guid>
      <dc:creator />
      <dc:date>2015-10-17T23:50:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a new Data Field from a Expression.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-a-new-Data-Field-from-a-Expression/m-p/1001596#M340464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;From front end of the expression, you cannot create a new field. But may be can do the similar action in the script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Something = SomethingElse, ThenDoThis, OtherDoThis) as NewField&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 Oct 2015 00:13:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-a-new-Data-Field-from-a-Expression/m-p/1001596#M340464</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-10-18T00:13:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a new Data Field from a Expression.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-a-new-Data-Field-from-a-Expression/m-p/1001597#M340465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi wilmar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please try in script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;If(Data1 = Data2 and Data3 = Data4, Expression/Oldfield) as NewField&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 Oct 2015 06:16:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-a-new-Data-Field-from-a-Expression/m-p/1001597#M340465</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-18T06:16:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a new Data Field from a Expression.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-a-new-Data-Field-from-a-Expression/m-p/1001598#M340466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the Data1 2 3 4 fields are in the same table you can make a new field (in the same table) in the script as Sunny and neetha already suggested.&lt;/P&gt;&lt;P&gt;If&amp;nbsp; the fields are in different tables you should post your .qvw or your db model (ctrl+t)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 Oct 2015 07:44:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-a-new-Data-Field-from-a-Expression/m-p/1001598#M340466</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-10-18T07:44:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a new Data Field from a Expression.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-a-new-Data-Field-from-a-Expression/m-p/1001599#M340467</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;it will be based on the data and fields. Can u post sample data or app.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We can use this,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;EM&gt;You can use this in edit script back end .&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;if(Data1 = Data2 ,Data1,Null()) As New_Data1&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;f(Data2 = Data3 ,Data2,Null()) As &lt;SPAN style="font-size: 13.3333px;"&gt;New_Data2&lt;/SPAN&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;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;EM style="font-size: 13.3333px;"&gt;You can use this in Fornt end UI.&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;EM style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;If(New_Data1=&lt;SPAN style="font-size: 13.3333px;"&gt;New_Data2,Sum(Expression)) Like this .&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;bunny&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 Oct 2015 08:06:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-a-new-Data-Field-from-a-Expression/m-p/1001599#M340467</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-18T08:06:18Z</dc:date>
    </item>
  </channel>
</rss>

