<?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 Problem in displaying the same value between date ranges. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-in-displaying-the-same-value-between-date-ranges/m-p/244627#M93280</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a database in which records are stored when there occur any changes in the field. So, there is a field called Effective_Date in which the dates are stored and then corresponding changed records are stored. This date field only contains date's on which any changes has been made. When I link this to the calender , I won't have the data for the dates other then that on the Effective_date field. &lt;/P&gt;&lt;P&gt;So, if any field in the database changes on Jan 1 and it remained until Jan 31 and then some changes occurs in the field on Feb 1, so Is there a way I can get the same values when I click on any date in my calender between Jan 1 to Jan 31 ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks. Any help would be appreciated. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Sep 2011 17:06:40 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-09-07T17:06:40Z</dc:date>
    <item>
      <title>Problem in displaying the same value between date ranges.</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-in-displaying-the-same-value-between-date-ranges/m-p/244627#M93280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a database in which records are stored when there occur any changes in the field. So, there is a field called Effective_Date in which the dates are stored and then corresponding changed records are stored. This date field only contains date's on which any changes has been made. When I link this to the calender , I won't have the data for the dates other then that on the Effective_date field. &lt;/P&gt;&lt;P&gt;So, if any field in the database changes on Jan 1 and it remained until Jan 31 and then some changes occurs in the field on Feb 1, so Is there a way I can get the same values when I click on any date in my calender between Jan 1 to Jan 31 ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks. Any help would be appreciated. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2011 17:06:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-in-displaying-the-same-value-between-date-ranges/m-p/244627#M93280</guid>
      <dc:creator />
      <dc:date>2011-09-07T17:06:40Z</dc:date>
    </item>
    <item>
      <title>Problem in displaying the same value between date ranges.</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-in-displaying-the-same-value-between-date-ranges/m-p/244628#M93281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you need to show those values in a Chart expression, perhaps you could use FirstSortedValue with a set analysis condition to alter the Date selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, adduming that the calendar date field is called Date, and the user can select a single Date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, you can use something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=FirstSortedValue( {&amp;lt;Date={"&amp;lt;=only(Date)"}&amp;gt;} Field, Date*-1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The set analysis makes all the dates before the selected Date available, and the FirstSortedValue picks the last available value sorted by the Date, descending (hence multiplying by -1).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I haven't tested the syntax, but it should work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Oleg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2011 19:11:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-in-displaying-the-same-value-between-date-ranges/m-p/244628#M93281</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2011-09-07T19:11:53Z</dc:date>
    </item>
  </channel>
</rss>

