<?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: Annual gift upgrade and downgrade in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Annual-gift-upgrade-and-downgrade/m-p/1961784#M79289</link>
    <description>&lt;P&gt;in other words you have a measure that changes with the date and you want to compare YTD and prior YTD.&lt;/P&gt;
&lt;P&gt;it is the same pattern as this one:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/New-to-Qlik-Sense/how-to-calculate-previous-year-sales-till-current-year-same/td-p/1960635" target="_blank" rel="noopener"&gt;https://community.qlik.com/t5/New-to-Qlik-Sense/how-to-calculate-previous-year-sales-till-current-year-same/td-p/1960635&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;simple way is to calculate the date boundaries:&lt;BR /&gt;today's date (this can be dynamic but for illustration purposes stay with today's date)&lt;BR /&gt;start of the year&lt;/P&gt;
&lt;P&gt;today's date shifted one year back - you can just add -1 year&lt;BR /&gt;start of year of today's date shifted one year back (similar calculation -1 year)&lt;BR /&gt;&lt;BR /&gt;then you frame your expressions using those 4 dates:&lt;/P&gt;
&lt;P&gt;YTD = your measure with the set analysis dates &amp;gt;=start of year &amp;lt;=today's date&lt;/P&gt;
&lt;P&gt;PTD =&amp;nbsp;your measure with the set analysis dates &amp;gt;=start of year last year &amp;lt;=today's date shifted last year&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 28 Jul 2022 13:31:12 GMT</pubDate>
    <dc:creator>edwin</dc:creator>
    <dc:date>2022-07-28T13:31:12Z</dc:date>
    <item>
      <title>Annual gift upgrade and downgrade</title>
      <link>https://community.qlik.com/t5/App-Development/Annual-gift-upgrade-and-downgrade/m-p/1961551#M79252</link>
      <description>&lt;P&gt;Dear Community,&lt;/P&gt;
&lt;P&gt;how can I calculate annual gift upgrade and downgrade?&lt;/P&gt;
&lt;P&gt;Thank you for your time&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2022 07:18:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Annual-gift-upgrade-and-downgrade/m-p/1961551#M79252</guid>
      <dc:creator>MarcoGemini11</dc:creator>
      <dc:date>2022-07-28T07:18:49Z</dc:date>
    </item>
    <item>
      <title>Re: Annual gift upgrade and downgrade</title>
      <link>https://community.qlik.com/t5/App-Development/Annual-gift-upgrade-and-downgrade/m-p/1961762#M79284</link>
      <description>&lt;P&gt;you will need to supply more information than that for someopne to help you,&amp;nbsp; sample data and expected output would be most useful&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2022 12:55:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Annual-gift-upgrade-and-downgrade/m-p/1961762#M79284</guid>
      <dc:creator>edwin</dc:creator>
      <dc:date>2022-07-28T12:55:08Z</dc:date>
    </item>
    <item>
      <title>Re: Annual gift upgrade and downgrade</title>
      <link>https://community.qlik.com/t5/App-Development/Annual-gift-upgrade-and-downgrade/m-p/1961770#M79286</link>
      <description>&lt;P&gt;For example&amp;nbsp;i want to calculate the retained gifter from a current time period that increased his giving this year.&amp;nbsp;&lt;/P&gt;
&lt;DIV class="dePhmb" aria-live="polite"&gt;
&lt;DIV class="eyKpYb" data-language="en" data-original-language="it" data-result-index="0"&gt;
&lt;DIV class="J0lOec"&gt;&lt;SPAN class="VIiyi"&gt;&lt;SPAN class="JLqJ4b ChMk0b" data-language-for-alternatives="en" data-language-to-translate-into="it" data-phrase-index="0" data-number-of-phrases="1"&gt;&lt;SPAN class="Q4iAWc"&gt;Therefore I have to calculate the number of donors who have increased their donation this year to the previous year&amp;nbsp;and I wanted to know if there was a formula to calculate it&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 28 Jul 2022 13:07:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Annual-gift-upgrade-and-downgrade/m-p/1961770#M79286</guid>
      <dc:creator>MarcoGemini11</dc:creator>
      <dc:date>2022-07-28T13:07:59Z</dc:date>
    </item>
    <item>
      <title>Re: Annual gift upgrade and downgrade</title>
      <link>https://community.qlik.com/t5/App-Development/Annual-gift-upgrade-and-downgrade/m-p/1961784#M79289</link>
      <description>&lt;P&gt;in other words you have a measure that changes with the date and you want to compare YTD and prior YTD.&lt;/P&gt;
&lt;P&gt;it is the same pattern as this one:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/New-to-Qlik-Sense/how-to-calculate-previous-year-sales-till-current-year-same/td-p/1960635" target="_blank" rel="noopener"&gt;https://community.qlik.com/t5/New-to-Qlik-Sense/how-to-calculate-previous-year-sales-till-current-year-same/td-p/1960635&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;simple way is to calculate the date boundaries:&lt;BR /&gt;today's date (this can be dynamic but for illustration purposes stay with today's date)&lt;BR /&gt;start of the year&lt;/P&gt;
&lt;P&gt;today's date shifted one year back - you can just add -1 year&lt;BR /&gt;start of year of today's date shifted one year back (similar calculation -1 year)&lt;BR /&gt;&lt;BR /&gt;then you frame your expressions using those 4 dates:&lt;/P&gt;
&lt;P&gt;YTD = your measure with the set analysis dates &amp;gt;=start of year &amp;lt;=today's date&lt;/P&gt;
&lt;P&gt;PTD =&amp;nbsp;your measure with the set analysis dates &amp;gt;=start of year last year &amp;lt;=today's date shifted last year&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2022 13:31:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Annual-gift-upgrade-and-downgrade/m-p/1961784#M79289</guid>
      <dc:creator>edwin</dc:creator>
      <dc:date>2022-07-28T13:31:12Z</dc:date>
    </item>
    <item>
      <title>Re: Annual gift upgrade and downgrade</title>
      <link>https://community.qlik.com/t5/App-Development/Annual-gift-upgrade-and-downgrade/m-p/1961796#M79292</link>
      <description>&lt;P&gt;OK. In this way i can measure the difference gift value between two years. But this is one part of my question.&lt;/P&gt;
&lt;P&gt;In the second part i have necessity to count the number of gifter that have increased their gift value.&lt;/P&gt;
&lt;P&gt;So i want to set a variable which&amp;nbsp;&amp;nbsp;based on the increase of&amp;nbsp; the value of the gift, counts the number of donors who have increased this value.&lt;BR /&gt;in this way I calculate the number of donors who have increased the value of their donation compared to the previous year&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2022 13:45:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Annual-gift-upgrade-and-downgrade/m-p/1961796#M79292</guid>
      <dc:creator>MarcoGemini11</dc:creator>
      <dc:date>2022-07-28T13:45:58Z</dc:date>
    </item>
  </channel>
</rss>

