<?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: Last Date previous month in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Last-Date-previous-month/m-p/2682735#M80418</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="349489" data-lia-user-login="daXtreme" class="lia-mention lia-mention-user"&gt;daXtreme&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;From the screen shot, the YTD funded returns a value of $0.&amp;nbsp; For February, it should have a value, let's just say $1000 for example.&amp;nbsp; It is based off the last day of the month value of the previous month (January) of the&amp;nbsp;&lt;SPAN&gt;What does YTD total need to be measure.&amp;nbsp;&lt;img /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 04 Aug 2022 21:28:13 GMT</pubDate>
    <dc:creator>KW123</dc:creator>
    <dc:date>2022-08-04T21:28:13Z</dc:date>
    <item>
      <title>Last Date previous month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Last-Date-previous-month/m-p/2682301#M80374</link>
      <description>&lt;P&gt;I have this DAX for a measure&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;YTD Funded = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;[What does YTD total need to be]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;LASTDATE&lt;/SPAN&gt;&lt;SPAN&gt; ( &lt;/SPAN&gt;&lt;SPAN&gt;PREVIOUSMONTH&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;SPAN&gt;Dates[Date]&lt;/SPAN&gt;&lt;SPAN&gt; )))&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;I need to calculate the value of the above measure.&amp;nbsp; In my report, the column What does YTD total need to be, as a value. However if I select the YTD funded column into the report, it just shows $0....&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thanks,&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 04 Aug 2022 16:15:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Last-Date-previous-month/m-p/2682301#M80374</guid>
      <dc:creator>KW123</dc:creator>
      <dc:date>2022-08-04T16:15:54Z</dc:date>
    </item>
    <item>
      <title>Re: Last Date previous month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Last-Date-previous-month/m-p/2682726#M80415</link>
      <description>&lt;P&gt;That's not enough information to help. Sorry.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please refer to this:&amp;nbsp;&lt;A href="https://community.powerbi.com/t5/DAX-Commands-and-Tips/How-to-Get-Your-Question-Answered-Quickly/td-p/1626726" target="_blank"&gt;How to Get Your Question Answered Quickly - Microsoft Power BI Community&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Aug 2022 21:16:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Last-Date-previous-month/m-p/2682726#M80415</guid>
      <dc:creator>daXtreme</dc:creator>
      <dc:date>2022-08-04T21:16:33Z</dc:date>
    </item>
    <item>
      <title>Re: Last Date previous month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Last-Date-previous-month/m-p/2682735#M80418</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="349489" data-lia-user-login="daXtreme" class="lia-mention lia-mention-user"&gt;daXtreme&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;From the screen shot, the YTD funded returns a value of $0.&amp;nbsp; For February, it should have a value, let's just say $1000 for example.&amp;nbsp; It is based off the last day of the month value of the previous month (January) of the&amp;nbsp;&lt;SPAN&gt;What does YTD total need to be measure.&amp;nbsp;&lt;img /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Aug 2022 21:28:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Last-Date-previous-month/m-p/2682735#M80418</guid>
      <dc:creator>KW123</dc:creator>
      <dc:date>2022-08-04T21:28:13Z</dc:date>
    </item>
    <item>
      <title>Re: Last Date previous month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Last-Date-previous-month/m-p/2685936#M80671</link>
      <description>&lt;P&gt;I have not been able to find a DAX for this anywhere online.&amp;nbsp; Any help would be appreciated!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Aug 2022 01:50:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Last-Date-previous-month/m-p/2685936#M80671</guid>
      <dc:creator>KW123</dc:creator>
      <dc:date>2022-08-08T01:50:14Z</dc:date>
    </item>
    <item>
      <title>Re: Last Date previous month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Last-Date-previous-month/m-p/2687911#M80834</link>
      <description>&lt;P&gt;So I have created a column which shows me the last day of each month.&amp;nbsp; Now I'm trying to figure out how to use that to get the value from the last day of the previous month with an IF clause that gives a blank for January 2022. (since the previous month will be in 2021 and we do not have the data for it)&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Aug 2022 17:09:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Last-Date-previous-month/m-p/2687911#M80834</guid>
      <dc:creator>KW123</dc:creator>
      <dc:date>2022-08-08T17:09:25Z</dc:date>
    </item>
    <item>
      <title>Re: Last Date previous month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Last-Date-previous-month/m-p/2689236#M80918</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.powerbi.com/t5/user/viewprofilepage/user-id/410720" target="_blank" rel="noopener"&gt;@KW123&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Do you want to get the values&amp;nbsp;from the beginning of the year to the end of the previous month? If yes, you can create a&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;measure&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;as below:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;YTD Funded =
CALCULATE (
    [What does YTD total need to be],
    FILTER (
        ALLSELECTED ( 'Table' ),
        'Table'[Date] &amp;gt;= DATE ( YEAR ( TODAY () ), 1, 1 )
            &amp;amp;&amp;amp; 'Table'[Date] &amp;lt;= EOMONTH ( TODAY (), -1 )
            &amp;amp;&amp;amp; 'Table'[Date] &amp;lt;= SELECTEDVALUE ( 'Table'[Date] )
    )
)&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In addition, you can refer the following links to get it.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://databear.com/power-bi-tips-calculate-year-to-date-values/" target="_self" rel="nofollow noopener noreferrer"&gt;Calculate Year-to-date Values&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/Desktop/YTD-DAX/m-p/864933" target="_self"&gt;&lt;SPAN&gt;YTD DAX&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://sqlskull.com/tag/how-to-get-a-last-day-of-previous-month-in-power-bi/" target="_self" rel="nofollow noopener noreferrer"&gt;&lt;SPAN&gt;How to get a last day of previous month in Power BI&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the above one is not working for you, please provide some sample data(&lt;EM&gt;&lt;STRONG&gt;exclude sensitive data) with&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;T&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT color="#000000"&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;ext&amp;nbsp;&lt;/FONT&gt;&lt;/STRONG&gt;format and your expected result with special examples and screenshots.&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;It is better&lt;/FONT&gt;&lt;/STRONG&gt;&amp;nbsp;if you can provide me a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT color="#008000"&gt;&lt;STRONG&gt;simplified&lt;/STRONG&gt;&amp;nbsp;&lt;/FONT&gt;pbix file. Thank you.&lt;/FONT&gt;&lt;/P&gt;
&lt;DIV class=""&gt;&lt;A href="https://community.powerbi.com/t5/Desktop/How-to-upload-PBI-in-Community/td-p/1672886" target="_self"&gt;How to upload PBI in Community&lt;/A&gt;
&lt;P&gt;Best Regards&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 09 Aug 2022 08:56:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Last-Date-previous-month/m-p/2689236#M80918</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-08-09T08:56:03Z</dc:date>
    </item>
    <item>
      <title>Re: Last Date previous month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Last-Date-previous-month/m-p/2690629#M81002</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt;&amp;nbsp;Thank you so much for your help!!&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Aug 2022 19:15:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Last-Date-previous-month/m-p/2690629#M81002</guid>
      <dc:creator>KW123</dc:creator>
      <dc:date>2022-08-09T19:15:14Z</dc:date>
    </item>
  </channel>
</rss>

