<?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 Show only Current Month Data in Charts in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Show-only-Current-Month-Data-in-Charts/m-p/1768363#M454440</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I have data for multiple months and My script looks like below. I need to have all the month data in some charts and only latest month data few charts. How do I filter charts with only latest month data. (my latest month is previous month which as on date will be Nov 2020)&lt;/P&gt;&lt;P&gt;FXVOls:&lt;BR /&gt;LOAD&lt;BR /&gt;Status,&lt;BR /&gt;Product,&lt;BR /&gt;[Last Amend Date],&lt;BR /&gt;[Trading_Entity],&lt;BR /&gt;Date(Date#(mid(FileName(),46,2)&amp;amp;'/'&amp;amp;mid(FileName(),42,4),'MM/YYYY'),'MMM-YYYY') as Year _Month,&lt;BR /&gt;FROM&lt;BR /&gt;$(file)&lt;BR /&gt;(txt, codepage is 1252, embedded labels, delimiter is ',', msq);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 14 Dec 2020 17:56:17 GMT</pubDate>
    <dc:creator>arpita</dc:creator>
    <dc:date>2020-12-14T17:56:17Z</dc:date>
    <item>
      <title>Show only Current Month Data in Charts</title>
      <link>https://community.qlik.com/t5/QlikView/Show-only-Current-Month-Data-in-Charts/m-p/1768363#M454440</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I have data for multiple months and My script looks like below. I need to have all the month data in some charts and only latest month data few charts. How do I filter charts with only latest month data. (my latest month is previous month which as on date will be Nov 2020)&lt;/P&gt;&lt;P&gt;FXVOls:&lt;BR /&gt;LOAD&lt;BR /&gt;Status,&lt;BR /&gt;Product,&lt;BR /&gt;[Last Amend Date],&lt;BR /&gt;[Trading_Entity],&lt;BR /&gt;Date(Date#(mid(FileName(),46,2)&amp;amp;'/'&amp;amp;mid(FileName(),42,4),'MM/YYYY'),'MMM-YYYY') as Year _Month,&lt;BR /&gt;FROM&lt;BR /&gt;$(file)&lt;BR /&gt;(txt, codepage is 1252, embedded labels, delimiter is ',', msq);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Dec 2020 17:56:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-only-Current-Month-Data-in-Charts/m-p/1768363#M454440</guid>
      <dc:creator>arpita</dc:creator>
      <dc:date>2020-12-14T17:56:17Z</dc:date>
    </item>
    <item>
      <title>Re: Show only Current Month Data in Charts</title>
      <link>https://community.qlik.com/t5/QlikView/Show-only-Current-Month-Data-in-Charts/m-p/1768410#M454445</link>
      <description>&lt;P&gt;I would create a variable on the front-end named vLatestMonth and set it to equal the following expression:&lt;BR /&gt;=maxstring(Year_Month)&lt;BR /&gt;&lt;BR /&gt;Then in your expressions/measures for the charts you only want to show latest month, you would add logic to the set analysis like the following:&lt;BR /&gt;sum({&amp;lt;Year_Month={'$(vLatestMonth)'}&amp;gt;}Sales)&lt;/P&gt;</description>
      <pubDate>Mon, 14 Dec 2020 22:42:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-only-Current-Month-Data-in-Charts/m-p/1768410#M454445</guid>
      <dc:creator>Nicole-Smith</dc:creator>
      <dc:date>2020-12-14T22:42:43Z</dc:date>
    </item>
  </channel>
</rss>

