<?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: Rolling total where data rows are sporadic in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rolling-total-where-data-rows-are-sporadic/m-p/2722040#M83052</link>
    <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt; , This should show for each period, provided &lt;/P&gt;
&lt;P&gt;1. Period is coming from calendar table&lt;/P&gt;
&lt;P&gt;2. join of calendar table with fact/table is single directional&lt;/P&gt;
&lt;P&gt;3. Calendar table is marked as Date table&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Why Time Intelligence Fails - Powerbi 5 Savior Steps for TI :&lt;A href="https://youtu.be/OBf0rjpp5Hw" target="_blank"&gt;https://youtu.be/OBf0rjpp5Hw&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://amitchandak.medium.com/power-bi-5-key-points-to-make-time-intelligence-successful-bd52912a5bd4" target="_blank"&gt;https://amitchandak.medium.com/power-bi-5-key-points-to-make-time-intelligence-successful-bd52912a5bd4&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 24 Aug 2022 04:33:36 GMT</pubDate>
    <dc:creator>amitchandak</dc:creator>
    <dc:date>2022-08-24T04:33:36Z</dc:date>
    <item>
      <title>Rolling total where data rows are sporadic</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rolling-total-where-data-rows-are-sporadic/m-p/2721697#M83029</link>
      <description>&lt;P&gt;Hi!&amp;nbsp; I have a Trial balance that provides the following output:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;The Entry for March 2019 for "Deposits" should be 9,897.50 but, since there were no transactions in that month for that account, the balance isn't calculated/presented.&lt;/P&gt;&lt;P&gt;The Measure I'm using is otherwise fine, and pretty standard:&lt;BR /&gt;=calculate(Sum(Data[Amount]),FILTER(all('Calendar'[Date]),'Calendar'[Date] &amp;lt;=max(Data[Date])))&lt;/P&gt;&lt;P&gt;How can I modify this so that the balance for a period shows, even if there are no transactions in that period?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 23 Aug 2022 23:53:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rolling-total-where-data-rows-are-sporadic/m-p/2721697#M83029</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-08-23T23:53:11Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling total where data rows are sporadic</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rolling-total-where-data-rows-are-sporadic/m-p/2722040#M83052</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt; , This should show for each period, provided &lt;/P&gt;
&lt;P&gt;1. Period is coming from calendar table&lt;/P&gt;
&lt;P&gt;2. join of calendar table with fact/table is single directional&lt;/P&gt;
&lt;P&gt;3. Calendar table is marked as Date table&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Why Time Intelligence Fails - Powerbi 5 Savior Steps for TI :&lt;A href="https://youtu.be/OBf0rjpp5Hw" target="_blank"&gt;https://youtu.be/OBf0rjpp5Hw&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://amitchandak.medium.com/power-bi-5-key-points-to-make-time-intelligence-successful-bd52912a5bd4" target="_blank"&gt;https://amitchandak.medium.com/power-bi-5-key-points-to-make-time-intelligence-successful-bd52912a5bd4&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Aug 2022 04:33:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rolling-total-where-data-rows-are-sporadic/m-p/2722040#M83052</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-08-24T04:33:36Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling total where data rows are sporadic</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rolling-total-where-data-rows-are-sporadic/m-p/2723745#M83172</link>
      <description>&lt;P&gt;Hi Amit, and thanks for your reply!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1.&amp;nbsp; The period is coming from a calendar table:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;2. Join is single-directional&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;3. Calendar table was NOT marked as a date table - I fixed that, but still the same issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The data type for the Date field of the calendar table is Date:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The date table is made from a query that references the original "data" table it is linked to - could that be an issue?&amp;nbsp; Here's the m code to make the calendar table:&lt;BR /&gt;= {Number.From(List.Min(Data[Date]))..Number.From(List.Max(Data[Date]))}&lt;/P&gt;</description>
      <pubDate>Wed, 24 Aug 2022 15:10:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rolling-total-where-data-rows-are-sporadic/m-p/2723745#M83172</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-08-24T15:10:47Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling total where data rows are sporadic</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rolling-total-where-data-rows-are-sporadic/m-p/2728321#M83475</link>
      <description>&lt;P&gt;Hi，&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please modify the formula like below:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Result =
CALCULATE (
    SUM ( Data[Amount] ),
    FILTER (
        ALLEXCEPT ( Data, Data[Account name], Data[Account code] ),
        Data[Date] &amp;lt;= MAX ( 'Calendar'[Date] )
    )
)
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Community Support Team _ Eason&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Aug 2022 09:19:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rolling-total-where-data-rows-are-sporadic/m-p/2728321#M83475</guid>
      <dc:creator>v-easonf-msft</dc:creator>
      <dc:date>2022-08-26T09:19:40Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling total where data rows are sporadic</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rolling-total-where-data-rows-are-sporadic/m-p/2729382#M83534</link>
      <description>&lt;P&gt;Thanks, Eason!&amp;nbsp; Unfortunately, when I put that in , I get all zeros:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Aug 2022 16:23:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rolling-total-where-data-rows-are-sporadic/m-p/2729382#M83534</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-08-26T16:23:03Z</dc:date>
    </item>
  </channel>
</rss>

