<?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: Comparing current values with historic audit values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Comparing-current-values-with-historic-audit-values/m-p/516713#M192896</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;UL&gt;&lt;LI&gt;Show all of the projects that had their stage changed to Execute between xx date and xx date&lt;BR /&gt;Two helper variables to hold the start and end date for the search: vStartPeriod, vEndPeriod&lt;BR /&gt;Dimension: Project, Project Name&lt;BR /&gt;Expression: sum({&amp;lt;[Old Value]-={'Execute'},[New Value]={'Execute'},[Changed On]={'&amp;gt;=$(vStartPeriod)&amp;lt;=$(vEndPeriod)'}&amp;gt;}1)&lt;BR /&gt;Notes: &lt;BR /&gt;you can hide the expression in a straight table so only the projects are shown&lt;BR /&gt;make sure the [Changed On] dates are numeric dates, not strings. &lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Show all of the projects that were created this week, this month or between two dates&lt;BR /&gt;Dimension: Project, Project Name&lt;BR /&gt;expression: &lt;BR /&gt;this week: sum({&amp;lt;[Created]={'&amp;gt;=$(=today()-6)&amp;lt;=$(=today())'}&amp;gt;1)&lt;BR /&gt;this month: sum({&amp;lt;[Created]={'&amp;gt;=$(=monthstart(today())&amp;lt;=$(=today())'}&amp;gt;1)&lt;BR /&gt;between two dates: sum({&amp;lt;[Created]={'&amp;gt;=$(vStartPeriod)&amp;lt;=$(vEndPeriod)'}&amp;gt;1)&lt;BR /&gt;Notes:&lt;BR /&gt;Create and use other variables if you want to keep this independant of the change-to-execute chart&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Show the previous value of xx field on xx project&lt;BR /&gt;Dimension: Project, Project Name, [Column Changed]&lt;BR /&gt;expression: firstsortedvalue([Old Value], -[Changed On])&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Show when xx field was last changed or display no change&lt;BR /&gt;Dimension: Project, Project Name, [Column Changed]&lt;BR /&gt;expression: max([Changed On])&lt;BR /&gt;Notes:&lt;BR /&gt;If there is no record for a field for a product in the audit table it's not possible to show that field. Or you first have to make sure that you created records for all fields for all projects in the audit table&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Oct 2013 07:35:06 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2013-10-24T07:35:06Z</dc:date>
    <item>
      <title>Comparing current values with historic audit values</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-current-values-with-historic-audit-values/m-p/516712#M192895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two tables - one contains the current values of a table of projects and the second is an audit table which contains an entry each time a field is change.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Based on these two tables, I need to be able to answer the following types of questions:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Show all of the projects that had their stage changed to Execute between xx date and xx date&lt;/LI&gt;&lt;LI&gt;Show all of the projects that were created this week, this month or between two dates&lt;/LI&gt;&lt;LI&gt;Show the previous value of xx field on xx project&lt;/LI&gt;&lt;LI&gt;Show when xx field was last changed or display no change&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Help please!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;A&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" height="219" style="width: 468px; height: 86px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl23" colspan="2" height="17" width="209"&gt;T1_Current_Project_Table&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl23" height="17"&gt;Project&lt;/TD&gt;&lt;TD class="xl23"&gt;Project Name&lt;/TD&gt;&lt;TD class="xl23"&gt;Project Manager&lt;/TD&gt;&lt;TD class="xl23"&gt;Start Date&lt;/TD&gt;&lt;TD class="xl23"&gt;Finish Date&lt;/TD&gt;&lt;TD class="xl23"&gt;Stage&lt;/TD&gt;&lt;TD class="xl23"&gt;Created&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="17"&gt;P1&lt;/TD&gt;&lt;TD&gt;Alpha&lt;/TD&gt;&lt;TD&gt;Freddy&lt;/TD&gt;&lt;TD align="right" class="xl22"&gt;01/01/2013&lt;/TD&gt;&lt;TD align="right" class="xl22"&gt;26/04/2014&lt;/TD&gt;&lt;TD&gt;Initiate&lt;/TD&gt;&lt;TD align="right" class="xl22"&gt;01/12/2012&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="17"&gt;P2&lt;/TD&gt;&lt;TD&gt;Bravo&lt;/TD&gt;&lt;TD&gt;Eoin&lt;/TD&gt;&lt;TD align="right" class="xl22"&gt;02/01/2013&lt;/TD&gt;&lt;TD align="right" class="xl22"&gt;27/04/2014&lt;/TD&gt;&lt;TD&gt;Plan&lt;/TD&gt;&lt;TD align="right" class="xl22"&gt;02/12/2012&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="17"&gt;P3&lt;/TD&gt;&lt;TD&gt;Charlie&lt;/TD&gt;&lt;TD&gt;Daisy&lt;/TD&gt;&lt;TD align="right" class="xl22"&gt;03/01/2013&lt;/TD&gt;&lt;TD align="right" class="xl22"&gt;28/04/2014&lt;/TD&gt;&lt;TD&gt;Execute&lt;/TD&gt;&lt;TD align="right" class="xl22"&gt;03/12/2012&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="17"&gt;P4&lt;/TD&gt;&lt;TD&gt;Delta&lt;/TD&gt;&lt;TD&gt;Charlie&lt;/TD&gt;&lt;TD align="right" class="xl22"&gt;04/01/2013&lt;/TD&gt;&lt;TD align="right" class="xl22"&gt;29/04/2014&lt;/TD&gt;&lt;TD&gt;Design&lt;/TD&gt;&lt;TD align="right" class="xl22"&gt;04/12/2012&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="17"&gt;P5&lt;/TD&gt;&lt;TD&gt;Echo&lt;/TD&gt;&lt;TD&gt;Betty&lt;/TD&gt;&lt;TD align="right" class="xl22"&gt;05/01/2013&lt;/TD&gt;&lt;TD align="right" class="xl22"&gt;30/04/2014&lt;/TD&gt;&lt;TD&gt;Test&lt;/TD&gt;&lt;TD align="right" class="xl22"&gt;05/12/2012&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="17"&gt;P6&lt;/TD&gt;&lt;TD&gt;Foxtrot&lt;/TD&gt;&lt;TD&gt;Adam&lt;/TD&gt;&lt;TD align="right" class="xl22"&gt;06/01/2013&lt;/TD&gt;&lt;TD align="right" class="xl22"&gt;01/05/2014&lt;/TD&gt;&lt;TD&gt;Initiate&lt;/TD&gt;&lt;TD align="right" class="xl22"&gt;06/12/2012&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 547px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl25" colspan="2" height="17" width="209"&gt;T2_Project_Table_Audit&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl25" height="17"&gt;Column Changed&lt;/TD&gt;&lt;TD class="xl25"&gt;Changed By&lt;/TD&gt;&lt;TD class="xl25"&gt;Changed On&lt;/TD&gt;&lt;TD class="xl25"&gt;Project&lt;/TD&gt;&lt;TD class="xl25"&gt;Old Value&lt;/TD&gt;&lt;TD class="xl25"&gt;New Value&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="17"&gt;Project Manager&lt;/TD&gt;&lt;TD class="xl24"&gt;A.N. Other&lt;/TD&gt;&lt;TD align="right" class="xl26"&gt;19/01/2013 03:14&lt;/TD&gt;&lt;TD&gt;P3&lt;/TD&gt;&lt;TD&gt;Dora&lt;/TD&gt;&lt;TD&gt;Daisy&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="17"&gt;Stage&lt;/TD&gt;&lt;TD class="xl24"&gt;Joe&lt;/TD&gt;&lt;TD align="right" class="xl26"&gt;01/02/2013 08:17&lt;/TD&gt;&lt;TD&gt;P4&lt;/TD&gt;&lt;TD&gt;Initiate&lt;/TD&gt;&lt;TD&gt;Plan&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="17"&gt;Stage&lt;/TD&gt;&lt;TD class="xl24"&gt;Joe&lt;/TD&gt;&lt;TD align="right" class="xl26"&gt;10/04/2013 08:17&lt;/TD&gt;&lt;TD&gt;P4&lt;/TD&gt;&lt;TD&gt;Plan&lt;/TD&gt;&lt;TD&gt;Execute&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Oct 2013 23:11:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-current-values-with-historic-audit-values/m-p/516712#M192895</guid>
      <dc:creator />
      <dc:date>2013-10-23T23:11:09Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing current values with historic audit values</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-current-values-with-historic-audit-values/m-p/516713#M192896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;UL&gt;&lt;LI&gt;Show all of the projects that had their stage changed to Execute between xx date and xx date&lt;BR /&gt;Two helper variables to hold the start and end date for the search: vStartPeriod, vEndPeriod&lt;BR /&gt;Dimension: Project, Project Name&lt;BR /&gt;Expression: sum({&amp;lt;[Old Value]-={'Execute'},[New Value]={'Execute'},[Changed On]={'&amp;gt;=$(vStartPeriod)&amp;lt;=$(vEndPeriod)'}&amp;gt;}1)&lt;BR /&gt;Notes: &lt;BR /&gt;you can hide the expression in a straight table so only the projects are shown&lt;BR /&gt;make sure the [Changed On] dates are numeric dates, not strings. &lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Show all of the projects that were created this week, this month or between two dates&lt;BR /&gt;Dimension: Project, Project Name&lt;BR /&gt;expression: &lt;BR /&gt;this week: sum({&amp;lt;[Created]={'&amp;gt;=$(=today()-6)&amp;lt;=$(=today())'}&amp;gt;1)&lt;BR /&gt;this month: sum({&amp;lt;[Created]={'&amp;gt;=$(=monthstart(today())&amp;lt;=$(=today())'}&amp;gt;1)&lt;BR /&gt;between two dates: sum({&amp;lt;[Created]={'&amp;gt;=$(vStartPeriod)&amp;lt;=$(vEndPeriod)'}&amp;gt;1)&lt;BR /&gt;Notes:&lt;BR /&gt;Create and use other variables if you want to keep this independant of the change-to-execute chart&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Show the previous value of xx field on xx project&lt;BR /&gt;Dimension: Project, Project Name, [Column Changed]&lt;BR /&gt;expression: firstsortedvalue([Old Value], -[Changed On])&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Show when xx field was last changed or display no change&lt;BR /&gt;Dimension: Project, Project Name, [Column Changed]&lt;BR /&gt;expression: max([Changed On])&lt;BR /&gt;Notes:&lt;BR /&gt;If there is no record for a field for a product in the audit table it's not possible to show that field. Or you first have to make sure that you created records for all fields for all projects in the audit table&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Oct 2013 07:35:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-current-values-with-historic-audit-values/m-p/516713#M192896</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-10-24T07:35:06Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing current values with historic audit values</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-current-values-with-historic-audit-values/m-p/516714#M192897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nice, that's the power of set analysis! Kudos.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Oct 2013 07:52:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-current-values-with-historic-audit-values/m-p/516714#M192897</guid>
      <dc:creator>bill_mtc</dc:creator>
      <dc:date>2013-10-24T07:52:03Z</dc:date>
    </item>
  </channel>
</rss>

