<?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: Matrix total not average in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-total-not-average/m-p/3220475#M117697</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="397504" data-lia-user-login="newhopepdx" class="lia-mention lia-mention-user"&gt;newhopepdx&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SUMMARIZE would work just fineand probably more efficient without the need for CALCULATE&lt;/P&gt;
&lt;P&gt;AvAtt =&lt;BR /&gt;SUMX (&lt;BR /&gt;SUMMARIZE (&lt;BR /&gt;'tblAttendance',&lt;BR /&gt;'tblAttendance'[Venue],&lt;BR /&gt;"@Average", AVERAGE ( 'tblAttendance'[Attendance] )&lt;BR /&gt;),&lt;BR /&gt;[@Average]&lt;BR /&gt;)&lt;/P&gt;</description>
    <pubDate>Thu, 04 May 2023 16:18:47 GMT</pubDate>
    <dc:creator>tamerj1</dc:creator>
    <dc:date>2023-05-04T16:18:47Z</dc:date>
    <item>
      <title>Matrix total not average</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-total-not-average/m-p/3218697#M117581</link>
      <description>&lt;P&gt;Visual is a matrix with Venues as rows and months as columns.&amp;nbsp; Values are attendance totals. Measure calculates the Average monthly attendance.&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;AvAtt = &lt;/SPAN&gt;&lt;SPAN&gt;AVERAGEX&lt;/SPAN&gt;&lt;SPAN&gt;(&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;'tblAttendance'&lt;/SPAN&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;'tblAttendance'&lt;/SPAN&gt;&lt;SPAN&gt;[Attendance]&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cells are accurately reflecting the average attendance for each event in the month (5 in the case of April). The column total (128) is incorrect and should be 512. I know it has to do with averaging averages, but can't find the right DAX formlua.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's a screen print of the matrix and a spreadsheet showing the raw data and hand calculated values expected...&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 May 2023 21:38:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-total-not-average/m-p/3218697#M117581</guid>
      <dc:creator>newhopepdx</dc:creator>
      <dc:date>2023-05-03T21:38:59Z</dc:date>
    </item>
    <item>
      <title>Re: Matrix total not average</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-total-not-average/m-p/3218705#M117582</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="397504" data-lia-user-login="newhopepdx" class="lia-mention lia-mention-user"&gt;newhopepdx&lt;/a&gt;&amp;nbsp;First, please vote for this idea: &lt;A href="https://ideas.powerbi.com/ideas/idea/?ideaid=082203f1-594f-4ba7-ac87-bb91096c742e" target="_blank"&gt;https://ideas.powerbi.com/ideas/idea/?ideaid=082203f1-594f-4ba7-ac87-bb91096c742e&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;This looks like a measure totals problem. Very common. See my post about it here: &lt;A href="https://community.powerbi.com/t5/DAX-Commands-and-Tips/Dealing-with-Measure-Totals/td-p/63376" target="_blank"&gt;https://community.powerbi.com/t5/DAX-Commands-and-Tips/Dealing-with-Measure-Totals/td-p/63376&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Also, this Quick Measure, Measure Totals, The Final Word should get you what you need:&lt;BR /&gt;&lt;A href="https://community.powerbi.com/t5/Quick-Measures-Gallery/Measure-Totals-The-Final-Word/m-p/547907" target="_blank"&gt;https://community.powerbi.com/t5/Quick-Measures-Gallery/Measure-Totals-The-Final-Word/m-p/547907&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Also: &lt;A href="https://youtu.be/uXRriTN0cfY" target="_blank"&gt;https://youtu.be/uXRriTN0cfY&lt;/A&gt;&lt;BR /&gt;And: &lt;A href="https://youtu.be/n4TYhF2ARe8" target="_blank"&gt;https://youtu.be/n4TYhF2ARe8&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 May 2023 21:43:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-total-not-average/m-p/3218705#M117582</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2023-05-03T21:43:11Z</dc:date>
    </item>
    <item>
      <title>Re: Matrix total not average</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-total-not-average/m-p/3219099#M117607</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="397504" data-lia-user-login="newhopepdx" class="lia-mention lia-mention-user"&gt;newhopepdx&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;please try&lt;/P&gt;
&lt;P&gt;AvAtt =&lt;BR /&gt;SUMX (&lt;BR /&gt;VALUES ( 'tblAttendance'[Venue] ),&lt;BR /&gt;CALCULATE ( AVERAGE ( 'tblAttendance'[Attendance] ) )&lt;BR /&gt;)&lt;/P&gt;</description>
      <pubDate>Thu, 04 May 2023 03:24:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-total-not-average/m-p/3219099#M117607</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-05-04T03:24:02Z</dc:date>
    </item>
    <item>
      <title>Re: Matrix total not average</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-total-not-average/m-p/3220324#M117692</link>
      <description>&lt;P&gt;Elegant!&lt;/P&gt;&lt;P&gt;"VALUES", I was trying to configure something with SUMMERIZE and hadn't hit on the right arguments.&lt;/P&gt;</description>
      <pubDate>Thu, 04 May 2023 15:06:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-total-not-average/m-p/3220324#M117692</guid>
      <dc:creator>newhopepdx</dc:creator>
      <dc:date>2023-05-04T15:06:36Z</dc:date>
    </item>
    <item>
      <title>Re: Matrix total not average</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-total-not-average/m-p/3220475#M117697</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="397504" data-lia-user-login="newhopepdx" class="lia-mention lia-mention-user"&gt;newhopepdx&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SUMMARIZE would work just fineand probably more efficient without the need for CALCULATE&lt;/P&gt;
&lt;P&gt;AvAtt =&lt;BR /&gt;SUMX (&lt;BR /&gt;SUMMARIZE (&lt;BR /&gt;'tblAttendance',&lt;BR /&gt;'tblAttendance'[Venue],&lt;BR /&gt;"@Average", AVERAGE ( 'tblAttendance'[Attendance] )&lt;BR /&gt;),&lt;BR /&gt;[@Average]&lt;BR /&gt;)&lt;/P&gt;</description>
      <pubDate>Thu, 04 May 2023 16:18:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-total-not-average/m-p/3220475#M117697</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-05-04T16:18:47Z</dc:date>
    </item>
    <item>
      <title>Re: Matrix total not average</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-total-not-average/m-p/3225829#M118135</link>
      <description>&lt;P&gt;Just curious... why the&amp;nbsp;@before the Average? Just a personal convention, or does it have a more important meaning?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 09 May 2023 00:04:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-total-not-average/m-p/3225829#M118135</guid>
      <dc:creator>newhopepdx</dc:creator>
      <dc:date>2023-05-09T00:04:48Z</dc:date>
    </item>
    <item>
      <title>Re: Matrix total not average</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-total-not-average/m-p/3225875#M118139</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="397504" data-lia-user-login="newhopepdx" class="lia-mention lia-mention-user"&gt;newhopepdx&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Just to distinguish between newly created columns and original data model measures.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 May 2023 01:22:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-total-not-average/m-p/3225875#M118139</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-05-09T01:22:38Z</dc:date>
    </item>
  </channel>
</rss>

