Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi.
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.
My tablle have the Fields: studentsname, classes, content, test_grade.
For example:
Students_name: Jhon,
Classes: Math
Contents: geometry, calculation, logic, etc.
Test_grading: 9.5, 10, 8.5, etc
I need to create a measure with the average of all test_grade students for each classes.
I want to compare the Math average of each student with de general Math average(of all student).
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.
Can anyone Help me How o can do this?
Solved! Go to Solution.
Hi @DAsilar
Try to use the REMOVEFILTERS DAX function to create a measure, something like this:
Average =
CALCULATE(
AVERAGE( table[Test_grading] ),
REMOVEFILTERS( table[Students name] )
)
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Hi @DAsilar
Try to use the REMOVEFILTERS DAX function to create a measure, something like this:
Average =
CALCULATE(
AVERAGE( table[Test_grading] ),
REMOVEFILTERS( table[Students name] )
)
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Thanks, It was exactly what i need.
Works perfectly.
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
18 | |
7 | |
7 | |
6 | |
6 |
User | Count |
---|---|
23 | |
10 | |
10 | |
9 | |
7 |