<?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 Limiting Chart to show only data at most recent date in data table. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Limiting-Chart-to-show-only-data-at-most-recent-date-in-data/m-p/610048#M1104764</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there any way I can limit a chart to only show the data in the current date (date provided on my computer)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have accumulated data is time stamped each day. Right now, my chart is adding all the data together but I only need to pull the data from the most recent date in my data table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is my script. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Main Data]:&lt;/P&gt;&lt;P&gt;LOAD [Country Name],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Country Code],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Sync State],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Count,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Creation Date/Time],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Timestamp#(date(date#(mid([Creation Date/Time], 1, 16), 'YYYY/MM/DD hh:mm'), 'YYYY')) as Year,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Timestamp#(date(date#(mid([Creation Date/Time], 1, 16), 'YYYY/MM/DD hh:mm'), 'MMM')) as Month,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Timestamp#(date(date#(mid([Creation Date/Time], 1, 16), 'YYYY/MM/DD hh:mm'), 'DD')) as Day,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Timestamp#(date(date#(mid([Creation Date/Time], 1, 16), 'YYYY/MM/DD hh:mm'), 'MMM/DD')) as MonthDay&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 23 Mar 2014 01:11:42 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-03-23T01:11:42Z</dc:date>
    <item>
      <title>Limiting Chart to show only data at most recent date in data table.</title>
      <link>https://community.qlik.com/t5/QlikView/Limiting-Chart-to-show-only-data-at-most-recent-date-in-data/m-p/610048#M1104764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there any way I can limit a chart to only show the data in the current date (date provided on my computer)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have accumulated data is time stamped each day. Right now, my chart is adding all the data together but I only need to pull the data from the most recent date in my data table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is my script. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Main Data]:&lt;/P&gt;&lt;P&gt;LOAD [Country Name],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Country Code],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Sync State],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Count,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Creation Date/Time],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Timestamp#(date(date#(mid([Creation Date/Time], 1, 16), 'YYYY/MM/DD hh:mm'), 'YYYY')) as Year,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Timestamp#(date(date#(mid([Creation Date/Time], 1, 16), 'YYYY/MM/DD hh:mm'), 'MMM')) as Month,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Timestamp#(date(date#(mid([Creation Date/Time], 1, 16), 'YYYY/MM/DD hh:mm'), 'DD')) as Day,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Timestamp#(date(date#(mid([Creation Date/Time], 1, 16), 'YYYY/MM/DD hh:mm'), 'MMM/DD')) as MonthDay&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Mar 2014 01:11:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Limiting-Chart-to-show-only-data-at-most-recent-date-in-data/m-p/610048#M1104764</guid>
      <dc:creator />
      <dc:date>2014-03-23T01:11:42Z</dc:date>
    </item>
    <item>
      <title>Re: Limiting Chart to show only data at most recent date in data table.</title>
      <link>https://community.qlik.com/t5/QlikView/Limiting-Chart-to-show-only-data-at-most-recent-date-in-data/m-p/610049#M1104766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;add&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13955404227288373" jivemacro_uid="_13955404227288373"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;date(date#(left([Creation Date/Time], 10), 'YYYY/MM/DD'), '&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;YYYY/MM/DD&lt;/SPAN&gt;') as CreationDate&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10pt; line-height: 1.5em;"&gt;to your load script&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;and add the set expression&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13955403696051552" jivemacro_uid="_13955403696051552"&gt;{$&amp;lt;CreationDate={'$(=date(now(),'YYYY/MM/DD'))'}&amp;gt;}&lt;/PRE&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;to your expressions&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;IMG alt="QlikCommunity_Thread_111594_Pic1.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/55629_QlikCommunity_Thread_111594_Pic1.JPG.jpg" style="width: 620px; height: 351px;" /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Marco&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Mar 2014 01:45:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Limiting-Chart-to-show-only-data-at-most-recent-date-in-data/m-p/610049#M1104766</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2014-03-23T01:45:46Z</dc:date>
    </item>
    <item>
      <title>Re: Limiting Chart to show only data at most recent date in data table.</title>
      <link>https://community.qlik.com/t5/QlikView/Limiting-Chart-to-show-only-data-at-most-recent-date-in-data/m-p/610050#M1104769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you. The only Definition I have is: sum(if([Migration State]='Attempted',Count))/1000000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where do I add the below expression exactly? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px;"&gt;{$&amp;lt;CreationDate={$(=date(now(),'YYYY/MM/DD'))}&amp;gt;} &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Mar 2014 01:52:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Limiting-Chart-to-show-only-data-at-most-recent-date-in-data/m-p/610050#M1104769</guid>
      <dc:creator />
      <dc:date>2014-03-23T01:52:01Z</dc:date>
    </item>
    <item>
      <title>Re: Limiting Chart to show only data at most recent date in data table.</title>
      <link>https://community.qlik.com/t5/QlikView/Limiting-Chart-to-show-only-data-at-most-recent-date-in-data/m-p/610051#M1104772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;sum(&lt;SPAN style="color: #000000; font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px;"&gt;{$&amp;lt;CreationDate={'$(=date(now(),'YYYY/MM/DD'))'}, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;[Migration State]={'Attempted'}&lt;/SPAN&gt;&amp;gt;}&lt;/SPAN&gt;&amp;nbsp; Count)/1000000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;instead of&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;sum(if([Migration State]='Attempted',Count))/1000000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Marco&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Mar 2014 02:10:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Limiting-Chart-to-show-only-data-at-most-recent-date-in-data/m-p/610051#M1104772</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2014-03-23T02:10:43Z</dc:date>
    </item>
    <item>
      <title>Re: Limiting Chart to show only data at most recent date in data table.</title>
      <link>https://community.qlik.com/t5/QlikView/Limiting-Chart-to-show-only-data-at-most-recent-date-in-data/m-p/610052#M1104774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm sorry. This didn't work...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No values are appearing when paste this into my expression. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Mar 2014 22:48:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Limiting-Chart-to-show-only-data-at-most-recent-date-in-data/m-p/610052#M1104774</guid>
      <dc:creator />
      <dc:date>2014-03-23T22:48:37Z</dc:date>
    </item>
    <item>
      <title>Re: Limiting Chart to show only data at most recent date in data table.</title>
      <link>https://community.qlik.com/t5/QlikView/Limiting-Chart-to-show-only-data-at-most-recent-date-in-data/m-p/610053#M1104776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The formula doesn't have to be today's date (timestamp on computer) but just ensuring it's only taking data from the latest available date from the data (since the data is always cumulative). &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Mar 2014 22:52:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Limiting-Chart-to-show-only-data-at-most-recent-date-in-data/m-p/610053#M1104776</guid>
      <dc:creator />
      <dc:date>2014-03-23T22:52:55Z</dc:date>
    </item>
  </channel>
</rss>

