<?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: Show only last date data with condition in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Show-only-last-date-data-with-condition/m-p/1185789#M519047</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you post a sample for expected output, it'll be easier to understand.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Sep 2016 12:27:29 GMT</pubDate>
    <dc:creator>vinieme12</dc:creator>
    <dc:date>2016-09-19T12:27:29Z</dc:date>
    <item>
      <title>Show only last date data with condition</title>
      <link>https://community.qlik.com/t5/QlikView/Show-only-last-date-data-with-condition/m-p/1185786#M519044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, please, help, i`m stacked..&lt;/P&gt;&lt;P&gt;I`m trying to create table with all measures for the last day(14/09/16) with condition. I have the table like thew attached. 4 Dimensions&amp;nbsp; -Measure, isAnomally, Date and scor3e. I need to create a table only with the measures and score that on max(date) IsAnomally&amp;lt;&amp;gt;0.&lt;/P&gt;&lt;P&gt;I tried FirstSortedValue(Date,-Date) or &lt;SPAN style="font-size: 13.3333px;"&gt;FirstSortedValue(Measure,-Date)&lt;/SPAN&gt; doesn`t work&lt;/P&gt;&lt;P&gt;if(date=max(date),Measure) doesn`t work &lt;/P&gt;&lt;P&gt;Will be glad to hear your ideas, thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Sep 2016 12:57:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-only-last-date-data-with-condition/m-p/1185786#M519044</guid>
      <dc:creator />
      <dc:date>2016-09-15T12:57:35Z</dc:date>
    </item>
    <item>
      <title>Re: Show only last date data with condition</title>
      <link>https://community.qlik.com/t5/QlikView/Show-only-last-date-data-with-condition/m-p/1185787#M519045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimension&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Measure&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expressions&lt;/P&gt;&lt;P&gt;1) &lt;STRONG&gt;FirstSortedValue({&amp;lt;IsAnomally = {'&amp;lt;&amp;gt;0'}&amp;gt;} Score, -Date)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;2) &lt;STRONG&gt;Date(&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Max({&amp;lt;IsAnomally = {'&amp;lt;&amp;gt;0'}&amp;gt;} Date))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Sep 2016 16:47:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-only-last-date-data-with-condition/m-p/1185787#M519045</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-09-15T16:47:31Z</dc:date>
    </item>
    <item>
      <title>Re: Show only last date data with condition</title>
      <link>https://community.qlik.com/t5/QlikView/Show-only-last-date-data-with-condition/m-p/1185788#M519046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, but unfortunately, it doesn`t work. The result is the last day for each measure when anomaly was &amp;lt;&amp;gt;0. And what i need is the anomaly status of each measure for the 17/09/2016. Smthg like if this measure has ISanomaly&amp;lt;&amp;gt;0&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/137816_Capture.PNG" style="height: 141px; width: 620px;" /&gt; for the last day in the model, then show the score, if it wasn`t anomaly then hide it.&amp;nbsp; I saw that i can use TOTAL, but it seems that with dates it doesn`t work. See the results of your purpose in the attached. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 Sep 2016 08:33:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-only-last-date-data-with-condition/m-p/1185788#M519046</guid>
      <dc:creator />
      <dc:date>2016-09-18T08:33:30Z</dc:date>
    </item>
    <item>
      <title>Re: Show only last date data with condition</title>
      <link>https://community.qlik.com/t5/QlikView/Show-only-last-date-data-with-condition/m-p/1185789#M519047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you post a sample for expected output, it'll be easier to understand.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Sep 2016 12:27:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-only-last-date-data-with-condition/m-p/1185789#M519047</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2016-09-19T12:27:29Z</dc:date>
    </item>
    <item>
      <title>Re: Show only last date data with condition</title>
      <link>https://community.qlik.com/t5/QlikView/Show-only-last-date-data-with-condition/m-p/1185790#M519048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, this is the output that i need &lt;/P&gt;&lt;P&gt;Give me all measures and it`s score with IsAnomally&amp;lt;&amp;gt;0 on the max date (18/09/2016 this day) &lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/138020_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2016 12:56:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-only-last-date-data-with-condition/m-p/1185790#M519048</guid>
      <dc:creator />
      <dc:date>2016-09-20T12:56:31Z</dc:date>
    </item>
    <item>
      <title>Re: Show only last date data with condition</title>
      <link>https://community.qlik.com/t5/QlikView/Show-only-last-date-data-with-condition/m-p/1185791#M519049</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 style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;1) &lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;FirstSortedValue(&lt;SPAN style="color: #0000ff;"&gt;Total&lt;/SPAN&gt; {&amp;lt;IsAnomally = {'&amp;lt;&amp;gt;0'}&amp;gt;} Score, -Date)&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;2) &lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Date(&lt;/STRONG&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Max(&lt;SPAN style="color: #0000ff;"&gt;Total&lt;/SPAN&gt; {&amp;lt;IsAnomally = {'&amp;lt;&amp;gt;0'}&amp;gt;} Date))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2016 13:03:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-only-last-date-data-with-condition/m-p/1185791#M519049</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2016-09-20T13:03:18Z</dc:date>
    </item>
    <item>
      <title>Re: Show only last date data with condition</title>
      <link>https://community.qlik.com/t5/QlikView/Show-only-last-date-data-with-condition/m-p/1185792#M519050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, First One doesn`t work, second one returns correct date, but all measures, not only measures with IsAnomaly&amp;lt;&amp;gt;0.....but, thanks &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2016 15:07:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-only-last-date-data-with-condition/m-p/1185792#M519050</guid>
      <dc:creator />
      <dc:date>2016-09-20T15:07:23Z</dc:date>
    </item>
  </channel>
</rss>

