<?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 Monthly Average Orders per Customer in Totals in Matrix Table in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Monthly-Average-Orders-per-Customer-in-Totals-in-Matrix-Table/m-p/4760467#M182292</link>
    <description>&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a matrix table with Orders per Customer by month below:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;I want to be able to show the average instead of the total in the colum total but not in the row total.&amp;nbsp; Not sure whether this is possible.&amp;nbsp; Below is the desired result which is Orders per Customer divided by Month(today()):&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help.&amp;nbsp; Link to WIP file here: &lt;A href="https://drive.google.com/file/d/1kEYZgrTi0ulO3DJuhqUrmjt18aL4x4Q6/view?usp=sharing" target="_self"&gt;Link&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Sat, 12 Jul 2025 01:03:13 GMT</pubDate>
    <dc:creator>etane</dc:creator>
    <dc:date>2025-07-12T01:03:13Z</dc:date>
    <item>
      <title>Monthly Average Orders per Customer in Totals in Matrix Table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Monthly-Average-Orders-per-Customer-in-Totals-in-Matrix-Table/m-p/4760467#M182292</link>
      <description>&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a matrix table with Orders per Customer by month below:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;I want to be able to show the average instead of the total in the colum total but not in the row total.&amp;nbsp; Not sure whether this is possible.&amp;nbsp; Below is the desired result which is Orders per Customer divided by Month(today()):&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help.&amp;nbsp; Link to WIP file here: &lt;A href="https://drive.google.com/file/d/1kEYZgrTi0ulO3DJuhqUrmjt18aL4x4Q6/view?usp=sharing" target="_self"&gt;Link&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Sat, 12 Jul 2025 01:03:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Monthly-Average-Orders-per-Customer-in-Totals-in-Matrix-Table/m-p/4760467#M182292</guid>
      <dc:creator>etane</dc:creator>
      <dc:date>2025-07-12T01:03:13Z</dc:date>
    </item>
    <item>
      <title>Re: Monthly Average Orders per Customer in Totals in Matrix Table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Monthly-Average-Orders-per-Customer-in-Totals-in-Matrix-Table/m-p/4760598#M182296</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="687592" data-lia-user-login="etane" class="lia-mention lia-mention-user"&gt;etane&lt;/a&gt;&amp;nbsp;i guess there is no built-in setting to override column totals to show an average while keeping row totals as a sum.&lt;/P&gt;</description>
      <pubDate>Sat, 12 Jul 2025 06:51:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Monthly-Average-Orders-per-Customer-in-Totals-in-Matrix-Table/m-p/4760598#M182296</guid>
      <dc:creator>techies</dc:creator>
      <dc:date>2025-07-12T06:51:33Z</dc:date>
    </item>
    <item>
      <title>Re: Monthly Average Orders per Customer in Totals in Matrix Table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Monthly-Average-Orders-per-Customer-in-Totals-in-Matrix-Table/m-p/4760643#M182302</link>
      <description>&lt;P&gt;Create a new measure like this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;New measure=&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;IF&lt;/SPAN&gt;&lt;SPAN&gt; ( &lt;/SPAN&gt;&lt;SPAN&gt;ISINSCOPE&lt;/SPAN&gt;&lt;SPAN&gt;( &lt;/SPAN&gt;&lt;SPAN&gt;'Calendar'&lt;/SPAN&gt;&lt;SPAN&gt;[Year Month]&lt;/SPAN&gt;&lt;SPAN&gt; ), &lt;/SPAN&gt;&lt;SPAN&gt;[Orders per Customer]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;[Orders per Customer AVG]&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; )&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;If this helped, please consider giving kudos and mark as a solution&lt;/P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;STRONG&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="273" data-lia-user-login="me" class="lia-mention lia-mention-user"&gt;me&lt;/a&gt; in replies or I'll lose your thread&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;consider voting &lt;A href="https://community.fabric.microsoft.com/t5/Fabric-Ideas/Power-BI-Filter-Pane-as-an-icon-on-the-right-side-bar-in-on/idi-p/4728588" target="_blank"&gt;this Power BI idea&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Francesco Bergamaschi&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;MBA, M.Eng, M.Econ, Professor of BI&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 12 Jul 2025 08:46:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Monthly-Average-Orders-per-Customer-in-Totals-in-Matrix-Table/m-p/4760643#M182302</guid>
      <dc:creator>FBergamaschi</dc:creator>
      <dc:date>2025-07-12T08:46:22Z</dc:date>
    </item>
    <item>
      <title>Re: Monthly Average Orders per Customer in Totals in Matrix Table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Monthly-Average-Orders-per-Customer-in-Totals-in-Matrix-Table/m-p/4760725#M182305</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="687592" data-lia-user-login="etane" class="lia-mention lia-mention-user"&gt;etane&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi, your&amp;nbsp;&lt;SPAN&gt;MONTH(TODAY())&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;returns the&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;current month number and&amp;nbsp;&lt;/SPAN&gt;It assumes that the number of months in your matrix equals the current month. What if there are filtered months?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would use,&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;Orders per Customer AVG = 
