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 @BenGWeeks ,
If [Area] is a determined value,
Try below measure:
AVERAGE=CALCULATE(AVERAGE(DevOpsAssessmentResponses[Area]),FILTER(ALL('DevOpsAssessmentResponses'),DevOpsAssessmentResponses[Area]="XXXXX"))
If [Area] is dynamic,
Try below measure:
AVERAGE=CALCULATE(AVERAGE(DevOpsAssessmentResponses[Area]),FILTER(ALL('DevOpsAssessmentResponses'),DevOpsAssessmentResponses[Area]=MAX(DevOpsAssessmentResponses[Area]))
Best Regards,
Kelly
Did I answer your question? Mark my post as a solution!
Hi @BenGWeeks ,
If [Area] is a determined value,
Try below measure:
AVERAGE=CALCULATE(AVERAGE(DevOpsAssessmentResponses[Area]),FILTER(ALL('DevOpsAssessmentResponses'),DevOpsAssessmentResponses[Area]="XXXXX"))
If [Area] is dynamic,
Try below measure:
AVERAGE=CALCULATE(AVERAGE(DevOpsAssessmentResponses[Area]),FILTER(ALL('DevOpsAssessmentResponses'),DevOpsAssessmentResponses[Area]=MAX(DevOpsAssessmentResponses[Area]))
Best Regards,
Kelly
Did I answer your question? Mark my post as a solution!
Use SELECTEDVALUE() or MIN() / MAX() etc depending if you care about totals being meaningful.
You need to capture SELECTEDVALUE before you do CALCULATE(), by assigning a variable. below example illustrates the point but is a bit useless as the "current row" is already in the context, so it is not necessary to filter like this.
AVERAGE =
var a = SELECTEDVALUE(DevOpsAssessmentResponses[Area])
return CALCULATE(AVERAGE(something something),DevOpsAssessmentResponses[Area]=a)
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 |
---|---|
62 | |
61 | |
52 | |
39 | |
23 |
User | Count |
---|---|
85 | |
58 | |
45 | |
43 | |
38 |