<?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: RangeSum/FirstSortedValue allow GetFieldSelections ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/RangeSum-FirstSortedValue-allow-GetFieldSelections/m-p/1347405#M414506</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;It is not working. I just get NULL values for all columns in single row.&lt;/P&gt;&lt;P&gt;I cannot upload qvw due to environment restrictions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 11 Jun 2017 01:06:47 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-06-11T01:06:47Z</dc:date>
    <item>
      <title>RangeSum/FirstSortedValue allow GetFieldSelections ?</title>
      <link>https://community.qlik.com/t5/QlikView/RangeSum-FirstSortedValue-allow-GetFieldSelections/m-p/1347403#M414504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use this set analysis expression to display 'Gross_Amount' (directly from DB) value within 'From_Accounting_Month' and 'To_Accounting_Month' date ranges correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= num(sum({&amp;lt;ACCOUNTING_MONTH={'&amp;gt;=$(=GetFieldSelections(From_Accounting_Month))&amp;lt;=$(=GetFieldSelections(To_Accounting_Month))'}&amp;gt;} &lt;STRONG&gt;Gross_Amount&lt;/STRONG&gt;),'$#,##0')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I am using set analysis expression in column to derive New 'Gross_Amount' column.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If(Below(TOTAL Only(TempKey)) &amp;lt;&amp;gt; Only(TempKey), RangeSum(Sum(Gross_Incr_ITD), -FirstSortedValue(TOTAL &amp;lt;DIVISION&amp;gt; Gross_Incr_ITD, ReportingDate)), Sum(Gross_Amount))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am getting new 'Gross_Amount' column correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However I want to display derived 'Gross_Amount' value within 'From_Accounting_Month' and 'To_Accounting_Month' date ranges.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used below expression, but it is not working. &lt;/P&gt;&lt;P&gt;=If(Below(TOTAL Only(TempKey)) &amp;lt;&amp;gt; ONly(TempKey), RangeSum(num(Sum({&amp;lt;ACCOUNTING_MONTH={'&amp;gt;=$(=GetFieldSelections(From_Accounting_Month))&amp;lt;=$(=GetFieldSelections(To_Accounting_Month))'}&amp;gt;} Gross_Incr_ITD),'$#,##0'), -FirstSortedValue(TOTAL &amp;lt;DIVISION&amp;gt; Gross_Incr_ITD, ReportingDate)),&lt;/P&gt;&lt;P&gt;num(Sum({&amp;lt;ACCOUNTING_MONTH={'&amp;gt;=$(=GetFieldSelections(From_Accounting_Month))&amp;lt;=$(=GetFieldSelections(To_Accounting_Month))'}&amp;gt;} Gross_Amount),'$#,##0'))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does RangeSum/FirstSortedValue allow GetFieldSelections ? Any alternative expression ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Jun 2017 08:12:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RangeSum-FirstSortedValue-allow-GetFieldSelections/m-p/1347403#M414504</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-10T08:12:13Z</dc:date>
    </item>
    <item>
      <title>Re: RangeSum/FirstSortedValue allow GetFieldSelections ?</title>
      <link>https://community.qlik.com/t5/QlikView/RangeSum-FirstSortedValue-allow-GetFieldSelections/m-p/1347404#M414505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If(Below(TOTAL Only(&lt;STRONG style="color: #ff0000;"&gt;{&amp;lt;ACCOUNTING_MONTH={'&amp;gt;=$(=GetFieldSelections(From_Accounting_Month))&amp;lt;=$(=GetFieldSelections(To_Accounting_Month))'}&amp;gt;}&lt;/STRONG&gt;TempKey)) &amp;lt;&amp;gt; Only(&lt;STRONG style="color: #ff0000; font-size: 13.3333px;"&gt;{&amp;lt;ACCOUNTING_MONTH={'&amp;gt;=$(=GetFieldSelections(From_Accounting_Month))&amp;lt;=$(=GetFieldSelections(To_Accounting_Month))'}&amp;gt;}&lt;/STRONG&gt;TempKey), RangeSum(Sum(&lt;STRONG style="color: #ff0000; font-size: 13.3333px;"&gt;{&amp;lt;ACCOUNTING_MONTH={'&amp;gt;=$(=GetFieldSelections(From_Accounting_Month))&amp;lt;=$(=GetFieldSelections(To_Accounting_Month))'}&amp;gt;}&lt;/STRONG&gt;Gross_Incr_ITD), -FirstSortedValue(&lt;STRONG style="color: #ff0000; font-size: 13.3333px;"&gt;{&amp;lt;ACCOUNTING_MONTH={'&amp;gt;=$(=GetFieldSelections(From_Accounting_Month))&amp;lt;=$(=GetFieldSelections(To_Accounting_Month))'}&amp;gt;}&lt;/STRONG&gt;TOTAL &amp;lt;DIVISION&amp;gt; Gross_Incr_ITD, ReportingDate)), Sum(&lt;STRONG style="color: #ff0000; font-size: 13.3333px;"&gt;{&amp;lt;ACCOUNTING_MONTH={'&amp;gt;=$(=GetFieldSelections(From_Accounting_Month))&amp;lt;=$(=GetFieldSelections(To_Accounting_Month))'}&amp;gt;}&lt;/STRONG&gt;Gross_Amount))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Jun 2017 10:09:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RangeSum-FirstSortedValue-allow-GetFieldSelections/m-p/1347404#M414505</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-06-10T10:09:58Z</dc:date>
    </item>
    <item>
      <title>Re: RangeSum/FirstSortedValue allow GetFieldSelections ?</title>
      <link>https://community.qlik.com/t5/QlikView/RangeSum-FirstSortedValue-allow-GetFieldSelections/m-p/1347405#M414506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;It is not working. I just get NULL values for all columns in single row.&lt;/P&gt;&lt;P&gt;I cannot upload qvw due to environment restrictions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Jun 2017 01:06:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RangeSum-FirstSortedValue-allow-GetFieldSelections/m-p/1347405#M414506</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-11T01:06:47Z</dc:date>
    </item>
    <item>
      <title>Re: RangeSum/FirstSortedValue allow GetFieldSelections ?</title>
      <link>https://community.qlik.com/t5/QlikView/RangeSum-FirstSortedValue-allow-GetFieldSelections/m-p/1347406#M414507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;‌Not working doesn't tell much. Do you have more information as to what is going wrong? May be share a sample file?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Jun 2017 01:09:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RangeSum-FirstSortedValue-allow-GetFieldSelections/m-p/1347406#M414507</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-06-11T01:09:03Z</dc:date>
    </item>
    <item>
      <title>Re: RangeSum/FirstSortedValue allow GetFieldSelections ?</title>
      <link>https://community.qlik.com/t5/QlikView/RangeSum-FirstSortedValue-allow-GetFieldSelections/m-p/1347407#M414508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Screenshot with actual data ( all dimensions) after change.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/166439_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;Earlier I used to get data like below.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/166440_pastedImage_1.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;Couldn't upload any file due to security guidelines.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Jun 2017 01:19:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RangeSum-FirstSortedValue-allow-GetFieldSelections/m-p/1347407#M414508</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-11T01:19:10Z</dc:date>
    </item>
    <item>
      <title>Re: RangeSum/FirstSortedValue allow GetFieldSelections ?</title>
      <link>https://community.qlik.com/t5/QlikView/RangeSum-FirstSortedValue-allow-GetFieldSelections/m-p/1347408#M414509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can't seem to find a reason why this may not be working.... may be someone else can.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Jun 2017 06:53:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RangeSum-FirstSortedValue-allow-GetFieldSelections/m-p/1347408#M414509</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-06-11T06:53:49Z</dc:date>
    </item>
    <item>
      <title>Re: RangeSum/FirstSortedValue allow GetFieldSelections ?</title>
      <link>https://community.qlik.com/t5/QlikView/RangeSum-FirstSortedValue-allow-GetFieldSelections/m-p/1347409#M414510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does RangeSum/firstsortedvalue allow GetFieldSelections ?&lt;/P&gt;&lt;P&gt;Please can you tell if you have used them anytime.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jun 2017 05:35:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RangeSum-FirstSortedValue-allow-GetFieldSelections/m-p/1347409#M414510</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-12T05:35:36Z</dc:date>
    </item>
    <item>
      <title>Re: RangeSum/FirstSortedValue allow GetFieldSelections ?</title>
      <link>https://community.qlik.com/t5/QlikView/RangeSum-FirstSortedValue-allow-GetFieldSelections/m-p/1347410#M414511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I never used them but I don't see why they cannot be used with set analysis.... there is nothing specific to RangeSum or FirstSortedValue which wouldn't allow the use of set analysis within those functions&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jun 2017 11:00:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RangeSum-FirstSortedValue-allow-GetFieldSelections/m-p/1347410#M414511</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-06-12T11:00:20Z</dc:date>
    </item>
  </channel>
</rss>