VAR MonthCount =
    CALCULATE(
        DISTINCTCOUNT('Calendar'[Year Month]),
        REMOVEFILTERS('Customer Table'[New or Existing])
    )
RETURN
    DIVIDE([Orders per Customer], MonthCount)&lt;/LI-CODE&gt;&lt;P&gt;and&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;OrdersPerCustomer_Adj = 
IF(
    ISINSCOPE('Calendar'[Year Month]),
    [Orders per Customer],
    [Orders per Customer AVG]
)&lt;/LI-CODE&gt;&lt;P&gt;Your '&lt;SPAN&gt;Orders per Customer AVG&lt;/SPAN&gt;' as below:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and Orders Per Customer:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 12 Jul 2025 16:12:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Monthly-Average-Orders-per-Customer-in-Totals-in-Matrix-Table/m-p/4760725#M182305</guid>
      <dc:creator>MasonMA</dc:creator>
      <dc:date>2025-07-12T16:12:37Z</dc:date>
    </item>
    <item>
      <title>Re: Monthly Average Orders per Customer in Totals in Matrix Table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Monthly-Average-Orders-per-Customer-in-Totals-in-Matrix-Table/m-p/4760749#M182306</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="687592" data-lia-user-login="etane" class="lia-mention lia-mention-user"&gt;etane&lt;/a&gt;&amp;nbsp;You want to show average in column total not in row total.. Like below ?&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Attached is the pbix file for your reference.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;/P&gt;
