<?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: Help calculating compounding growth rates in DAX in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-calculating-compounding-growth-rates-in-DAX/m-p/2369325#M60741</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="179903" data-lia-user-login="Whitewater100" class="lia-mention lia-mention-user"&gt;Whitewater100&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you for your reply. However, I am unable to replicate your solution&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;As you can see, I am using a parameter slider in order to determine the growth rate. But I am unable to replicate step 4 for the manual. What could be the reason for it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 02 Mar 2022 07:31:43 GMT</pubDate>
    <dc:creator>ThomasSan</dc:creator>
    <dc:date>2022-03-02T07:31:43Z</dc:date>
    <item>
      <title>Help calculating compounding growth rates in DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-calculating-compounding-growth-rates-in-DAX/m-p/2367725#M60661</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am looking for a DAX expression that allows me to calculate compound growth rates. More specifically, I would like to use the average per capita consumption of the last three years and extrapolate this consumption figure according to the population growth rate and a assumed annual growth rate of 4 percent.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently, I have the following expression:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Sales Projection = 
var baseline =
CALCULATE(
    [Sales per Capita],
    DATESINPERIOD(
        'Date'[Date],
        2022,
        -3,
        YEAR
    )
)
/3

var extrapolation =
baseline * (1.04)

return extrapolation  &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As you can see, I am able to calculate the average of the last three years and also include a one time growth rate of 4 percent. Now, what I am missing here is that with each additional year another 4 percent growth. Mathematically speaking, I am having problems getting my current formula "baseline * (1.04)" to "baseline * (1.04)^x" where x is the amount of years after my starting year 2022. I am looking for something akin to "year of the column here" minus 2022 in order to get the difference.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone therefore please help me with this formula? You are also welcome posting another solution in order to get this compounding growth rate included in the consumption per capita per future year.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 01 Mar 2022 15:24:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-calculating-compounding-growth-rates-in-DAX/m-p/2367725#M60661</guid>
      <dc:creator>ThomasSan</dc:creator>
      <dc:date>2022-03-01T15:24:51Z</dc:date>
    </item>
    <item>
      <title>Re: Help calculating compounding growth rates in DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-calculating-compounding-growth-rates-in-DAX/m-p/2367747#M60665</link>
      <description>&lt;P&gt;Hello:&lt;/P&gt;&lt;P&gt;I found this article on this topic. First you would make a table of years and growth rates. It is all explained here by Matt Allington.&lt;/P&gt;&lt;P&gt;&lt;A href="https://exceleratorbi.com.au/compound-growth-using-dax/" target="_blank"&gt;Compound Growth using DAX - Excelerator BI&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Mar 2022 15:37:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-calculating-compounding-growth-rates-in-DAX/m-p/2367747#M60665</guid>
      <dc:creator>Whitewater100</dc:creator>
      <dc:date>2022-03-01T15:37:00Z</dc:date>
    </item>
    <item>
      <title>Re: Help calculating compounding growth rates in DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-calculating-compounding-growth-rates-in-DAX/m-p/2369325#M60741</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="179903" data-lia-user-login="Whitewater100" class="lia-mention lia-mention-user"&gt;Whitewater100&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you for your reply. However, I am unable to replicate your solution&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;As you can see, I am using a parameter slider in order to determine the growth rate. But I am unable to replicate step 4 for the manual. What could be the reason for it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2022 07:31:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-calculating-compounding-growth-rates-in-DAX/m-p/2369325#M60741</guid>
      <dc:creator>ThomasSan</dc:creator>
      <dc:date>2022-03-02T07:31:43Z</dc:date>
    </item>
    <item>
      <title>Re: Help calculating compounding growth rates in DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-calculating-compounding-growth-rates-in-DAX/m-p/2369822#M60766</link>
      <description>&lt;P&gt;After some intense googleing, I finally found the right code. I applied the FV function for it.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Projected Sales per Capita = 

var yearssince = 
MIN('Date'[Date].[Year]) - 2022

var totalsalesinperiod=
CALCULATE(
    SUM(TotalSales[Sales]),
    ALL('Date'[Date]),'Date'[Date].[Year] &amp;gt;=2020, 'Date'[Date].[Year] &amp;lt;2023
)

var totalpopulationinperiod =
CALCULATE(
    SUM('Population Data'[Population]),
    ALL('Date'[Date]),'Date'[Date].[Year] &amp;gt;=2020, 'Date'[Date].[Year] &amp;lt;2023
)

var baseline =
DIVIDE(
    totalsalesinperiod,
    totalpopulationinperiod,
    BLANK()
)

var runningvalue =
FV(0.08, Yearssince, 0, -baseline)

return runningvalue       &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My values are based on the current year (i.e. 2022). Modify the function according to your needs as necessary.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2022 11:12:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-calculating-compounding-growth-rates-in-DAX/m-p/2369822#M60766</guid>
      <dc:creator>ThomasSan</dc:creator>
      <dc:date>2022-03-02T11:12:52Z</dc:date>
    </item>
  </channel>
</rss>

