<?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: Total Per Month in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Total-Per-Month/m-p/4413308#M175264</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="327608" data-lia-user-login="JB17" class="lia-mention lia-mention-user"&gt;JB17&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Based on your information, I create a sample table:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then unpivot columns, like this:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Select Close &amp;amp; Apply. Create a table visual&lt;SPAN&gt;, put the date, status, and values in the table, and then date selection to leave the month. Here is my preview:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A title="https://community.powerbi.com/t5/community-blog/how-to-get-your-question-answered-quickly/ba-p/38490" href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcommunity.powerbi.com%2Ft5%2FCommunity-Blog%2FHow-to-Get-Your-Question-Answered-Quickly%2Fba-p%2F38490&amp;amp;data=05%7C02%7Cv-yohua%40microsoft.com%7Ce1106bfabecb4734a5cc08dc2305bc51%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C638423754744679080%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&amp;amp;sdata=24%2BceC5sFd3n3%2FhFDYILWFcNjCwVClBD%2BPBsSLVfJGk%3D&amp;amp;reserved=0" target="_blank" rel="noopener nofollow noreferrer"&gt;How to Get Your Question Answered Quickly&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Yongkang Hua&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If this post&amp;nbsp;&lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 17 Feb 2025 07:54:12 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2025-02-17T07:54:12Z</dc:date>
    <item>
      <title>Total Per Month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Total-Per-Month/m-p/4408745#M175068</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I need help with creating DAX for the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Instead of showing the value for each status per date per month, I need to show the total status per month in the desired result. thanks so much in advance!&lt;/P&gt;</description>
      <pubDate>Thu, 13 Feb 2025 09:14:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Total-Per-Month/m-p/4408745#M175068</guid>
      <dc:creator>JB17</dc:creator>
      <dc:date>2025-02-13T09:14:36Z</dc:date>
    </item>
    <item>
      <title>Re: Total Per Month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Total-Per-Month/m-p/4408801#M175072</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="327608" data-lia-user-login="JB17" class="lia-mention lia-mention-user"&gt;JB17&lt;/a&gt;&amp;nbsp;, Try using&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;dax&lt;BR /&gt;Total Per Month = &lt;BR /&gt;CALCULATE(&lt;BR /&gt;SUM('YourTable'[Value]),&lt;BR /&gt;ALLEXCEPT('YourTable', 'YourTable'[Status], 'YourTable'[Date].[Month])&lt;BR /&gt;)&lt;/P&gt;</description>
      <pubDate>Thu, 13 Feb 2025 09:41:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Total-Per-Month/m-p/4408801#M175072</guid>
      <dc:creator>bhanu_gautam</dc:creator>
      <dc:date>2025-02-13T09:41:48Z</dc:date>
    </item>
    <item>
      <title>Re: Total Per Month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Total-Per-Month/m-p/4408813#M175074</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;If your data are as simple as shown, you &lt;STRONG&gt;might not even need DAX.&lt;/STRONG&gt; Just putting your value in a visual with the month of your date hierarchy would do it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you need more calculations, or if your data are not as simple as shown, then you should consider creating DAX measures.&lt;BR /&gt;Starting with: TOTAL VALUE = SUM( YourTAble[YourColumn] )&lt;/P&gt;&lt;P&gt;and then using that basic measure to build the more sophisticated ones.&lt;BR /&gt;TOTAL XXX = CALCULATE( [TOTAL VALUE] , .... )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;</description>
      <pubDate>Thu, 13 Feb 2025 09:49:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Total-Per-Month/m-p/4408813#M175074</guid>
      <dc:creator>AilleryO</dc:creator>
      <dc:date>2025-02-13T09:49:10Z</dc:date>
    </item>
    <item>
      <title>Re: Total Per Month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Total-Per-Month/m-p/4408869#M175077</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="327608" data-lia-user-login="JB17" class="lia-mention lia-mention-user"&gt;JB17&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;first you shoud format your status column and create a new status column in table&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;new status = FORMAT('Table (6)'[status],"MMM-yyyy")&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;and create formula this type formula&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;per month Action = SUMX(VALUES('Table (6)'[new status]),SUM('Table (6)'[Action complete]))&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;per month Deferrd = SUMX(VALUES('Table (6)'[new status]),SUM('Table (6)'[Deferred]))&lt;/LI-CODE&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;If this post&amp;nbsp;&lt;EM&gt;helps&lt;/EM&gt;, then please give us Kudos and consider&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Accept it as a solution&lt;/EM&gt;&lt;/STRONG&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Feb 2025 10:21:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Total-Per-Month/m-p/4408869#M175077</guid>
      <dc:creator>vivek31</dc:creator>
      <dc:date>2025-02-13T10:21:52Z</dc:date>
    </item>
    <item>
      <title>Re: Total Per Month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Total-Per-Month/m-p/4408940#M175078</link>
      <description>&lt;P&gt;UnPivot all the dates column using Transfrm .&lt;/P&gt;&lt;P&gt;Then you Have three column status, Date, Values.generate Mobth from date aas Month&lt;/P&gt;&lt;P&gt;then you can you Matrx visul&lt;BR /&gt;Drag Column as below&lt;BR /&gt;Rows : STATUS&lt;BR /&gt;Columns :Month&lt;BR /&gt;Values: sum of values&lt;BR /&gt;&lt;BR /&gt;Hope this helps&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Feb 2025 11:15:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Total-Per-Month/m-p/4408940#M175078</guid>
      <dc:creator>chauhans85</dc:creator>
      <dc:date>2025-02-13T11:15:21Z</dc:date>
    </item>
    <item>
      <title>Re: Total Per Month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Total-Per-Month/m-p/4409508#M175100</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="327608" data-lia-user-login="JB17" class="lia-mention lia-mention-user"&gt;JB17&lt;/a&gt;&amp;nbsp;- If I am right in my interpretation, all of your dates are in different columns, if this is the case you need to un-pivot your data in Power Query first, I have written a blog about this here:&amp;nbsp;&lt;A href="https://triangle.im/power-bi-mistake-5-why-pivoted-data-leads-to-power-bi-pain/" target="_blank"&gt;https://triangle.im/power-bi-mistake-5-why-pivoted-data-leads-to-power-bi-pain/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and you can find more guidance on doing it here:&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/power-query/unpivot-column" target="_blank"&gt;https://learn.microsoft.com/en-us/power-query/unpivot-column&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Once you have done that you can add a new column to your table that will give you the month year in your desired format, or hook up a date table (this would be my choice) - here's a blog on that:&amp;nbsp;&lt;A href="https://blog.enterprisedna.co/introducing-power-query-extended-date-table-v2/" target="_blank"&gt;https://blog.enterprisedna.co/introducing-power-query-extended-date-table-v2/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and simply sum the new column that has your values in.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="padding: 1em; border: 3px solid #287EC7;"&gt;If I answered your question &lt;STRONG&gt; please mark my post as the solution&lt;/STRONG&gt;, it helps others with the same challenge find the answer!&lt;/P&gt;</description>
      <pubDate>Thu, 13 Feb 2025 16:20:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Total-Per-Month/m-p/4409508#M175100</guid>
      <dc:creator>mark_endicott</dc:creator>
      <dc:date>2025-02-13T16:20:53Z</dc:date>
    </item>
    <item>
      <title>Re: Total Per Month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Total-Per-Month/m-p/4413308#M175264</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="327608" data-lia-user-login="JB17" class="lia-mention lia-mention-user"&gt;JB17&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Based on your information, I create a sample table:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then unpivot columns, like this:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Select Close &amp;amp; Apply. Create a table visual&lt;SPAN&gt;, put the date, status, and values in the table, and then date selection to leave the month. Here is my preview:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A title="https://community.powerbi.com/t5/community-blog/how-to-get-your-question-answered-quickly/ba-p/38490" href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcommunity.powerbi.com%2Ft5%2FCommunity-Blog%2FHow-to-Get-Your-Question-Answered-Quickly%2Fba-p%2F38490&amp;amp;data=05%7C02%7Cv-yohua%40microsoft.com%7Ce1106bfabecb4734a5cc08dc2305bc51%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C638423754744679080%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&amp;amp;sdata=24%2BceC5sFd3n3%2FhFDYILWFcNjCwVClBD%2BPBsSLVfJGk%3D&amp;amp;reserved=0" target="_blank" rel="noopener nofollow noreferrer"&gt;How to Get Your Question Answered Quickly&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Yongkang Hua&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If this post&amp;nbsp;&lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Feb 2025 07:54:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Total-Per-Month/m-p/4413308#M175264</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-02-17T07:54:12Z</dc:date>
    </item>
  </channel>
</rss>

