<?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: Complex Compounding Interest Rates in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Complex-Compounding-Interest-Rates/m-p/2561829#M72902</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="91729" data-lia-user-login="tkfisher" class="lia-mention lia-mention-user"&gt;tkfisher&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"&lt;EM&gt;&lt;SPAN&gt;Ideally this would represent the compounding growth rate of each Quickname and Date.&lt;/SPAN&gt;&lt;/EM&gt;"&lt;BR /&gt;My understanding is that, this is a unique column so what is the use of PRODUCTX? Why not "for each quick name" only? And where is the category you have mentioned at the begining of your post?&lt;/P&gt;&lt;P&gt;I might be mistaken but you may try&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;Compounding Value =
VAR DateQuickNameTable =
    CALCULATETABLE (
        'date table',
        ALLEXCEPT ( 'date table', 'date table'[Quickname] )
    )
VAR LatestDate =
    MAXX ( DateQuickNameTable, 'Collection Growth Table'[date] )
RETURN
    PRODUCTX (
        FILTER ( DateQuickNameTable, 'Collection Growth Table'[Date] &amp;lt;= LatestDate ),
        1 + 'Collection Growth Table'[Value]
    )&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Mon, 06 Jun 2022 18:11:35 GMT</pubDate>
    <dc:creator>tamerj1</dc:creator>
    <dc:date>2022-06-06T18:11:35Z</dc:date>
    <item>
      <title>Complex Compounding Interest Rates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Complex-Compounding-Interest-Rates/m-p/2561766#M72901</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a table with dates, "growth rates" and product keys. See snapshot below:&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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Each product category may have a different "growth rate" for each date, though you can only see Jan 2022 in this snapshot (it goes out 24 months).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is my equation. Unfortunately it looks like it sums up the entire calculation with my formula below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Compounding Value =&lt;BR /&gt;VAR LatestDate =&lt;BR /&gt;MAX ( 'Collection Growth Table'[date] )&lt;BR /&gt;VAR UnfilteredTable =&lt;BR /&gt;ALL ( 'date table'[date] )&lt;BR /&gt;RETURN&lt;BR /&gt;CALCULATE (&lt;BR /&gt;PRODUCTX ( 'Collection Growth Table', 1 + 'Collection Growth Table'[Value] ),&lt;BR /&gt;FILTER (&lt;BR /&gt;ALL ( 'Collection Growth Table' ),&lt;BR /&gt;'Collection Growth Table'[Date] &amp;lt;= LatestDate&lt;BR /&gt;)&lt;BR /&gt;)&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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ideally this would represent the compounding growth rate of each Quickname and Date. Any help would be greatly appreciated!&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jun 2022 17:25:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Complex-Compounding-Interest-Rates/m-p/2561766#M72901</guid>
      <dc:creator>tkfisher</dc:creator>
      <dc:date>2022-06-06T17:25:23Z</dc:date>
    </item>
    <item>
      <title>Re: Complex Compounding Interest Rates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Complex-Compounding-Interest-Rates/m-p/2561829#M72902</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="91729" data-lia-user-login="tkfisher" class="lia-mention lia-mention-user"&gt;tkfisher&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"&lt;EM&gt;&lt;SPAN&gt;Ideally this would represent the compounding growth rate of each Quickname and Date.&lt;/SPAN&gt;&lt;/EM&gt;"&lt;BR /&gt;My understanding is that, this is a unique column so what is the use of PRODUCTX? Why not "for each quick name" only? And where is the category you have mentioned at the begining of your post?&lt;/P&gt;&lt;P&gt;I might be mistaken but you may try&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;Compounding Value =
VAR DateQuickNameTable =
    CALCULATETABLE (
        'date table',
        ALLEXCEPT ( 'date table', 'date table'[Quickname] )
    )
VAR LatestDate =
    MAXX ( DateQuickNameTable, 'Collection Growth Table'[date] )
