<?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: Calculating Average by multiple columns in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-Average-by-multiple-columns/m-p/2697095#M81431</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="425514" data-lia-user-login="skolathu" class="lia-mention lia-mention-user"&gt;skolathu&lt;/a&gt; , Assume you sum values and then table Avg, then you can try measure like. Same is true for Max /min etc &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;AverageX(summarize(Table, Table[Month Year], Table[product], "_sum", calculate(Sum(Table[Value])) ) , [_sum])&lt;/P&gt;</description>
    <pubDate>Fri, 12 Aug 2022 09:40:05 GMT</pubDate>
    <dc:creator>amitchandak</dc:creator>
    <dc:date>2022-08-12T09:40:05Z</dc:date>
    <item>
      <title>Calculating Average by multiple columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-Average-by-multiple-columns/m-p/2696851#M81412</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I am trying to calculate average based on multiple column. Would have used AverageIfs in excel for this calculation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;Average Revenue by &lt;STRONG&gt;"FY Quarter, Month, City and product"&lt;/STRONG&gt; and then calculate &lt;STRONG&gt;"Max Sales by FY quarter, Month and city"&lt;/STRONG&gt; and finally calculate difference between&amp;nbsp;"&lt;STRONG&gt;Max Sales by FY quarter, Month and city&lt;/STRONG&gt;" and&amp;nbsp;"&lt;STRONG&gt;FY Quarter, Month, City and product&lt;/STRONG&gt;" in percentage. Based on high percentage of revenue need to get "Product" name as recomendation to taget.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can any one help on how to do this in powerbi.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sriram&lt;/P&gt;</description>
      <pubDate>Fri, 12 Aug 2022 07:38:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-Average-by-multiple-columns/m-p/2696851#M81412</guid>
      <dc:creator>skolathu</dc:creator>
      <dc:date>2022-08-12T07:38:01Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Average by multiple columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-Average-by-multiple-columns/m-p/2697095#M81431</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="425514" data-lia-user-login="skolathu" class="lia-mention lia-mention-user"&gt;skolathu&lt;/a&gt; , Assume you sum values and then table Avg, then you can try measure like. Same is true for Max /min etc &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;AverageX(summarize(Table, Table[Month Year], Table[product], "_sum", calculate(Sum(Table[Value])) ) , [_sum])&lt;/P&gt;</description>
      <pubDate>Fri, 12 Aug 2022 09:40:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-Average-by-multiple-columns/m-p/2697095#M81431</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-08-12T09:40:05Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Average by multiple columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-Average-by-multiple-columns/m-p/2705653#M82033</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="425514" data-lia-user-login="skolathu" class="lia-mention lia-mention-user"&gt;skolathu&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for reaching out to us.&lt;/P&gt;
&lt;P&gt;How to convert AVERAGEIFS to dax code, please refer to this post&amp;nbsp;&lt;A href="https://community.powerbi.com/t5/DAX-Commands-and-Tips/AVERAGEIFS-in-dax/td-p/2653698" target="_blank"&gt;https://community.powerbi.com/t5/DAX-Commands-and-Tips/AVERAGEIFS-in-dax/td-p/2653698&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Community Support Team _Tang&lt;/P&gt;
&lt;P&gt;If this post&amp;nbsp;&lt;STRONG&gt;helps&lt;/STRONG&gt;, 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;/P&gt;</description>
      <pubDate>Wed, 17 Aug 2022 08:11:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-Average-by-multiple-columns/m-p/2705653#M82033</guid>
      <dc:creator>v-xiaotang</dc:creator>
      <dc:date>2022-08-17T08:11:02Z</dc:date>
    </item>
  </channel>
</rss>

