<?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: Formula - Circular dependency - Cumulative Sum? in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Formula-Circular-dependency-Cumulative-Sum/m-p/1561395#M31007</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="250348" data-lia-user-login="crln-blue" class="lia-mention lia-mention-user"&gt;crln-blue&lt;/a&gt; , Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can get cumulative with help from date tbale like example&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cumm Sales = CALCULATE(SUM(Table[value]),filter(allselected(Table),Table[Date] &amp;lt;=max(Table[Date])))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2"&gt;To get the best of the time intelligence function. Make sure you have a date calendar and it has been marked as the date in model view. Also, join it with the date column of your fact/s. Refer :&lt;A href="https://radacad.com/creating-calendar-table-in-power-bi-using-dax-functions" target="_blank"&gt;radacad&lt;/A&gt; &lt;A href="https://www.sqlbi.com/articles/creating-a-simple-date-table-in-dax/" target="_blank"&gt;sqlbi&lt;/A&gt; &lt;A href="https://www.youtube.com/playlist?list=PLPaNVDMhUXGYLz-w8ERQOo3KYARs7GgG-" target="_blank"&gt;My Video Series&lt;/A&gt; Appreciate your Kudos. &lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 21 Dec 2020 01:56:34 GMT</pubDate>
    <dc:creator>amitchandak</dc:creator>
    <dc:date>2020-12-21T01:56:34Z</dc:date>
    <item>
      <title>Formula - Circular dependency - Cumulative Sum?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Formula-Circular-dependency-Cumulative-Sum/m-p/1561168#M31002</link>
      <description>&lt;P&gt;Hello! (Not sure if it's okay to post it here but I really need some help)&lt;/P&gt;&lt;P&gt;I need to make some measures where they are dependent to each other. But PowerBI says that I have a circular dependency So I tried to find a way to make it not dependent but I can't seem to get it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's the sample data:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&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;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;1st month of the beginning cash is a fixed value (I'm good with this, planning to have a parameter?)&lt;/P&gt;&lt;P&gt;1st month of the ending cash is current beginning + cash flow.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2nd month of beginning cash is last month's ending cash.&lt;/P&gt;&lt;P&gt;2nd month of ending cash is current beginning +cash flow.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And so on and so forth.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Beginning and Ending Cash are dependent. I'm thinking of having another measure, True Cash, that will compute for the cumulative cash total. But I have no idea also on this part. Also, my Cash Flow is a calculated measure.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help is appreciated. Thank you!&lt;/P&gt;</description>
      <pubDate>Sun, 20 Dec 2020 19:54:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Formula-Circular-dependency-Cumulative-Sum/m-p/1561168#M31002</guid>
      <dc:creator>crln-blue</dc:creator>
      <dc:date>2020-12-20T19:54:24Z</dc:date>
    </item>
    <item>
      <title>Re: Formula - Circular dependency - Cumulative Sum?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Formula-Circular-dependency-Cumulative-Sum/m-p/1561395#M31007</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="250348" data-lia-user-login="crln-blue" class="lia-mention lia-mention-user"&gt;crln-blue&lt;/a&gt; , Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can get cumulative with help from date tbale like example&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cumm Sales = CALCULATE(SUM(Table[value]),filter(allselected(Table),Table[Date] &amp;lt;=max(Table[Date])))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2"&gt;To get the best of the time intelligence function. Make sure you have a date calendar and it has been marked as the date in model view. Also, join it with the date column of your fact/s. Refer :&lt;A href="https://radacad.com/creating-calendar-table-in-power-bi-using-dax-functions" target="_blank"&gt;radacad&lt;/A&gt; &lt;A href="https://www.sqlbi.com/articles/creating-a-simple-date-table-in-dax/" target="_blank"&gt;sqlbi&lt;/A&gt; &lt;A href="https://www.youtube.com/playlist?list=PLPaNVDMhUXGYLz-w8ERQOo3KYARs7GgG-" target="_blank"&gt;My Video Series&lt;/A&gt; Appreciate your Kudos. &lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Dec 2020 01:56:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Formula-Circular-dependency-Cumulative-Sum/m-p/1561395#M31007</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2020-12-21T01:56:34Z</dc:date>
    </item>
    <item>
      <title>Re: Formula - Circular dependency - Cumulative Sum?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Formula-Circular-dependency-Cumulative-Sum/m-p/1561824#M31009</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;&amp;nbsp;!&lt;/P&gt;&lt;P&gt;Thanks for the reply! However, I think it's not applicable to me since my data is from a calculated measure. However, I researched more and found my answer:&amp;nbsp;&lt;A href="https://community.powerbi.com/t5/Desktop/Create-Running-Total-On-A-Calculated-Measure/td-p/164202" target="_blank"&gt;Solved: Create Running Total On A Calculated Measure - Microsoft Power BI Community&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Dec 2020 06:26:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Formula-Circular-dependency-Cumulative-Sum/m-p/1561824#M31009</guid>
      <dc:creator>crln-blue</dc:creator>
      <dc:date>2020-12-21T06:26:26Z</dc:date>
    </item>
  </channel>
</rss>

