<?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: Scripting and Field Title name in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Scripting-and-Field-Title-name/m-p/1731203#M452296</link>
    <description>&lt;P&gt;Anyway you will be creating separate expressions for current and previous year then you know which expression corresponds to current year and which is previous one then why not just giving&amp;nbsp; year(today()) &amp;amp; year(today())-1 to give titles?&lt;/P&gt;</description>
    <pubDate>Mon, 27 Jul 2020 22:20:59 GMT</pubDate>
    <dc:creator>Kushal_Chawda</dc:creator>
    <dc:date>2020-07-27T22:20:59Z</dc:date>
    <item>
      <title>Scripting and Field Title name</title>
      <link>https://community.qlik.com/t5/QlikView/Scripting-and-Field-Title-name/m-p/1731112#M452284</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the script i have a table which contains the following fields:&lt;/P&gt;&lt;P&gt;CODE_A,&lt;/P&gt;&lt;P&gt;CODE_B&lt;/P&gt;&lt;P&gt;AMOUNT_A_CURRENT_YEAR,&lt;/P&gt;&lt;P&gt;AMOUNT_B_PREVIOUS_YEAR,&lt;/P&gt;&lt;P&gt;TYPE_OF_SALE&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;FROM INVENTORY;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to exploit the two fields&amp;nbsp; :&lt;/P&gt;&lt;P&gt;AMOUNT_A_&lt;STRONG&gt;CURRENT&lt;/STRONG&gt;_YEAR,&lt;/P&gt;&lt;P&gt;AMOUNT_B_&lt;STRONG&gt;PREVIOUS&lt;/STRONG&gt;_YEAR,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Basically i want to create a Year field based on those two fields using the name.&lt;/P&gt;&lt;P&gt;Basically i want to say:&lt;/P&gt;&lt;P&gt;if&amp;nbsp;AMOUNT_A_&lt;STRONG&gt;CURRENT&lt;/STRONG&gt;_YEAR CONTAINS&amp;nbsp; 'CURRENT' THEN year(today()),&lt;/P&gt;&lt;P&gt;if&amp;nbsp;AMOUNT_B_&lt;STRONG&gt;PREVIOUS&lt;/STRONG&gt;_YEAR CONTAINS&amp;nbsp; 'PREVIOUS' THEN year(today())-1 as YEAR_FIELD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But the thing is i want to use those conditions on the field TITLES NAME not the data inside those fields.&lt;/P&gt;&lt;P&gt;Anyone knows how to do taht.&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 00:15:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Scripting-and-Field-Title-name/m-p/1731112#M452284</guid>
      <dc:creator>lessassy</dc:creator>
      <dc:date>2024-11-16T00:15:09Z</dc:date>
    </item>
    <item>
      <title>Re: Scripting and Field Title name</title>
      <link>https://community.qlik.com/t5/QlikView/Scripting-and-Field-Title-name/m-p/1731203#M452296</link>
      <description>&lt;P&gt;Anyway you will be creating separate expressions for current and previous year then you know which expression corresponds to current year and which is previous one then why not just giving&amp;nbsp; year(today()) &amp;amp; year(today())-1 to give titles?&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jul 2020 22:20:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Scripting-and-Field-Title-name/m-p/1731203#M452296</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2020-07-27T22:20:59Z</dc:date>
    </item>
  </channel>
</rss>

