<?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 Date subtraction in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Date-subtraction/m-p/1550772#M40103</link>
    <description>&lt;P&gt;=if(Dimensionality()=max(Dimensionality()),&lt;/P&gt;&lt;P&gt;if(Count({&amp;lt;[Transactions.Txn Type]={"Invoice"},Transactions.Pending={0},[Transactions.Txn Date]={"&amp;gt;=$(=YearStart(vDate))"}&amp;gt;} DISTINCT [Transactions.Txn ID])&amp;gt;0,&lt;/P&gt;&lt;P&gt;If(Count({&amp;lt;[Transactions.Txn Type]={"Invoice"},Transactions.Pending={0},[Transactions.Txn Date]={"&amp;lt;=$(=YearEnd(vDate,-1))"}&amp;gt;}&lt;BR /&gt;DISTINCT [Transactions.Txn ID])=0,&lt;BR /&gt;&lt;BR /&gt;'New',&lt;BR /&gt;&lt;BR /&gt;'Current'),&lt;BR /&gt;&lt;BR /&gt;if(Count({&amp;lt;[Transactions.Txn Type]={"Invoice"},Transactions.Pending={0},[Transactions.Txn Date]={"&amp;lt;=$(=YearEnd(vDate,-1))"} &amp;gt;}&lt;BR /&gt;DISTINCT [Transactions.Txn ID])&amp;gt;0,&lt;BR /&gt;&lt;BR /&gt;'Lost',&lt;BR /&gt;&lt;BR /&gt;'Never Ordered')))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the enclosed Formula I have been able see if the Year Value is less by 1 year, but what i really want is to see if the change in one year by date not year from the transaction date so so 3/28/2018 to make sure it is 3/30/2017 is still Under year were 3/27/2017 is not.&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 21:19:29 GMT</pubDate>
    <dc:creator>MarkTash</dc:creator>
    <dc:date>2024-11-16T21:19:29Z</dc:date>
    <item>
      <title>Date subtraction</title>
      <link>https://community.qlik.com/t5/App-Development/Date-subtraction/m-p/1550772#M40103</link>
      <description>&lt;P&gt;=if(Dimensionality()=max(Dimensionality()),&lt;/P&gt;&lt;P&gt;if(Count({&amp;lt;[Transactions.Txn Type]={"Invoice"},Transactions.Pending={0},[Transactions.Txn Date]={"&amp;gt;=$(=YearStart(vDate))"}&amp;gt;} DISTINCT [Transactions.Txn ID])&amp;gt;0,&lt;/P&gt;&lt;P&gt;If(Count({&amp;lt;[Transactions.Txn Type]={"Invoice"},Transactions.Pending={0},[Transactions.Txn Date]={"&amp;lt;=$(=YearEnd(vDate,-1))"}&amp;gt;}&lt;BR /&gt;DISTINCT [Transactions.Txn ID])=0,&lt;BR /&gt;&lt;BR /&gt;'New',&lt;BR /&gt;&lt;BR /&gt;'Current'),&lt;BR /&gt;&lt;BR /&gt;if(Count({&amp;lt;[Transactions.Txn Type]={"Invoice"},Transactions.Pending={0},[Transactions.Txn Date]={"&amp;lt;=$(=YearEnd(vDate,-1))"} &amp;gt;}&lt;BR /&gt;DISTINCT [Transactions.Txn ID])&amp;gt;0,&lt;BR /&gt;&lt;BR /&gt;'Lost',&lt;BR /&gt;&lt;BR /&gt;'Never Ordered')))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the enclosed Formula I have been able see if the Year Value is less by 1 year, but what i really want is to see if the change in one year by date not year from the transaction date so so 3/28/2018 to make sure it is 3/30/2017 is still Under year were 3/27/2017 is not.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 21:19:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-subtraction/m-p/1550772#M40103</guid>
      <dc:creator>MarkTash</dc:creator>
      <dc:date>2024-11-16T21:19:29Z</dc:date>
    </item>
  </channel>
</rss>

