<?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 add a calculated field in load script or table box? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-add-a-calculated-field-in-load-script-or-table-box/m-p/854412#M299516</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;Try like this in script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;*,&lt;/P&gt;&lt;P&gt;If(MixMatch(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;month, '&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px;"&gt;November&lt;/SPAN&gt;', '&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px;"&gt;December&lt;/SPAN&gt;'), Year(DateFieldName) + 1, Year(DateFieldName))&amp;nbsp; AS&amp;nbsp; FY&lt;/SPAN&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;FROM DataSource;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Apr 2015 06:28:29 GMT</pubDate>
    <dc:creator>jagan</dc:creator>
    <dc:date>2015-04-30T06:28:29Z</dc:date>
    <item>
      <title>How to add a calculated field in load script or table box?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-add-a-calculated-field-in-load-script-or-table-box/m-p/854409#M299513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am a beginner.&lt;/P&gt;&lt;P&gt;i want to adds a calculated field 'FY' base on original field 'month' in load script or table box.&lt;/P&gt;&lt;P&gt;the&lt;SPAN style="font-size: 13.3333330154419px;"&gt; logic is ' if month is November or December, then FY is 'next year', else 'current year.'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;thank you in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2015 05:15:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-add-a-calculated-field-in-load-script-or-table-box/m-p/854409#M299513</guid>
      <dc:creator />
      <dc:date>2015-04-30T05:15:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a calculated field in load script or table box?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-add-a-calculated-field-in-load-script-or-table-box/m-p/854410#M299514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In Script,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load Month, If(Wildmatch(Month,'November','December'),Year(Today())+1,Year(Today())) As FY&lt;/P&gt;&lt;P&gt;From Table;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have year field, then replace Year() by year field in above script&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2015 05:20:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-add-a-calculated-field-in-load-script-or-table-box/m-p/854410#M299514</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2015-04-30T05:20:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a calculated field in load script or table box?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-add-a-calculated-field-in-load-script-or-table-box/m-p/854411#M299515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px;"&gt;month='November' or &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px;"&gt;month='&lt;/SPAN&gt;December',$(vnextyear),$(currentyear)&lt;/SPAN&gt;) as FY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create the variable as &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px;"&gt;vnextyear=year(today()+1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;currentyear=&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px;"&gt;year(today())&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2015 05:21:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-add-a-calculated-field-in-load-script-or-table-box/m-p/854411#M299515</guid>
      <dc:creator>sagarkharpude</dc:creator>
      <dc:date>2015-04-30T05:21:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a calculated field in load script or table box?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-add-a-calculated-field-in-load-script-or-table-box/m-p/854412#M299516</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;Try like this in script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;*,&lt;/P&gt;&lt;P&gt;If(MixMatch(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;month, '&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px;"&gt;November&lt;/SPAN&gt;', '&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px;"&gt;December&lt;/SPAN&gt;'), Year(DateFieldName) + 1, Year(DateFieldName))&amp;nbsp; AS&amp;nbsp; FY&lt;/SPAN&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;FROM DataSource;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2015 06:28:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-add-a-calculated-field-in-load-script-or-table-box/m-p/854412#M299516</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2015-04-30T06:28:29Z</dc:date>
    </item>
  </channel>
</rss>

