<?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 Average of filtered values (filtered from value in another column) in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Average-of-filtered-values-filtered-from-value-in-another-column/m-p/3151272#M112868</link>
    <description>&lt;P&gt;Hi, I would like to create an average value from a filtered set of rows, where the value in another field = "Boats".&lt;/P&gt;&lt;P&gt;i.e. I have all the amounts in one column, but some of these are for (e.g.) planes, some for boats, some for cars. And the vehicle type is recorded in another column. So looking to create an average for each vehicle type.&lt;/P&gt;&lt;P&gt;E.g. BoatAverageAmount = average of the amount field in rows where vehicletype = "Boat".&lt;/P&gt;&lt;P&gt;Would this be a column or a measure? And what would be the DAX?&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;</description>
    <pubDate>Fri, 24 Mar 2023 01:19:10 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-03-24T01:19:10Z</dc:date>
    <item>
      <title>Average of filtered values (filtered from value in another column)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Average-of-filtered-values-filtered-from-value-in-another-column/m-p/3151272#M112868</link>
      <description>&lt;P&gt;Hi, I would like to create an average value from a filtered set of rows, where the value in another field = "Boats".&lt;/P&gt;&lt;P&gt;i.e. I have all the amounts in one column, but some of these are for (e.g.) planes, some for boats, some for cars. And the vehicle type is recorded in another column. So looking to create an average for each vehicle type.&lt;/P&gt;&lt;P&gt;E.g. BoatAverageAmount = average of the amount field in rows where vehicletype = "Boat".&lt;/P&gt;&lt;P&gt;Would this be a column or a measure? And what would be the DAX?&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Mar 2023 01:19:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Average-of-filtered-values-filtered-from-value-in-another-column/m-p/3151272#M112868</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-03-24T01:19:10Z</dc:date>
    </item>
    <item>
      <title>Re: Average of filtered values (filtered from value in another column)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Average-of-filtered-values-filtered-from-value-in-another-column/m-p/3151386#M112871</link>
      <description>&lt;P&gt;=CALCULATE(AVERAGE(Table[Amount]),Table[Vehicle Type]="Boat")&lt;/P&gt;</description>
      <pubDate>Fri, 24 Mar 2023 02:24:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Average-of-filtered-values-filtered-from-value-in-another-column/m-p/3151386#M112871</guid>
      <dc:creator>wdx223_Daniel</dc:creator>
      <dc:date>2023-03-24T02:24:24Z</dc:date>
    </item>
    <item>
      <title>Re: Average of filtered values (filtered from value in another column)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Average-of-filtered-values-filtered-from-value-in-another-column/m-p/3154724#M113116</link>
      <description>&lt;P&gt;Thanks! I get an error when trying to use this formula in a column for each vehicle average ('A circular dependency was detected') but it seems to work fine as a measure.&lt;/P&gt;</description>
      <pubDate>Sun, 26 Mar 2023 23:06:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Average-of-filtered-values-filtered-from-value-in-another-column/m-p/3154724#M113116</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-03-26T23:06:22Z</dc:date>
    </item>
    <item>
      <title>Re: Average of filtered values (filtered from value in another column)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Average-of-filtered-values-filtered-from-value-in-another-column/m-p/3154870#M113132</link>
      <description>&lt;P&gt;create calculated column, please try this&lt;/P&gt;
&lt;P&gt;new column=AVERAGEX(FILTER(Table,Table[Vehicle Type]="Boat"),Table[Amount])&lt;/P&gt;</description>
      <pubDate>Mon, 27 Mar 2023 01:18:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Average-of-filtered-values-filtered-from-value-in-another-column/m-p/3154870#M113132</guid>
      <dc:creator>wdx223_Daniel</dc:creator>
      <dc:date>2023-03-27T01:18:51Z</dc:date>
    </item>
    <item>
      <title>Re: Average of filtered values (filtered from value in another column)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Average-of-filtered-values-filtered-from-value-in-another-column/m-p/3155187#M113148</link>
      <description>&lt;P&gt;That works perfectly, thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 27 Mar 2023 06:11:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Average-of-filtered-values-filtered-from-value-in-another-column/m-p/3155187#M113148</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-03-27T06:11:27Z</dc:date>
    </item>
  </channel>
</rss>