&lt;P&gt;sanalytics&lt;/P&gt;</description>
      <pubDate>Sat, 12 Jul 2025 15:15:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Monthly-Average-Orders-per-Customer-in-Totals-in-Matrix-Table/m-p/4760749#M182306</guid>
      <dc:creator>sanalytics</dc:creator>
      <dc:date>2025-07-12T15:15:39Z</dc:date>
    </item>
    <item>
      <title>Re: Monthly Average Orders per Customer in Totals in Matrix Table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Monthly-Average-Orders-per-Customer-in-Totals-in-Matrix-Table/m-p/4762483#M182401</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="195725" data-lia-user-login="sanalytics" class="lia-mention lia-mention-user"&gt;sanalytics&lt;/a&gt;&amp;nbsp;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Very close.&amp;nbsp; I am hoping the entire Column Total shows average instead of sum (including the .35 as below):&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jul 2025 16:10:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Monthly-Average-Orders-per-Customer-in-Totals-in-Matrix-Table/m-p/4762483#M182401</guid>
      <dc:creator>etane</dc:creator>
      <dc:date>2025-07-14T16:10:41Z</dc:date>
    </item>
    <item>
      <title>Re: Monthly Average Orders per Customer in Totals in Matrix Table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Monthly-Average-Orders-per-Customer-in-Totals-in-Matrix-Table/m-p/4762492#M182402</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="645372" data-lia-user-login="techies" class="lia-mention lia-mention-user"&gt;techies&lt;/a&gt;&amp;nbsp;yeah at least in excel you can this:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jul 2025 16:14:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Monthly-Average-Orders-per-Customer-in-Totals-in-Matrix-Table/m-p/4762492#M182402</guid>
      <dc:creator>etane</dc:creator>
      <dc:date>2025-07-14T16:14:13Z</dc:date>
    </item>
    <item>
      <title>Re: Monthly Average Orders per Customer in Totals in Matrix Table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Monthly-Average-Orders-per-Customer-in-Totals-in-Matrix-Table/m-p/4762495#M182403</link>
      <description>&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;sanalytics version =&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;IF&lt;/SPAN&gt;&lt;SPAN&gt; ( &lt;/SPAN&gt;&lt;SPAN&gt;ISINSCOPE&lt;/SPAN&gt;&lt;SPAN&gt;( &lt;/SPAN&gt;&lt;SPAN&gt;'Calendar'&lt;/SPAN&gt;&lt;SPAN&gt;[Year Month]&lt;/SPAN&gt;&lt;SPAN&gt; ), &lt;/SPAN&gt;&lt;SPAN&gt;[Orders per Customer]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;[Orders per Customer AVG]&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;If you use this code, it works (already sent yesterday, here again for convenience)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;P&gt;If this helped, please consider giving kudos and mark as a solution&lt;/P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;STRONG&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="273" data-lia-user-login="me" class="lia-mention lia-mention-user"&gt;me&lt;/a&gt; in replies or I'll lose your thread&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;consider voting &lt;A href="https://community.fabric.microsoft.com/t5/Fabric-Ideas/Power-BI-Filter-Pane-as-an-icon-on-the-right-side-bar-in-on/idi-p/4728588" target="_blank"&gt;this Power BI idea&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Francesco Bergamaschi&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;MBA, M.Eng, M.Econ, Professor of BI&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 14 Jul 2025 16:18:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Monthly-Average-Orders-per-Customer-in-Totals-in-Matrix-Table/m-p/4762495#M182403</guid>
      <dc:creator>FBergamaschi</dc:creator>
      <dc:date>2025-07-14T16:18:23Z</dc:date>
    </item>
    <item>
      <title>Re: Monthly Average Orders per Customer in Totals in Matrix Table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Monthly-Average-Orders-per-Customer-in-Totals-in-Matrix-Table/m-p/4762509#M182404</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1287762" data-lia-user-login="FBergamaschi" class="lia-mention lia-mention-user"&gt;FBergamaschi&lt;/a&gt;&amp;nbsp;This should work if the user is not considering replacing the Month Count part.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jul 2025 16:27:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Monthly-Average-Orders-per-Customer-in-Totals-in-Matrix-Table/m-p/4762509#M182404</guid>
      <dc:creator>MasonMA</dc:creator>
      <dc:date>2025-07-14T16:27:44Z</dc:date>
    </item>
    <item>
      <title>Re: Monthly Average Orders per Customer in Totals in Matrix Table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Monthly-Average-Orders-per-Customer-in-Totals-in-Matrix-Table/m-p/4762526#M182406</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1287762" data-lia-user-login="FBergamaschi" class="lia-mention lia-mention-user"&gt;FBergamaschi&lt;/a&gt;&amp;nbsp; Thanks.&amp;nbsp; Short, simple and works.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jul 2025 16:37:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Monthly-Average-Orders-per-Customer-in-Totals-in-Matrix-Table/m-p/4762526#M182406</guid>
      <dc:creator>etane</dc:creator>
      <dc:date>2025-07-14T16:37:37Z</dc:date>
    </item>
    <item>
      <title>Re: Monthly Average Orders per Customer in Totals in Matrix Table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Monthly-Average-Orders-per-Customer-in-Totals-in-Matrix-Table/m-p/4762531#M182409</link>
      <description>&lt;P&gt;Thanks!&amp;nbsp; This works.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jul 2025 16:40:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Monthly-Average-Orders-per-Customer-in-Totals-in-Matrix-Table/m-p/4762531#M182409</guid>
      <dc:creator>etane</dc:creator>
      <dc:date>2025-07-14T16:40:41Z</dc:date>
    </item>
    <item>
      <title>Re: Monthly Average Orders per Customer in Totals in Matrix Table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Monthly-Average-Orders-per-Customer-in-Totals-in-Matrix-Table/m-p/4762532#M182410</link>
      <description>&lt;P&gt;Thanks, in this case please mark it as a solution, I think you marked a different post and not mine (maybe your reply to my answer). Not referring to other solutions you accepted (it is OK to accept more than 1), just to the post you marked as a solution&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jul 2025 16:43:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Monthly-Average-Orders-per-Customer-in-Totals-in-Matrix-Table/m-p/4762532#M182410</guid>
      <dc:creator>FBergamaschi</dc:creator>
      <dc:date>2025-07-14T16:43:43Z</dc:date>
    </item>
    <item>
      <title>Re: Monthly Average Orders per Customer in Totals in Matrix Table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Monthly-Average-Orders-per-Customer-in-Totals-in-Matrix-Table/m-p/4762533#M182411</link>
      <description>&lt;P&gt;Yup I clicked the wrong post.&amp;nbsp; Thanks again for your help.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jul 2025 16:45:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Monthly-Average-Orders-per-Customer-in-Totals-in-Matrix-Table/m-p/4762533#M182411</guid>
      <dc:creator>etane</dc:creator>
      <dc:date>2025-07-14T16:45:45Z</dc:date>
    </item>
  </channel>
</rss>

