<?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 based on tow categories from different table in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-Average-based-on-tow-categories-from-different-table/m-p/2405039#M63114</link>
    <description>&lt;P&gt;I accepted your answer as a solution. Thanks !!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if it is okay for you i have used it in another dax function&amp;nbsp;&lt;/P&gt;&lt;P&gt;to calculate STD in the same way but it not working , it is gives me 0 for all&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;STD =&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; STDEVX.P(CityTable,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; STDEVX.P(VALUES(CompanyTable[Name]),&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;CALCULATE(STDEVX.P(SalesTable, [Sales Amount]))&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;i really need it for std, i will be greatful.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 20 Mar 2022 14:13:09 GMT</pubDate>
    <dc:creator>SalmanABDul_97</dc:creator>
    <dc:date>2022-03-20T14:13:09Z</dc:date>
    <item>
      <title>Calculate Average based on tow categories from different table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-Average-based-on-tow-categories-from-different-table/m-p/2404971#M63101</link>
      <description>&lt;P&gt;hi everyone!!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have 3 tables&amp;nbsp; Sles table , City Table ,Company table.&amp;nbsp;&lt;/P&gt;&lt;P&gt;i need dax function that calculate avg for every Sales in each company by each City.&amp;nbsp;&lt;/P&gt;&lt;P&gt;final table&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NEW YORK | TEXSAS | Miami&lt;/P&gt;&lt;P&gt;34555&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | 555555| 566777&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;The values ​​are the sum of all companies from each city&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 20 Mar 2022 11:50:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-Average-based-on-tow-categories-from-different-table/m-p/2404971#M63101</guid>
      <dc:creator>SalmanABDul_97</dc:creator>
      <dc:date>2022-03-20T11:50:28Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Average based on tow categories from different table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-Average-based-on-tow-categories-from-different-table/m-p/2405010#M63110</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;If you have any sample data the answer could be better. For now can you try:&lt;/P&gt;&lt;P&gt;Avg Company Sales by city =&amp;nbsp;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; AVERAGEX(CityTable,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;AVERAGEX(VALUES(CompanyTable[Name]),&amp;nbsp;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;CALCULATE(AVERAGE(SalesTable[Sales Amount]))&lt;BR /&gt;)&lt;BR /&gt;)&lt;/P&gt;</description>
      <pubDate>Sun, 20 Mar 2022 13:18:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-Average-based-on-tow-categories-from-different-table/m-p/2405010#M63110</guid>
      <dc:creator>Whitewater100</dc:creator>
      <dc:date>2022-03-20T13:18:39Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Average based on tow categories from different table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-Average-based-on-tow-categories-from-different-table/m-p/2405023#M63111</link>
      <description>&lt;P&gt;salesamount is a calculated measure. sorry i did not mention that. i will add dummy data to help you.&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;so it will be like that :&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Avg Company Sales by city =&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; AVERAGEX(CityTable,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;AVERAGEX(VALUES(CompanyTable[Name]),&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;CALCULATE(AVERAGE(SalesTable, [Sales Amount]))&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 20 Mar 2022 13:38:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-Average-based-on-tow-categories-from-different-table/m-p/2405023#M63111</guid>
      <dc:creator>SalmanABDul_97</dc:creator>
      <dc:date>2022-03-20T13:38:41Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Average based on tow categories from different table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-Average-based-on-tow-categories-from-different-table/m-p/2405031#M63113</link>
      <description>&lt;P&gt;OK. Thank you. If you have Sales Measure already [Sales Amount] it can be:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Avg Company Sales by city =&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; AVERAGEX(CityTable,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;AVERAGEX(VALUES(CompanyTable[Name]),&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;CALCULATE(AVERAGE([Sales Amount]))&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If you include a file I can double check it.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 20 Mar 2022 13:45:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-Average-based-on-tow-categories-from-different-table/m-p/2405031#M63113</guid>
      <dc:creator>Whitewater100</dc:creator>
      <dc:date>2022-03-20T13:45:29Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Average based on tow categories from different table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-Average-based-on-tow-categories-from-different-table/m-p/2405039#M63114</link>
      <description>&lt;P&gt;I accepted your answer as a solution. Thanks !!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if it is okay for you i have used it in another dax function&amp;nbsp;&lt;/P&gt;&lt;P&gt;to calculate STD in the same way but it not working , it is gives me 0 for all&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;STD =&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; STDEVX.P(CityTable,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; STDEVX.P(VALUES(CompanyTable[Name]),&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;CALCULATE(STDEVX.P(SalesTable, [Sales Amount]))&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;i really need it for std, i will be greatful.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 20 Mar 2022 14:13:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-Average-based-on-tow-categories-from-different-table/m-p/2405039#M63114</guid>
      <dc:creator>SalmanABDul_97</dc:creator>
      <dc:date>2022-03-20T14:13:09Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Average based on tow categories from different table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-Average-based-on-tow-categories-from-different-table/m-p/2405082#M63119</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;Thank you. If you have standard deviation as a separate measure you can try:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Avg Company STD by city =&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; AVERAGEX(CityTable,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;AVERAGEX(VALUES(CompanyTable[Name]),&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;CALCULATE(AVERAGE([STD]))&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 20 Mar 2022 16:27:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-Average-based-on-tow-categories-from-different-table/m-p/2405082#M63119</guid>
      <dc:creator>Whitewater100</dc:creator>
      <dc:date>2022-03-20T16:27:33Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Average based on tow categories from different table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-Average-based-on-tow-categories-from-different-table/m-p/2405147#M63123</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Thank you for the time and effort you put toward helping me find the solution.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;I meant calculating the standard deviation by city for every company in it. Same the first dax you did but for STD is not give any right number, it just give me zeros &lt;/SPAN&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 20 Mar 2022 19:33:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-Average-based-on-tow-categories-from-different-table/m-p/2405147#M63123</guid>
      <dc:creator>SalmanABDul_97</dc:creator>
      <dc:date>2022-03-20T19:33:47Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Average based on tow categories from different table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-Average-based-on-tow-categories-from-different-table/m-p/2405167#M63124</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;I'm sorry about that. Do you have any sample data I could look at and what types of figures you expect for the solution for STD?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Sun, 20 Mar 2022 20:12:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-Average-based-on-tow-categories-from-different-table/m-p/2405167#M63124</guid>
      <dc:creator>Whitewater100</dc:creator>
      <dc:date>2022-03-20T20:12:17Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Average based on tow categories from different table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-Average-based-on-tow-categories-from-different-table/m-p/2405180#M63125</link>
      <description>&lt;P&gt;thanks. your solution it work now. after creating std measure.&amp;nbsp;&lt;/P&gt;&lt;P&gt;but i wonder, why we use avreage here ? its givs corecct answer, but why we need to use avg?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Avg Company STD by city =&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; AVERAGEX(CityTable,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;AVERAGEX(VALUES(CompanyTable[Name]),&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;CALCULATE(AVERAGE([STD]))&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 20 Mar 2022 20:24:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-Average-based-on-tow-categories-from-different-table/m-p/2405180#M63125</guid>
      <dc:creator>SalmanABDul_97</dc:creator>
      <dc:date>2022-03-20T20:24:48Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Average based on tow categories from different table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-Average-based-on-tow-categories-from-different-table/m-p/2405291#M63134</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;Can you see the last line of code, it has [STD} to base the average from.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;CALCULATE(AVERAGE([STD]))&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Mar 2022 00:25:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-Average-based-on-tow-categories-from-different-table/m-p/2405291#M63134</guid>
      <dc:creator>Whitewater100</dc:creator>
      <dc:date>2022-03-21T00:25:49Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Average based on tow categories from different table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-Average-based-on-tow-categories-from-different-table/m-p/2408099#M63306</link>
      <description>&lt;P&gt;sorry i did it again and seems i have problem&amp;nbsp;&lt;/P&gt;&lt;P&gt;i want it to calculate the avg in this way&amp;nbsp;&lt;/P&gt;&lt;P&gt;let assume that new york has 4 company&lt;/P&gt;&lt;P&gt;and the sales are 444, 2344, 5555, 5553 for each company in new york.&amp;nbsp;&lt;/P&gt;&lt;P&gt;the averge sholud be 3474.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i dont think the dax function do it like that, right?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;really sorry. but its important for me and i have been working on it for days.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Mar 2022 03:00:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-Average-based-on-tow-categories-from-different-table/m-p/2408099#M63306</guid>
      <dc:creator>SalmanABDul_97</dc:creator>
      <dc:date>2022-03-22T03:00:39Z</dc:date>
    </item>
  </channel>
</rss>

