Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
This is my sample table :
| Student | Subject | Marks |
| A | English | 1 |
| B | English | 2 |
| C | English | 3 |
I have two separate slicers on my page student and subject and selected Student "A" & Subject "English"
| Student | Subject |
| A | English |
Excepted Result:
| Student | Subject | Student A Marks | Average of B & C MARKS |
| A | English | 1 | 2.5 |
Please suggest a Dax formula for this requirement.
Solved! Go to Solution.
@nagendrakumar Try this:
Measure =
VAR __Student = MAX('Table'[Student])
VAR __Subject = MAX('Table'[Subject])
VAR __Table = FILTER(ALL('Table'), [Student] <> __Student && [Subject] = __Subject)
RETURN
AVERAGEX(__Table,[Marks])
@nagendrakumar Try this:
Measure =
VAR __Student = MAX('Table'[Student])
VAR __Subject = MAX('Table'[Subject])
VAR __Table = FILTER(ALL('Table'), [Student] <> __Student && [Subject] = __Subject)
RETURN
AVERAGEX(__Table,[Marks])
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 7 | |
| 6 | |
| 4 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 25 | |
| 17 | |
| 8 | |
| 8 | |
| 7 |