<?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: Average without Filter context in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Average-without-Filter-context/m-p/2176352#M50619</link>
    <description>&lt;P&gt;Thanks, It was exactly what i need.&lt;/P&gt;&lt;P&gt;Works perfectly.&lt;/P&gt;</description>
    <pubDate>Sun, 07 Nov 2021 10:16:32 GMT</pubDate>
    <dc:creator>DAsilar</dc:creator>
    <dc:date>2021-11-07T10:16:32Z</dc:date>
    <item>
      <title>Average without Filter context</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Average-without-Filter-context/m-p/2176065#M50611</link>
      <description>&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;Im trying to create a measure (average of grading), with has filter context with the classes(Math, history, geographics), but doesnt change when i filter a student name.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My tablle have the Fields: studentsname, classes, content, test_grade.&lt;/P&gt;&lt;P&gt;For example:&amp;nbsp;&lt;/P&gt;&lt;P&gt;Students_name: Jhon,&lt;/P&gt;&lt;P&gt;Classes: Math&lt;/P&gt;&lt;P&gt;Contents: geometry, calculation, logic, etc.&lt;/P&gt;&lt;P&gt;Test_grading: 9.5, 10, 8.5, etc&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to create a measure with the average of all test_grade students for each classes.&lt;/P&gt;&lt;P&gt;I want to compare the Math average of each student with de general Math average(of all student).&lt;/P&gt;&lt;P&gt;And my difficulty is to create the all_students average for each class. Because when filter the student name, the general average changes too the same average of the selected student.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone Help me How o can do this?&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 06 Nov 2021 22:57:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Average-without-Filter-context/m-p/2176065#M50611</guid>
      <dc:creator>DAsilar</dc:creator>
      <dc:date>2021-11-06T22:57:36Z</dc:date>
    </item>
    <item>
      <title>Re: Average without Filter context</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Average-without-Filter-context/m-p/2176072#M50612</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="337286" data-lia-user-login="DAsilar" class="lia-mention lia-mention-user"&gt;DAsilar&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try to use the &lt;A href="https://docs.microsoft.com/en-us/dax/removefilters-function-dax" target="_blank"&gt;REMOVEFILTERS&lt;/A&gt; DAX function to create a measure, something like this:&lt;/P&gt;&lt;LI-CODE lang="php"&gt;Average =
CALCULATE(
    AVERAGE( table[Test_grading] ),
    REMOVEFILTERS( table[Students name] )
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&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;accepting&lt;/STRONG&gt;&lt;STRONG&gt;&lt;EM&gt;&amp;nbsp;it as the solution&amp;nbsp;&lt;/EM&gt;&lt;/STRONG&gt;to help the other members find it more quickly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Appreciate your Kudos!!&lt;/STRONG&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 06 Nov 2021 23:22:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Average-without-Filter-context/m-p/2176072#M50612</guid>
      <dc:creator>VahidDM</dc:creator>
      <dc:date>2021-11-06T23:22:53Z</dc:date>
    </item>
    <item>
      <title>Re: Average without Filter context</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Average-without-Filter-context/m-p/2176352#M50619</link>
      <description>&lt;P&gt;Thanks, It was exactly what i need.&lt;/P&gt;&lt;P&gt;Works perfectly.&lt;/P&gt;</description>
      <pubDate>Sun, 07 Nov 2021 10:16:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Average-without-Filter-context/m-p/2176352#M50619</guid>
      <dc:creator>DAsilar</dc:creator>
      <dc:date>2021-11-07T10:16:32Z</dc:date>
    </item>
  </channel>
</rss>