RETURN
    PRODUCTX (
        FILTER ( DateQuickNameTable, 'Collection Growth Table'[Date] &amp;lt;= LatestDate ),
        1 + 'Collection Growth Table'[Value]
    )&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 06 Jun 2022 18:11:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Complex-Compounding-Interest-Rates/m-p/2561829#M72902</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-06-06T18:11:35Z</dc:date>
    </item>
    <item>
      <title>Re: Complex Compounding Interest Rates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Complex-Compounding-Interest-Rates/m-p/2561988#M72908</link>
      <description>&lt;P&gt;Apologies, should have been clearer. I have been trying a few things and so my DAX was getting mixed together. Here is realistically where I am at now:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Compounding Value =&lt;BR /&gt;VAR LatestDate =&lt;BR /&gt;MAX ( 'Collection Growth Table'[date] )&lt;BR /&gt;VAR UnfilteredTable =&lt;BR /&gt;ALL ( 'date table' )&lt;BR /&gt;RETURN&lt;BR /&gt;CALCULATE (&lt;BR /&gt;PRODUCTX ( 'Collection Growth Table', 1 + 'Collection Growth Table'[Value] ),&lt;BR /&gt;FILTER (&lt;BR /&gt;ALL ( 'Collection Growth Table' ),&lt;BR /&gt;'Collection Growth Table'[Date] &amp;lt;= LatestDate&lt;BR /&gt;)&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Filtering on just one Quickname (apologies, I said category before but meant Quickname) shows my issue more clearly:&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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I would like is a column that compounds the 'Value' column month over month, but does it separately for each Quickname.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jun 2022 19:43:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Complex-Compounding-Interest-Rates/m-p/2561988#M72908</guid>
      <dc:creator>tkfisher</dc:creator>
      <dc:date>2022-06-06T19:43:47Z</dc:date>
    </item>
    <item>
      <title>Re: Complex Compounding Interest Rates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Complex-Compounding-Interest-Rates/m-p/2561999#M72909</link>
      <description>&lt;P&gt;Sorry was wrong on my DAX again.... here you go&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Compounding Value =&lt;BR /&gt;VAR LatestDate =&lt;BR /&gt;MAX ( 'Collection Growth Table'[date] )&lt;BR /&gt;VAR UnfilteredTable =&lt;BR /&gt;ALL ( 'Collection Growth Table' )&lt;BR /&gt;RETURN&lt;BR /&gt;CALCULATE (&lt;BR /&gt;PRODUCTX ( 'Collection Growth Table', 1 + 'Collection Growth Table'[Value] ),&lt;BR /&gt;FILTER (&lt;BR /&gt;ALL ( 'Collection Growth Table' ),&lt;BR /&gt;'Collection Growth Table'[Date] &amp;lt;= LatestDate&lt;BR /&gt;)&lt;BR /&gt;)&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jun 2022 19:48:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Complex-Compounding-Interest-Rates/m-p/2561999#M72909</guid>
      <dc:creator>tkfisher</dc:creator>
      <dc:date>2022-06-06T19:48:26Z</dc:date>
    </item>
    <item>
      <title>Re: Complex Compounding Interest Rates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Complex-Compounding-Interest-Rates/m-p/2562045#M72911</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="91729" data-lia-user-login="tkfisher" class="lia-mention lia-mention-user"&gt;tkfisher&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ok. Please try&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;Compounding Value =
VAR DateQuickNameTable =
    CALCULATETABLE (
        'date table',
        ALLEXCEPT ( 'date table', 'date table'[Quickname] )
    )
VAR CurrentDate = 'Collection Growth Table'[date]
RETURN
    PRODUCTX (
        FILTER ( DateQuickNameTable, 'Collection Growth Table'[Date] &amp;lt;= CurrentDate ),
        1 + 'Collection Growth Table'[Value]
    )&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 06 Jun 2022 20:10:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Complex-Compounding-Interest-Rates/m-p/2562045#M72911</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-06-06T20:10:02Z</dc:date>
    </item>
    <item>
      <title>Re: Complex Compounding Interest Rates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Complex-Compounding-Interest-Rates/m-p/2562060#M72913</link>
      <description>&lt;P&gt;This works, thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jun 2022 20:17:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Complex-Compounding-Interest-Rates/m-p/2562060#M72913</guid>
      <dc:creator>tkfisher</dc:creator>
      <dc:date>2022-06-06T20:17:28Z</dc:date>
    </item>
  </channel>
</rss>

