<?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: Set the most recent date as a default in Chart unless other data is selected in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-the-most-recent-date-as-a-default-in-Chart-unless-other-data/m-p/1722817#M591209</link>
    <description>&lt;P&gt;This works EXACTLY how I wanted it. Thank you so much!!!&lt;/P&gt;</description>
    <pubDate>Sat, 27 Jun 2020 17:43:28 GMT</pubDate>
    <dc:creator>DataAnalytics</dc:creator>
    <dc:date>2020-06-27T17:43:28Z</dc:date>
    <item>
      <title>Set the most recent date as a default in Chart unless other data is selected</title>
      <link>https://community.qlik.com/t5/QlikView/Set-the-most-recent-date-as-a-default-in-Chart-unless-other-data/m-p/1722717#M591203</link>
      <description>&lt;P&gt;I am looking to create a pie chart that would show SUM of each category (attached Excel file) for the most current date (as a default). I can not use set analysis, because I also need an option to filter different dates. I am not having luck with it, when I create a pie chart, I get SUM of all values and I can not get the expression right to show only the most current date. I used max(date) function but without any results. Please let me know if you have any ideas &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jun 2020 19:15:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-the-most-recent-date-as-a-default-in-Chart-unless-other-data/m-p/1722717#M591203</guid>
      <dc:creator>DataAnalytics</dc:creator>
      <dc:date>2020-06-26T19:15:18Z</dc:date>
    </item>
    <item>
      <title>Re: Set the most recent date as a default in Chart unless other data is selected</title>
      <link>https://community.qlik.com/t5/QlikView/Set-the-most-recent-date-as-a-default-in-Chart-unless-other-data/m-p/1722766#M591204</link>
      <description>&lt;P&gt;Are you looking something like this?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;tab1:
LOAD * INLINE [
    Date, Category, Items
    6/24/2020, A, 4
    6/24/2020, B, 9
    6/24/2020, C, 7
    6/24/2020, D, 2
    6/25/2020, A, 6
    6/25/2020, B, 4
    6/25/2020, C, 8
    6/25/2020, D, 2
    6/26/2020, A, 9
    6/26/2020, B, 7
    6/26/2020, C, 5
    6/26/2020, D, 2
];

Left Join(tab1)
LOAD Max(Date) As Max_Date
Resident tab1;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 27 Jun 2020 00:09:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-the-most-recent-date-as-a-default-in-Chart-unless-other-data/m-p/1722766#M591204</guid>
      <dc:creator>Saravanan_Desingh</dc:creator>
      <dc:date>2020-06-27T00:09:46Z</dc:date>
    </item>
    <item>
      <title>Re: Set the most recent date as a default in Chart unless other data is selected</title>
      <link>https://community.qlik.com/t5/QlikView/Set-the-most-recent-date-as-a-default-in-Chart-unless-other-data/m-p/1722768#M591205</link>
      <description>&lt;P&gt;Dimension: Category&lt;/P&gt;&lt;P&gt;Expression with out Set Analysis:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Sum(if(Date=Max_Date,Items))&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="commQV88.PNG" style="width: 456px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/36401iC967248098D35C89/image-size/large?v=v2&amp;amp;px=999" role="button" title="commQV88.PNG" alt="commQV88.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 27 Jun 2020 00:11:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-the-most-recent-date-as-a-default-in-Chart-unless-other-data/m-p/1722768#M591205</guid>
      <dc:creator>Saravanan_Desingh</dc:creator>
      <dc:date>2020-06-27T00:11:12Z</dc:date>
    </item>
    <item>
      <title>Re: Set the most recent date as a default in Chart unless other data is selected</title>
      <link>https://community.qlik.com/t5/QlikView/Set-the-most-recent-date-as-a-default-in-Chart-unless-other-data/m-p/1722797#M591206</link>
      <description>&lt;P&gt;Thank you for your reply, but this does not solve the problem. I need to be able to select another date as seen in the picture. This solutions shows only the most current date...When I delete the left join from the script and change the expression to Sum(Items), I get a whole summary. But I would like it to show the most current data and also have the option to select another week's data.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DataAnalytics_0-1593260507287.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/36407i8BC94403D9C21623/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DataAnalytics_0-1593260507287.png" alt="DataAnalytics_0-1593260507287.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 27 Jun 2020 12:26:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-the-most-recent-date-as-a-default-in-Chart-unless-other-data/m-p/1722797#M591206</guid>
      <dc:creator>DataAnalytics</dc:creator>
      <dc:date>2020-06-27T12:26:20Z</dc:date>
    </item>
    <item>
      <title>Re: Set the most recent date as a default in Chart unless other data is selected</title>
      <link>https://community.qlik.com/t5/QlikView/Set-the-most-recent-date-as-a-default-in-Chart-unless-other-data/m-p/1722806#M591207</link>
      <description>&lt;P&gt;So, when there is no selection to Date, the Max Date has to be selected. Otherwise the Selected Date should be displayed.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;tab1:
