<?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 Comparing a field across dates - Identify any changes in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Comparing-a-field-across-dates-Identify-any-changes/m-p/1029256#M643214</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I am trying to perform 3 steps, which are as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.) Use an expression to list all items in a field that existed for date 1 and also for date 2.&amp;nbsp; (If a record was present for one date but not the other, I want it excluded).&amp;nbsp; Here is how I attempted this as a reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=avg({$&amp;lt;Date1={'41275'},[Primary SecID] = p({$&amp;lt;Date1={'42360'}&amp;gt;}[Primary SecID])&amp;gt;}[iRisk Average Life])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.) &lt;SPAN style="font-size: 13.3333px;"&gt;Use an expression to list all items in a field that existed for date 2 and also for date 1.&amp;nbsp; (If a record was present for one date but not the other, I want it excluded).&amp;nbsp; Here is how I attempted this as a reference.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;At this point, I would have one column with all my date 1 values and another with all date 2 values based on the primary key, which is [Primary SecID].&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;3.) I want to compare the results from step 1 and 2 below to identify any changes that occurred between the dates.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;*The field I am comparing is [iRisk Average Life] and the dates are '41275' and '42360'.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Please let me know if this makes sense and if you are able to help.&amp;nbsp; Thank you!&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Jan 2016 16:00:23 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-01-05T16:00:23Z</dc:date>
    <item>
      <title>Comparing a field across dates - Identify any changes</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-a-field-across-dates-Identify-any-changes/m-p/1029256#M643214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I am trying to perform 3 steps, which are as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.) Use an expression to list all items in a field that existed for date 1 and also for date 2.&amp;nbsp; (If a record was present for one date but not the other, I want it excluded).&amp;nbsp; Here is how I attempted this as a reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=avg({$&amp;lt;Date1={'41275'},[Primary SecID] = p({$&amp;lt;Date1={'42360'}&amp;gt;}[Primary SecID])&amp;gt;}[iRisk Average Life])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.) &lt;SPAN style="font-size: 13.3333px;"&gt;Use an expression to list all items in a field that existed for date 2 and also for date 1.&amp;nbsp; (If a record was present for one date but not the other, I want it excluded).&amp;nbsp; Here is how I attempted this as a reference.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;At this point, I would have one column with all my date 1 values and another with all date 2 values based on the primary key, which is [Primary SecID].&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;3.) I want to compare the results from step 1 and 2 below to identify any changes that occurred between the dates.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;*The field I am comparing is [iRisk Average Life] and the dates are '41275' and '42360'.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Please let me know if this makes sense and if you are able to help.&amp;nbsp; Thank you!&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jan 2016 16:00:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-a-field-across-dates-Identify-any-changes/m-p/1029256#M643214</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-05T16:00:23Z</dc:date>
    </item>
  </channel>
</rss>

