<?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 How to get previous month values based on Month year column values in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-previous-month-values-based-on-Month-year-column/m-p/4309644#M171150</link>
    <description>&lt;P&gt;Hi Community member,&lt;/P&gt;&lt;P&gt;Need help to get some desired result.&lt;/P&gt;&lt;P&gt;Below is the my dataset.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and I already create a measure to calcualte the values for previous months for column automated. below is the measure:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;and my table look like below and that is absoluty fine:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But i want to show previous month data&amp;nbsp; based on MonthName column [column name shown on first screenshot]&amp;nbsp; and when i use monthname column on table then previous month data is showing 0. see below pic.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Please suggest. how can i use monthname column to calculate previous months data based on projectname?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 02 Dec 2024 10:08:23 GMT</pubDate>
    <dc:creator>AmitSaini</dc:creator>
    <dc:date>2024-12-02T10:08:23Z</dc:date>
    <item>
      <title>How to get previous month values based on Month year column values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-previous-month-values-based-on-Month-year-column/m-p/4309644#M171150</link>
      <description>&lt;P&gt;Hi Community member,&lt;/P&gt;&lt;P&gt;Need help to get some desired result.&lt;/P&gt;&lt;P&gt;Below is the my dataset.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and I already create a measure to calcualte the values for previous months for column automated. below is the measure:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;and my table look like below and that is absoluty fine:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But i want to show previous month data&amp;nbsp; based on MonthName column [column name shown on first screenshot]&amp;nbsp; and when i use monthname column on table then previous month data is showing 0. see below pic.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Please suggest. how can i use monthname column to calculate previous months data based on projectname?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Dec 2024 10:08:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-previous-month-values-based-on-Month-year-column/m-p/4309644#M171150</guid>
      <dc:creator>AmitSaini</dc:creator>
      <dc:date>2024-12-02T10:08:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to get previous month values based on Month year column values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-previous-month-values-based-on-Month-year-column/m-p/4309820#M171156</link>
      <description>&lt;P&gt;Create a date table and mark it as a date table. There's lots of articles and videos on how to do that. Link your date table to the date column in your fact table, and then use columns from your date table in the visuals. Your measure using PREVIOUSMONTH will then work if you change the date column to the date column from the date table.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Dec 2024 12:17:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-previous-month-values-based-on-Month-year-column/m-p/4309820#M171156</guid>
      <dc:creator>johnt75</dc:creator>
      <dc:date>2024-12-02T12:17:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to get previous month values based on Month year column values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-previous-month-values-based-on-Month-year-column/m-p/4309850#M171157</link>
      <description>&lt;P&gt;hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="857894" data-lia-user-login="AmitSaini" class="lia-mention lia-mention-user"&gt;AmitSaini&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;try like:&lt;/P&gt;
&lt;P&gt;...&lt;/P&gt;
&lt;P&gt;VAR pvevious=&amp;nbsp;&lt;/P&gt;
&lt;P&gt;CALCULATE(&lt;/P&gt;
&lt;P&gt;SUM(Status[Automated],&lt;/P&gt;
&lt;P&gt;EOMONTH(Status[datevalue], 0) = EOMONTH(MAX(Status[datevalue]), -1)&lt;/P&gt;
&lt;P&gt;)&lt;/P&gt;
&lt;P&gt;...&lt;/P&gt;</description>
      <pubDate>Mon, 02 Dec 2024 12:41:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-previous-month-values-based-on-Month-year-column/m-p/4309850#M171157</guid>
      <dc:creator>FreemanZ</dc:creator>
      <dc:date>2024-12-02T12:41:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to get previous month values based on Month year column values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-previous-month-values-based-on-Month-year-column/m-p/4310849#M171201</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/240987" target="_self"&gt;&lt;SPAN class=""&gt;johnt75,&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Thanks for the suggestion and it works very well. Really appreciate it.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2024 04:36:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-previous-month-values-based-on-Month-year-column/m-p/4310849#M171201</guid>
      <dc:creator>AmitSaini</dc:creator>
      <dc:date>2024-12-03T04:36:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to get previous month values based on Month year column values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-previous-month-values-based-on-Month-year-column/m-p/4310851#M171202</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/460868" target="_self"&gt;&lt;SPAN class=""&gt;FreemanZ&lt;/SPAN&gt;&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for you reply.&lt;/P&gt;&lt;P&gt;I tried your suggestion but it won't works when we use monthname column.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2024 04:37:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-previous-month-values-based-on-Month-year-column/m-p/4310851#M171202</guid>
      <dc:creator>AmitSaini</dc:creator>
      <dc:date>2024-12-03T04:37:59Z</dc:date>
    </item>
  </channel>
</rss>

