<?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 Cumulative Total for Financial Years only in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Total-for-Financial-Years-only/m-p/2219476#M52632</link>
    <description>&lt;P&gt;Hi there,&lt;BR /&gt;I am trying to calculate the cumulative cash outflows or cash inflows. And I dont have a data table for this as the data are only on financial year end, i.e. 30/6/20XX. (Please ref to the 3rd screenshot)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;I tried to use the following code but seems not working.&amp;nbsp; Please note the table name is TEST and DIM_Period is my period dimension table which is not in days.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;This is my period table.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Please help &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt; Truly appreciate!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 03 Dec 2021 07:05:25 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-12-03T07:05:25Z</dc:date>
    <item>
      <title>Cumulative Total for Financial Years only</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Total-for-Financial-Years-only/m-p/2219476#M52632</link>
      <description>&lt;P&gt;Hi there,&lt;BR /&gt;I am trying to calculate the cumulative cash outflows or cash inflows. And I dont have a data table for this as the data are only on financial year end, i.e. 30/6/20XX. (Please ref to the 3rd screenshot)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;I tried to use the following code but seems not working.&amp;nbsp; Please note the table name is TEST and DIM_Period is my period dimension table which is not in days.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;This is my period table.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Please help &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt; Truly appreciate!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Dec 2021 07:05:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Total-for-Financial-Years-only/m-p/2219476#M52632</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-12-03T07:05:25Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Total for Financial Years only</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Total-for-Financial-Years-only/m-p/2219530#M52636</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Once you load the sum into the variable net_cash it becomes fixed and is not affected by your later calculate.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you put that code directly in to the calculate it will get further than before. Or you could define a separate measure called net cash and use that inside the calculate.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Dec 2021 07:28:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Total-for-Financial-Years-only/m-p/2219530#M52636</guid>
      <dc:creator>bcdobbs</dc:creator>
      <dc:date>2021-12-03T07:28:44Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Total for Financial Years only</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Total-for-Financial-Years-only/m-p/2219531#M52637</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp; Hi, If you use VAR as expression of calculate, it would not work as you intended becuase VAR work like constant when one declares it. In other words, in your formular, when you declare net_cash, it became constant number (the total of cash_inflows). so it return always the same number regardless of modificatio of CALCULATE. and it applies to Las visible period as well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To resolve your issue, you should create&amp;nbsp;measures for&amp;nbsp;net_cash &amp;amp;&amp;nbsp;Las visible period or dont use VAR (use the formular derectly inside CALCULATE)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Dec 2021 07:27:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Total-for-Financial-Years-only/m-p/2219531#M52637</guid>
      <dc:creator>colacan</dc:creator>
      <dc:date>2021-12-03T07:27:54Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Total for Financial Years only</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Total-for-Financial-Years-only/m-p/2221583#M52776</link>
      <description>&lt;P&gt;Thanks Colacan. This is really helpful. I will have a go.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Dec 2021 00:11:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Total-for-Financial-Years-only/m-p/2221583#M52776</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-12-06T00:11:17Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Total for Financial Years only</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Total-for-Financial-Years-only/m-p/2221603#M52777</link>
      <description>&lt;P&gt;Hi Colacan,&lt;/P&gt;&lt;P&gt;I had created measures for net_cash &amp;amp; LastVisible Period separately as below. However it seems not working. I suspect if this is something to do with my Period table?&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;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Dec 2021 00:31:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Total-for-Financial-Years-only/m-p/2221603#M52777</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-12-06T00:31:13Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Total for Financial Years only</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Total-for-Financial-Years-only/m-p/2221631#M52780</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp; Can you provide some sample data?&lt;/P&gt;</description>
      <pubDate>Mon, 06 Dec 2021 01:10:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Total-for-Financial-Years-only/m-p/2221631#M52780</guid>
      <dc:creator>smpa01</dc:creator>
      <dc:date>2021-12-06T01:10:28Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Total for Financial Years only</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Total-for-Financial-Years-only/m-p/2221811#M52791</link>
      <description>&lt;P&gt;The data that I am using is the one in the purple table in my question.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Dec 2021 02:45:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Total-for-Financial-Years-only/m-p/2221811#M52791</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-12-06T02:45:38Z</dc:date>
    </item>
  </channel>
</rss>

