<?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: Expression not returning the value associated with latest date in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Expression-not-returning-the-value-associated-with-latest-date/m-p/2478027#M100433</link>
    <description>&lt;P&gt;Thank you.&lt;BR /&gt;&lt;BR /&gt;Unfortunately it returns 'Error in expression = {'-'}&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 26 Aug 2024 13:15:12 GMT</pubDate>
    <dc:creator>qlikbbguser</dc:creator>
    <dc:date>2024-08-26T13:15:12Z</dc:date>
    <item>
      <title>Expression not returning the value associated with latest date</title>
      <link>https://community.qlik.com/t5/App-Development/Expression-not-returning-the-value-associated-with-latest-date/m-p/2477896#M100422</link>
      <description>&lt;P&gt;hi all,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;I have this expression hoping to return the 'Sales Revenue' as of latest date (based on the QlikDate field). but it returns the sum of sales revenue for&lt;STRONG&gt; ALL dates&lt;/STRONG&gt; - any clue why?&lt;/P&gt;
&lt;P&gt;the 'QlikDate_short' field is just the 'QlikDate' field converted to date format.&lt;/P&gt;
&lt;P&gt;Example:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;QlikDate = 07/01/2023&lt;/P&gt;
&lt;P&gt;QlikDate_short = 7/1/2023&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="qlikbbguser_0-1724619909826.png" style="width: 465px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/170963i088BE36A64F15A4E/image-dimensions/465x128?v=v2" width="465" height="128" role="button" title="qlikbbguser_0-1724619909826.png" alt="qlikbbguser_0-1724619909826.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 25 Aug 2024 21:11:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Expression-not-returning-the-value-associated-with-latest-date/m-p/2477896#M100422</guid>
      <dc:creator>qlikbbguser</dc:creator>
      <dc:date>2024-08-25T21:11:08Z</dc:date>
    </item>
    <item>
      <title>Re: Expression not returning the value associated with latest date</title>
      <link>https://community.qlik.com/t5/App-Development/Expression-not-returning-the-value-associated-with-latest-date/m-p/2477899#M100423</link>
      <description>&lt;P&gt;change the QlikDate_Short to:&lt;/P&gt;
&lt;P&gt;QlikDate_Short={'$(=date(max(QlikDate), 'M/D/YYYY'))'}&lt;/P&gt;</description>
      <pubDate>Sun, 25 Aug 2024 23:19:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Expression-not-returning-the-value-associated-with-latest-date/m-p/2477899#M100423</guid>
      <dc:creator>Lisa_P</dc:creator>
      <dc:date>2024-08-25T23:19:02Z</dc:date>
    </item>
    <item>
      <title>Re: Expression not returning the value associated with latest date</title>
      <link>https://community.qlik.com/t5/App-Development/Expression-not-returning-the-value-associated-with-latest-date/m-p/2478027#M100433</link>
      <description>&lt;P&gt;Thank you.&lt;BR /&gt;&lt;BR /&gt;Unfortunately it returns 'Error in expression = {'-'}&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Aug 2024 13:15:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Expression-not-returning-the-value-associated-with-latest-date/m-p/2478027#M100433</guid>
      <dc:creator>qlikbbguser</dc:creator>
      <dc:date>2024-08-26T13:15:12Z</dc:date>
    </item>
    <item>
      <title>Re: Expression not returning the value associated with latest date</title>
      <link>https://community.qlik.com/t5/App-Development/Expression-not-returning-the-value-associated-with-latest-date/m-p/2478031#M100436</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It seems QlikDate_Short is not a dimension&lt;/P&gt;
&lt;P&gt;Why not like this :&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;sum(&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;{&amp;lt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;QlikDate&lt;/SPAN&gt;={$(=max({&amp;lt;Source={'SAP - Hist Terminal'}&amp;gt;}&lt;SPAN&gt;QlikDate&lt;/SPAN&gt;))},&lt;/P&gt;
&lt;P&gt;[Metric Name]={'Sales Revenue'},Source={'SAP - Hist Terminal'}&lt;/P&gt;
&lt;P&gt;&amp;gt;}&lt;/P&gt;
&lt;P&gt;Value)&lt;/P&gt;
&lt;P&gt;?&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Nina&lt;/P&gt;</description>
      <pubDate>Mon, 26 Aug 2024 13:34:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Expression-not-returning-the-value-associated-with-latest-date/m-p/2478031#M100436</guid>
      <dc:creator>nina2</dc:creator>
      <dc:date>2024-08-26T13:34:29Z</dc:date>
    </item>
    <item>
      <title>Re: Expression not returning the value associated with latest date</title>
      <link>https://community.qlik.com/t5/App-Development/Expression-not-returning-the-value-associated-with-latest-date/m-p/2478032#M100437</link>
      <description>&lt;P&gt;QlikDate_Short isn't being recognized as a field. Are you sure it's there? It should be colored the same as the other fields in that oddball shade of... fallow? Same as Source, Value, etc. &lt;/P&gt;</description>
      <pubDate>Mon, 26 Aug 2024 13:37:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Expression-not-returning-the-value-associated-with-latest-date/m-p/2478032#M100437</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2024-08-26T13:37:38Z</dc:date>
    </item>
    <item>
      <title>Re: Expression not returning the value associated with latest date</title>
      <link>https://community.qlik.com/t5/App-Development/Expression-not-returning-the-value-associated-with-latest-date/m-p/2478086#M100443</link>
      <description>&lt;P&gt;I think it's just a typo for the field name ..&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;QlikDate_short&amp;nbsp; not&amp;nbsp;QlikDate_Short&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Aug 2024 23:12:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Expression-not-returning-the-value-associated-with-latest-date/m-p/2478086#M100443</guid>
      <dc:creator>Lisa_P</dc:creator>
      <dc:date>2024-08-26T23:12:13Z</dc:date>
    </item>
  </channel>
</rss>

