<?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: CALCULATE Last Fiscal Year's Total in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/CALCULATE-Last-Fiscal-Year-s-Total/m-p/3992370#M154957</link>
    <description>&lt;P&gt;Thank you for replying.&lt;BR /&gt;&lt;BR /&gt;The calculation GiftsLastFY is giving me the total for every day of the last fiscal year. I'm testing on one record and they have one $10,000 gift in last fiscal year.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 14 Jun 2024 03:53:33 GMT</pubDate>
    <dc:creator>PBrainNWH</dc:creator>
    <dc:date>2024-06-14T03:53:33Z</dc:date>
    <item>
      <title>CALCULATE Last Fiscal Year's Total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/CALCULATE-Last-Fiscal-Year-s-Total/m-p/3992349#M154955</link>
      <description>&lt;P&gt;This is the measure I'm using to calculate total gifts to date in the current fiscal year.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;GiftsFYTD =&lt;/SPAN&gt; &lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;[Total Gifts]&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;DATESYTD&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Opportunity&lt;/SPAN&gt;&lt;SPAN&gt;[CloseDate]&lt;/SPAN&gt;&lt;SPAN&gt;, &amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"6/30"&lt;/SPAN&gt;&lt;SPAN&gt;))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;How can I modify it to create another measure to find total gifts for all of last fiscal year?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 14 Jun 2024 03:31:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/CALCULATE-Last-Fiscal-Year-s-Total/m-p/3992349#M154955</guid>
      <dc:creator>PBrainNWH</dc:creator>
      <dc:date>2024-06-14T03:31:24Z</dc:date>
    </item>
    <item>
      <title>Re: CALCULATE Last Fiscal Year's Total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/CALCULATE-Last-Fiscal-Year-s-Total/m-p/3992366#M154956</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="470871" data-lia-user-login="PBrainNWH" class="lia-mention lia-mention-user"&gt;PBrainNWH&lt;/a&gt;&amp;nbsp;Create a measure that calculates the total gifts for the last fiscal year.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Create below measure and check:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;GiftsLastFY =&lt;BR /&gt;CALCULATE(&lt;BR /&gt;[Total Gifts],&lt;BR /&gt;&lt;STRONG&gt;DATESBETWEEN&lt;/STRONG&gt;(&lt;BR /&gt;Opportunity[CloseDate],&lt;BR /&gt;DATE(YEAR(TODAY())-1, 7, 1),&lt;BR /&gt;DATE(YEAR(TODAY()), 6, 30)&lt;BR /&gt;)&lt;BR /&gt;)&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;assuming FY ends with June.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080"&gt;&lt;STRONG&gt;Did I answer your question? Mark my post as a solution! This will help others on the forum!&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000080"&gt;&lt;STRONG&gt;Appreciate your Kudos!!&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jun 2024 03:41:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/CALCULATE-Last-Fiscal-Year-s-Total/m-p/3992366#M154956</guid>
      <dc:creator>rajendraongole1</dc:creator>
      <dc:date>2024-06-14T03:41:15Z</dc:date>
    </item>
    <item>
      <title>Re: CALCULATE Last Fiscal Year's Total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/CALCULATE-Last-Fiscal-Year-s-Total/m-p/3992370#M154957</link>
      <description>&lt;P&gt;Thank you for replying.&lt;BR /&gt;&lt;BR /&gt;The calculation GiftsLastFY is giving me the total for every day of the last fiscal year. I'm testing on one record and they have one $10,000 gift in last fiscal year.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jun 2024 03:53:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/CALCULATE-Last-Fiscal-Year-s-Total/m-p/3992370#M154957</guid>
      <dc:creator>PBrainNWH</dc:creator>
      <dc:date>2024-06-14T03:53:33Z</dc:date>
    </item>
    <item>
      <title>Re: CALCULATE Last Fiscal Year's Total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/CALCULATE-Last-Fiscal-Year-s-Total/m-p/3992373#M154958</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="470871" data-lia-user-login="PBrainNWH" class="lia-mention lia-mention-user"&gt;PBrainNWH&lt;/a&gt;&amp;nbsp;- Sorry,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;can you try either sameperiodlastyear or parallelperiod function from dax&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below logic i am sharing with Paralleperiod function.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;GiftsLastFY =&lt;BR /&gt;CALCULATE(&lt;BR /&gt;[Total Gifts],&lt;BR /&gt;DATESYTD(&lt;BR /&gt;PARALLELPERIOD(Opportunity[CloseDate], -1, YEAR),&lt;BR /&gt;"6/30"&lt;BR /&gt;)&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080"&gt;&lt;STRONG&gt;Did I answer your question? Mark my post as a solution! This will help others on the forum!&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000080"&gt;&lt;STRONG&gt;Appreciate your Kudos!!&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jun 2024 03:54:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/CALCULATE-Last-Fiscal-Year-s-Total/m-p/3992373#M154958</guid>
      <dc:creator>rajendraongole1</dc:creator>
      <dc:date>2024-06-14T03:54:52Z</dc:date>
    </item>
    <item>
      <title>Re: CALCULATE Last Fiscal Year's Total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/CALCULATE-Last-Fiscal-Year-s-Total/m-p/3992378#M154959</link>
      <description>&lt;P&gt;ParallellPeriod seems to work! Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jun 2024 03:58:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/CALCULATE-Last-Fiscal-Year-s-Total/m-p/3992378#M154959</guid>
      <dc:creator>PBrainNWH</dc:creator>
      <dc:date>2024-06-14T03:58:01Z</dc:date>
    </item>
  </channel>
</rss>

