<?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 with DAX to sum the previous value in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-DAX-to-sum-the-previous-value/m-p/3222816#M117880</link>
    <description>&lt;P&gt;switch(&lt;BR /&gt;true(),&lt;BR /&gt;index =3 , ( [column A] * [Column B] )+ [Column A],&lt;BR /&gt;index &amp;gt;=4, ([column E] * [Column B] ) +[Column E]&lt;BR /&gt;)&lt;/P&gt;</description>
    <pubDate>Fri, 05 May 2023 20:09:55 GMT</pubDate>
    <dc:creator>eliasayyy</dc:creator>
    <dc:date>2023-05-05T20:09:55Z</dc:date>
    <item>
      <title>Help with DAX to sum the previous value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-DAX-to-sum-the-previous-value/m-p/3222799#M117877</link>
      <description>&lt;P&gt;I need to do this formula in a DAX table:&lt;BR /&gt;1- First row = A * B&lt;BR /&gt;2- Second Row until the end = B * E (result of row before)&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Can I do it in dax?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 May 2023 20:02:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-DAX-to-sum-the-previous-value/m-p/3222799#M117877</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-05-05T20:02:09Z</dc:date>
    </item>
    <item>
      <title>Re: Help with DAX to sum the previous value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-DAX-to-sum-the-previous-value/m-p/3222816#M117880</link>
      <description>&lt;P&gt;switch(&lt;BR /&gt;true(),&lt;BR /&gt;index =3 , ( [column A] * [Column B] )+ [Column A],&lt;BR /&gt;index &amp;gt;=4, ([column E] * [Column B] ) +[Column E]&lt;BR /&gt;)&lt;/P&gt;</description>
      <pubDate>Fri, 05 May 2023 20:09:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-DAX-to-sum-the-previous-value/m-p/3222816#M117880</guid>
      <dc:creator>eliasayyy</dc:creator>
      <dc:date>2023-05-05T20:09:55Z</dc:date>
    </item>
    <item>
      <title>Re: Help with DAX to sum the previous value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-DAX-to-sum-the-previous-value/m-p/3222819#M117881</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;the problem is:&amp;nbsp;&lt;SPAN&gt;[Column E] in power BI is the calculated column. I can't use it in this formula.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 05 May 2023 20:13:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-DAX-to-sum-the-previous-value/m-p/3222819#M117881</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-05-05T20:13:50Z</dc:date>
    </item>
    <item>
      <title>Re: Help with DAX to sum the previous value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-DAX-to-sum-the-previous-value/m-p/3222842#M117883</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I didn't have the chance to test it so please do from your end&lt;/P&gt;
&lt;P&gt;Value =&lt;BR /&gt;VAR T1 =&lt;BR /&gt;CALCULATETABLE ( 'Table', ALLEXCEPT ( 'Table', 'Table'[Key AP] ) )&lt;BR /&gt;VAR Index1 =&lt;BR /&gt;MINX ( T1, 'Table'[Index] )&lt;BR /&gt;VAR Value1 =&lt;BR /&gt;MAXX (&lt;BR /&gt;FILTER ( T1, 'Table'[Index] = Index1 ),&lt;BR /&gt;'Table'[Valor] * ( 'Table'[INCC-M. Valor] + 1 )&lt;BR /&gt;)&lt;BR /&gt;VAR T2 =&lt;BR /&gt;FILTER (&lt;BR /&gt;T1,&lt;BR /&gt;'Table'[Index] &amp;lt;= EARLIER ( 'Table'[Index] )&lt;BR /&gt;&amp;amp;&amp;amp; 'Table'[Index] &amp;gt; Index1&lt;BR /&gt;)&lt;BR /&gt;VAR ProductValue =&lt;BR /&gt;PRODUCTX ( T2, 'Table'[INCC-M. Valor] + 1 )&lt;BR /&gt;RETURN&lt;BR /&gt;Value1 * COALESCE ( ProductValue, 1 )&lt;/P&gt;</description>
      <pubDate>Fri, 05 May 2023 20:37:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-DAX-to-sum-the-previous-value/m-p/3222842#M117883</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-05-05T20:37:22Z</dc:date>
    </item>
  </channel>
</rss>

