<?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: Calculate average at different hierarchy levels in Matrix in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-average-at-different-hierarchy-levels-in-Matrix/m-p/3018194#M102568</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="497853" data-lia-user-login="AJW2023" class="lia-mention lia-mention-user"&gt;AJW2023&lt;/a&gt; , Assuming you only want to change grand total &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;First, create a measure&lt;/P&gt;
&lt;P&gt;M1= Sum(Table[Number sold])&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then create and use this measure&lt;/P&gt;
&lt;P&gt;m2= Averagex(Values(Table[Month]), [M1])&lt;/P&gt;</description>
    <pubDate>Fri, 13 Jan 2023 02:33:41 GMT</pubDate>
    <dc:creator>amitchandak</dc:creator>
    <dc:date>2023-01-13T02:33:41Z</dc:date>
    <item>
      <title>Calculate average at different hierarchy levels in Matrix</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-average-at-different-hierarchy-levels-in-Matrix/m-p/3018142#M102566</link>
      <description>&lt;P&gt;I am attempting to calculate the average itmes sold across different rows (hierarchy) of a matrix table to then compare to the actual number sold for each month and identify through conditional formating months where the number of items sold were above the average.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example:&amp;nbsp;&lt;/P&gt;&lt;P&gt;Calulate the average sold per month for 'Site A' (44/12 = 3.67) to then be able to identify the months where 'Site A' sales was above the average.&lt;/P&gt;&lt;P&gt;Then calculate the average sold per month for area 'Blue' (next level of the hierarchy) and identify the months where 'Blue' area items sold were above the average.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jan 2023 02:04:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-average-at-different-hierarchy-levels-in-Matrix/m-p/3018142#M102566</guid>
      <dc:creator>AJW2023</dc:creator>
      <dc:date>2023-01-13T02:04:36Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate average at different hierarchy levels in Matrix</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-average-at-different-hierarchy-levels-in-Matrix/m-p/3018194#M102568</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="497853" data-lia-user-login="AJW2023" class="lia-mention lia-mention-user"&gt;AJW2023&lt;/a&gt; , Assuming you only want to change grand total &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;First, create a measure&lt;/P&gt;
&lt;P&gt;M1= Sum(Table[Number sold])&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then create and use this measure&lt;/P&gt;
&lt;P&gt;m2= Averagex(Values(Table[Month]), [M1])&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jan 2023 02:33:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-average-at-different-hierarchy-levels-in-Matrix/m-p/3018194#M102568</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2023-01-13T02:33:41Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate average at different hierarchy levels in Matrix</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-average-at-different-hierarchy-levels-in-Matrix/m-p/3018276#M102577</link>
      <description>&lt;P&gt;Thats&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;&amp;nbsp;.&amp;nbsp; That has calculated the averages for each of the rows as I was hoping.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas how to then compare each months total per cagegory and display if it is greater than the average using conditional formating?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example for "Site A" the average is 3.67 therefore the months where the number sold were greater than the average = January, Feburary, May, July, August and September and highlight these values Red&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jan 2023 03:27:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-average-at-different-hierarchy-levels-in-Matrix/m-p/3018276#M102577</guid>
      <dc:creator>AJW2023</dc:creator>
      <dc:date>2023-01-13T03:27:29Z</dc:date>
    </item>
  </channel>
</rss>

