<?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: Cummulative calculation (add indexing price) per day in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cummulative-calculation-add-indexing-price-per-day/m-p/3649766#M141381</link>
    <description>&lt;P&gt;Thank you very much Alexis, I think this is what I was looking for!&lt;/P&gt;</description>
    <pubDate>Sat, 20 Jan 2024 21:01:01 GMT</pubDate>
    <dc:creator>BasN</dc:creator>
    <dc:date>2024-01-20T21:01:01Z</dc:date>
    <item>
      <title>Cummulative calculation (add indexing price) per day</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cummulative-calculation-add-indexing-price-per-day/m-p/3649037#M141328</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;The idea is to cummulative multiply the index per day (in the left table) with the Deal Price with the days between StartDate and EndDate (this is a reference date).&lt;BR /&gt;So that you get a new column in the right table with the name "Indexed Deal Price on reference date". Is this possible?&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;</description>
      <pubDate>Fri, 19 Jan 2024 20:36:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cummulative-calculation-add-indexing-price-per-day/m-p/3649037#M141328</guid>
      <dc:creator>BasN</dc:creator>
      <dc:date>2024-01-19T20:36:44Z</dc:date>
    </item>
    <item>
      <title>Re: Cummulative calculation (add indexing price) per day</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cummulative-calculation-add-indexing-price-per-day/m-p/3649089#M141333</link>
      <description>&lt;P&gt;Is this what you mean?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="php"&gt;Indexed Deal Price on reference date =
VAR _Start = RightTable[StartDate]
VAR _End = RightTable[EndDate]
VAR _FilterLeft_ =
    FILTER (
        LeftTable,
        LeftTable[Dates] &amp;gt;= _Start
            &amp;amp;&amp;amp; LeftTable[Dates] &amp;lt;= _End
    )
VAR _Product =
    PRODUCTX (
        _FilterLeft_,
        1 + LeftTable[Index per day]
    )
RETURN
    _Product * RightTable[Deal Price]&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jan 2024 21:26:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cummulative-calculation-add-indexing-price-per-day/m-p/3649089#M141333</guid>
      <dc:creator>AlexisOlson</dc:creator>
      <dc:date>2024-01-19T21:26:54Z</dc:date>
    </item>
    <item>
      <title>Re: Cummulative calculation (add indexing price) per day</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cummulative-calculation-add-indexing-price-per-day/m-p/3649766#M141381</link>
      <description>&lt;P&gt;Thank you very much Alexis, I think this is what I was looking for!&lt;/P&gt;</description>
      <pubDate>Sat, 20 Jan 2024 21:01:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cummulative-calculation-add-indexing-price-per-day/m-p/3649766#M141381</guid>
      <dc:creator>BasN</dc:creator>
      <dc:date>2024-01-20T21:01:01Z</dc:date>
    </item>
  </channel>
</rss>

