<?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: Get latest value from table in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Get-latest-value-from-table/m-p/1446803#M35151</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimension&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Transaktio_taloustieto_item&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FirstSortedValue(DISTINCT Aggr(Sum({&amp;lt;Transaktio_taloustieto_mittari_sarja={'Actual'},Transaktio_taloustieto_item={'Net sales 2018 estimate'}&amp;gt;}Transaktio_talotieto_amount), Transaktio_taloustieto_item, YearMonth), -YearMonth))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Sep 2017 16:32:12 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2017-09-06T16:32:12Z</dc:date>
    <item>
      <title>Get latest value from table</title>
      <link>https://community.qlik.com/t5/App-Development/Get-latest-value-from-table/m-p/1446802#M35150</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 3 columns on a straight table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=YearMonth&lt;/P&gt;&lt;P&gt;=Transaktio_taloustieto_item&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Tahoma, sans-serif; font-size: 11pt;"&gt;=Sum({&amp;lt;Transaktio_taloustieto_mittari_sarja={'Actual'},Transaktio_taloustieto_item={'Net sales 2018 estimate'}&amp;gt;}Transaktio_talotieto_amount)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Tahoma',sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Tahoma',sans-serif;"&gt;This returns to me the following data:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Tahoma',sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Tahoma',sans-serif;"&gt;&lt;IMG alt="sales.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/175757_sales.png" style="height: 182px; width: 620px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Tahoma',sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Tahoma',sans-serif;"&gt;I would like it to return me only the last amount entered ( in this case Nr 1.) My goal is to have this formula added to a chart as a bar that has a yearly dimension. but it should only show the latest value inside that year. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Tahoma',sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Tahoma',sans-serif;"&gt;Any ideas how to accomplish this?&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Tahoma',sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Tahoma',sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Tahoma',sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Sep 2017 16:24:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Get-latest-value-from-table/m-p/1446802#M35150</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-06T16:24:46Z</dc:date>
    </item>
    <item>
      <title>Re: Get latest value from table</title>
      <link>https://community.qlik.com/t5/App-Development/Get-latest-value-from-table/m-p/1446803#M35151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimension&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Transaktio_taloustieto_item&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FirstSortedValue(DISTINCT Aggr(Sum({&amp;lt;Transaktio_taloustieto_mittari_sarja={'Actual'},Transaktio_taloustieto_item={'Net sales 2018 estimate'}&amp;gt;}Transaktio_talotieto_amount), Transaktio_taloustieto_item, YearMonth), -YearMonth))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Sep 2017 16:32:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Get-latest-value-from-table/m-p/1446803#M35151</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-09-06T16:32:12Z</dc:date>
    </item>
    <item>
      <title>Re: Get latest value from table</title>
      <link>https://community.qlik.com/t5/App-Development/Get-latest-value-from-table/m-p/1446804#M35152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works when the dimenstion is set to &lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Transaktio_taloustieto_item.&lt;/STRONG&gt; But im using a combo chart, and the only dimension is&amp;nbsp; Year. Can you think of any way how to get it working in a combo chart, so that it would show the last value entered ? &lt;/P&gt;&lt;P&gt;Example: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If 2016 Q1=1, q2=4, Q3=3, Q4= empty, it should show 3 as for the year 2016 value. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Sep 2017 16:50:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Get-latest-value-from-table/m-p/1446804#M35152</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-06T16:50:44Z</dc:date>
    </item>
  </channel>
</rss>

