<?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 Help with chart expression - need max effective date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-with-chart-expression-need-max-effective-date/m-p/549765#M555192</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a chart where I have &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: blue; font-size: 9pt;"&gt;Max&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: maroon; font-size: 9pt;"&gt;End_Time&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black; font-size: 9pt;"&gt;)-&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: blue; font-size: 9pt;"&gt;Min&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: maroon; font-size: 9pt;"&gt;Start_Time&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black; font-size: 9pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as the expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I’ve attached an image below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need this chart to ignore selections in the document and always display the chart based on the max effective date.&amp;nbsp; I have list boxes set up using the effective date so users can select dates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this possible?&amp;nbsp; I know that you would usually include a 1 identifier in your set analysis to achieve this but I’m not clear on how to include this in my chart expression since I’m not aggregating anything.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, would a better approach be to create a standalone table to hold the latest data? I’m not sure how to do this but this was a suggestion I received.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for any help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="44863" class="jive-image-thumbnail jive-image" height="211" onclick="" alt="Untitled.png" src="https://community.qlik.com/legacyfs/online/44863_Untitled.png" width="650" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Aug 2013 15:48:43 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-08-01T15:48:43Z</dc:date>
    <item>
      <title>Help with chart expression - need max effective date</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-chart-expression-need-max-effective-date/m-p/549765#M555192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a chart where I have &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: blue; font-size: 9pt;"&gt;Max&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: maroon; font-size: 9pt;"&gt;End_Time&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black; font-size: 9pt;"&gt;)-&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: blue; font-size: 9pt;"&gt;Min&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: maroon; font-size: 9pt;"&gt;Start_Time&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black; font-size: 9pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as the expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I’ve attached an image below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need this chart to ignore selections in the document and always display the chart based on the max effective date.&amp;nbsp; I have list boxes set up using the effective date so users can select dates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this possible?&amp;nbsp; I know that you would usually include a 1 identifier in your set analysis to achieve this but I’m not clear on how to include this in my chart expression since I’m not aggregating anything.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, would a better approach be to create a standalone table to hold the latest data? I’m not sure how to do this but this was a suggestion I received.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for any help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="44863" class="jive-image-thumbnail jive-image" height="211" onclick="" alt="Untitled.png" src="https://community.qlik.com/legacyfs/online/44863_Untitled.png" width="650" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Aug 2013 15:48:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-chart-expression-need-max-effective-date/m-p/549765#M555192</guid>
      <dc:creator />
      <dc:date>2013-08-01T15:48:43Z</dc:date>
    </item>
    <item>
      <title>Re: Help with chart expression - need max effective date</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-chart-expression-need-max-effective-date/m-p/549766#M555193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This expression will ignore all selections:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: blue;"&gt;Max&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;({1}&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: maroon;"&gt;End_Time&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;)-&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: blue;"&gt;Min&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;({1}&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: maroon;"&gt;Start_Time&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to ignore selections in specific fields you can use something like this:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: blue;"&gt;Max&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;({&amp;lt;MyField1=, MyField2=&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: maroon;"&gt;End_Time&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;)-&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: blue;"&gt;Min&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;(&lt;SPAN style="color: #000000; font-family: Arial, sans-serif; font-size: 12px;"&gt;{&amp;lt;MyField1=, MyField2=&amp;gt;}&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: maroon;"&gt;Start_Time&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Just add any fields you need in a list separated by commas&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Aug 2013 17:08:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-chart-expression-need-max-effective-date/m-p/549766#M555193</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-08-01T17:08:16Z</dc:date>
    </item>
    <item>
      <title>Re: Help with chart expression - need max effective date</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-chart-expression-need-max-effective-date/m-p/549767#M555194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your response.&amp;nbsp; I think using MaxEffDate might be a better approach.&amp;nbsp; I need the chart to show all jobs (dimension) with their duration (expression &lt;SPAN style="font-family: 'Arial','sans-serif'; color: blue; font-size: 9pt;"&gt;Max&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: maroon; font-size: 9pt;"&gt;End_Time&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black; font-size: 9pt;"&gt;)-&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: blue; font-size: 9pt;"&gt;Min&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: maroon; font-size: 9pt;"&gt;Start_Time&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black; font-size: 9pt;"&gt;) &lt;/SPAN&gt;).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, the expression needs to display the duration only for the MaxEffDate.&amp;nbsp; I’m not sure how to add the MaxEffDate to my expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Aug 2013 18:02:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-chart-expression-need-max-effective-date/m-p/549767#M555194</guid>
      <dc:creator />
      <dc:date>2013-08-01T18:02:13Z</dc:date>
    </item>
  </channel>
</rss>