LOAD * INLINE [
    Date, Category, Items
    6/24/2020, A, 4
    6/24/2020, B, 9
    6/24/2020, C, 7
    6/24/2020, D, 2
    6/25/2020, A, 6
    6/25/2020, B, 4
    6/25/2020, C, 8
    6/25/2020, D, 2
    6/26/2020, A, 9
    6/26/2020, B, 7
    6/26/2020, C, 5
    6/26/2020, D, 2
];

tab2:
LOAD Max(Date) As Max_Date
Resident tab1;

Let vMaxDt=Peek('Max_Date');

Drop Table tab2;&lt;/LI-CODE&gt;</description>
      <pubDate>Sat, 27 Jun 2020 14:50:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-the-most-recent-date-as-a-default-in-Chart-unless-other-data/m-p/1722806#M591207</guid>
      <dc:creator>Saravanan_Desingh</dc:creator>
      <dc:date>2020-06-27T14:50:59Z</dc:date>
    </item>
    <item>
      <title>Re: Set the most recent date as a default in Chart unless other data is selected</title>
      <link>https://community.qlik.com/t5/QlikView/Set-the-most-recent-date-as-a-default-in-Chart-unless-other-data/m-p/1722808#M591208</link>
      <description>&lt;P&gt;Expression:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Sum(If(Date=If(GetFieldSelections(Date),GetFieldSelections(Date),vMaxDt),Items))&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="commQV93.PNG" style="width: 660px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/36411i29537A95CAD0A579/image-size/large?v=v2&amp;amp;px=999" role="button" title="commQV93.PNG" alt="commQV93.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 27 Jun 2020 14:52:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-the-most-recent-date-as-a-default-in-Chart-unless-other-data/m-p/1722808#M591208</guid>
      <dc:creator>Saravanan_Desingh</dc:creator>
      <dc:date>2020-06-27T14:52:23Z</dc:date>
    </item>
    <item>
      <title>Re: Set the most recent date as a default in Chart unless other data is selected</title>
      <link>https://community.qlik.com/t5/QlikView/Set-the-most-recent-date-as-a-default-in-Chart-unless-other-data/m-p/1722817#M591209</link>
      <description>&lt;P&gt;This works EXACTLY how I wanted it. Thank you so much!!!&lt;/P&gt;</description>
      <pubDate>Sat, 27 Jun 2020 17:43:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-the-most-recent-date-as-a-default-in-Chart-unless-other-data/m-p/1722817#M591209</guid>
      <dc:creator>DataAnalytics</dc:creator>
      <dc:date>2020-06-27T17:43:28Z</dc:date>
    </item>
    <item>
      <title>Re: Set the most recent date as a default in Chart unless other data is selected</title>
      <link>https://community.qlik.com/t5/QlikView/Set-the-most-recent-date-as-a-default-in-Chart-unless-other-data/m-p/1722818#M591210</link>
      <description>&lt;P&gt;Please mark the solution if answered.&lt;/P&gt;</description>
      <pubDate>Sat, 27 Jun 2020 18:01:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-the-most-recent-date-as-a-default-in-Chart-unless-other-data/m-p/1722818#M591210</guid>
      <dc:creator>Saravanan_Desingh</dc:creator>
      <dc:date>2020-06-27T18:01:49Z</dc:date>
    </item>
  </channel>
</rss>

