<?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: Getfieldselection in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Getfieldselection/m-p/1368681#M828113</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes, year&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Jun 2017 16:35:04 GMT</pubDate>
    <dc:creator>shiveshsingh</dc:creator>
    <dc:date>2017-06-29T16:35:04Z</dc:date>
    <item>
      <title>Getfieldselection</title>
      <link>https://community.qlik.com/t5/QlikView/Getfieldselection/m-p/1368676#M828108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want sum of salary for year one less than what i select.&lt;/P&gt;&lt;P&gt;suppose i select 2011, then i would require sum of salary in 2010&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below expression is not giving correct results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;Date ={$(=(GetCurrentSelections(Date)-1))}&amp;gt;}salary)&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/Getfieldselection/m-p/1368676#M828108</guid>
      <dc:creator>shiveshsingh</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Getfieldselection</title>
      <link>https://community.qlik.com/t5/QlikView/Getfieldselection/m-p/1368677#M828109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assume, You have year values in date field&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;Date = {'$(=Max(Date)-1)'}&amp;gt;} salary)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;I assume, you have Year field where you already declare in script like Year(Date) as Date&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;Sum({&amp;lt;Year = {'$(=Max(Year)-1)'}&amp;gt;} salary)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;Still you want to get last year date sales you can use like below&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;Sum({&amp;lt;Date = {'$(=AddYears(Max(Date),-1))'}&amp;gt;} salary)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jun 2017 02:20:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getfieldselection/m-p/1368677#M828109</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-06-28T02:20:24Z</dc:date>
    </item>
    <item>
      <title>Re: Getfieldselection</title>
      <link>https://community.qlik.com/t5/QlikView/Getfieldselection/m-p/1368678#M828110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No. not like that.&lt;/P&gt;&lt;P&gt;I have used this expression, i am building using getfieldselection, can you help?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jun 2017 02:24:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getfieldselection/m-p/1368678#M828110</guid>
      <dc:creator>shiveshsingh</dc:creator>
      <dc:date>2017-06-28T02:24:45Z</dc:date>
    </item>
    <item>
      <title>Re: Getfieldselection</title>
      <link>https://community.qlik.com/t5/QlikView/Getfieldselection/m-p/1368679#M828111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Without knowing anything, we can't offer much. But use GetFieldSelections() may be?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jun 2017 02:27:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getfieldselection/m-p/1368679#M828111</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-06-28T02:27:35Z</dc:date>
    </item>
    <item>
      <title>Re: Getfieldselection</title>
      <link>https://community.qlik.com/t5/QlikView/Getfieldselection/m-p/1368680#M828112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your Date field contains Year?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jun 2017 02:45:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getfieldselection/m-p/1368680#M828112</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-06-28T02:45:57Z</dc:date>
    </item>
    <item>
      <title>Re: Getfieldselection</title>
      <link>https://community.qlik.com/t5/QlikView/Getfieldselection/m-p/1368681#M828113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes, year&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jun 2017 16:35:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getfieldselection/m-p/1368681#M828113</guid>
      <dc:creator>shiveshsingh</dc:creator>
      <dc:date>2017-06-29T16:35:04Z</dc:date>
    </item>
    <item>
      <title>Re: Getfieldselection</title>
      <link>https://community.qlik.com/t5/QlikView/Getfieldselection/m-p/1368682#M828114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then you best bet will be to use the expression provided by Anil.&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sum({&amp;lt;Year = {'$(=Max(Year)-1)'}&amp;gt;} salary)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure why you want to complicate matters by using &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;GetFieldSelections()? Is there a reason why you want to use this? Knowing the reason might help us give you a better response here&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jun 2017 16:38:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getfieldselection/m-p/1368682#M828114</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-06-29T16:38:48Z</dc:date>
    </item>
    <item>
      <title>Re: Getfieldselection</title>
      <link>https://community.qlik.com/t5/QlikView/Getfieldselection/m-p/1368683#M828115</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 done this using this &lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;Sum({&amp;lt;Year = {'$(=Max(Year)-1)'}&amp;gt;} salary), just wanted to build it through Getfieldselection..&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;just a curiosity&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jun 2017 16:40:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getfieldselection/m-p/1368683#M828115</guid>
      <dc:creator>shiveshsingh</dc:creator>
      <dc:date>2017-06-29T16:40:56Z</dc:date>
    </item>
    <item>
      <title>Re: Getfieldselection</title>
      <link>https://community.qlik.com/t5/QlikView/Getfieldselection/m-p/1368684#M828116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you will only select one year, then may be this&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sum({&amp;lt;Year = {'$(=&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;GetFieldSelections&lt;/SPAN&gt;(Year)-1)'}&amp;gt;} salary)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jun 2017 16:41:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getfieldselection/m-p/1368684#M828116</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-06-29T16:41:46Z</dc:date>
    </item>
  </channel>
</rss>

