<?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: Averages in graph by two Categories in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Averages-in-graph-by-two-Categories/m-p/4015622#M158250</link>
    <description>&lt;P&gt;Thank you!&amp;nbsp; The field has more than sales and online.&amp;nbsp; Is there a way for me to group by category field so I don't have do one for more than the two?&amp;nbsp; Can the formula group by Category Field and then do the average?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thank you again for your quick response.&lt;/P&gt;</description>
    <pubDate>Fri, 28 Jun 2024 12:39:26 GMT</pubDate>
    <dc:creator>Alaska1</dc:creator>
    <dc:date>2024-06-28T12:39:26Z</dc:date>
    <item>
      <title>Averages in graph by two Categories</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Averages-in-graph-by-two-Categories/m-p/4014179#M158130</link>
      <description>&lt;P&gt;I am a new user to Power Bi.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a data field with a scale from 1-10.&amp;nbsp; I can get the overall average on my graph but I need to break it down by two other Categories.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sales - Branch Avg. 4.3&lt;/P&gt;&lt;P&gt;Online - Store Avg 6.3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do I have to create a measure?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jun 2024 20:23:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Averages-in-graph-by-two-Categories/m-p/4014179#M158130</guid>
      <dc:creator>Alaska1</dc:creator>
      <dc:date>2024-06-27T20:23:44Z</dc:date>
    </item>
    <item>
      <title>Re: Averages in graph by two Categories</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Averages-in-graph-by-two-Categories/m-p/4014448#M158161</link>
      <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="767342" data-lia-user-login="Alaska1" class="lia-mention lia-mention-user"&gt;Alaska1&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Based on my testing again, please &lt;SPAN&gt;try the following methods again:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;1.Create the sample table.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;2.Create the new measures to calculate the average.&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;BranchAvg = AVERAGEX(FILTER('Table', 'Table'[Category] = "Sales"), 'Table'[Scale])&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;Store Avg = AVERAGEX(FILTER('Table', 'Table'[Category] = "Online"), 'Table'[Scale])&lt;/LI-CODE&gt;
&lt;P&gt;&lt;SPAN&gt;3.Drag the measure into the column chart. The result is shown below.&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;Best Regards,&lt;/P&gt;
&lt;P&gt;Wisdom Wu&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If this post&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;helps&lt;/EM&gt;&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&lt;/EM&gt;&lt;/STRONG&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jun 2024 01:49:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Averages-in-graph-by-two-Categories/m-p/4014448#M158161</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-06-28T01:49:12Z</dc:date>
    </item>
    <item>
      <title>Re: Averages in graph by two Categories</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Averages-in-graph-by-two-Categories/m-p/4015622#M158250</link>
      <description>&lt;P&gt;Thank you!&amp;nbsp; The field has more than sales and online.&amp;nbsp; Is there a way for me to group by category field so I don't have do one for more than the two?&amp;nbsp; Can the formula group by Category Field and then do the average?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thank you again for your quick response.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jun 2024 12:39:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Averages-in-graph-by-two-Categories/m-p/4015622#M158250</guid>
      <dc:creator>Alaska1</dc:creator>
      <dc:date>2024-06-28T12:39:26Z</dc:date>
    </item>
    <item>
      <title>Re: Averages in graph by two Categories</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Averages-in-graph-by-two-Categories/m-p/4018076#M158455</link>
      <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="767342" data-lia-user-login="Alaska1" class="lia-mention lia-mention-user"&gt;Alaska1&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Based on the description, please &lt;SPAN&gt;try the following &lt;/SPAN&gt;&lt;SPAN&gt;DAX formula for multiple items.&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;AverageMeasure = 
CALCULATE (
    AVERAGE('Table'[Scale]),
    FILTER(ALLSELECTED ('Table'), 'Table'[Category] = MAX ('Table'[Category]) )
)&lt;/LI-CODE&gt;
&lt;P&gt;&lt;SPAN&gt;Drag the measure into the Y-axis. &lt;/SPAN&gt;&lt;SPAN&gt;The result is shown below.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Wisdom Wu&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If this post&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;helps&lt;/EM&gt;&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&lt;/EM&gt;&lt;/STRONG&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2024 07:55:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Averages-in-graph-by-two-Categories/m-p/4018076#M158455</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-07-01T07:55:15Z</dc:date>
    </item>
    <item>
      <title>Re: Averages in graph by two Categories</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Averages-in-graph-by-two-Categories/m-p/4022649#M158718</link>
      <description>&lt;P&gt;Thank you!&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jul 2024 10:17:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Averages-in-graph-by-two-Categories/m-p/4022649#M158718</guid>
      <dc:creator>Alaska1</dc:creator>
      <dc:date>2024-07-03T10:17:33Z</dc:date>
    </item>
  </channel>
</rss>

