Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.
I have the following data in power BI (columns 1 - 3). I'm struggling with the DAX to create a column (column 4) with the average of the Values (column 3) for Weeks 9 and 10. The value in the new column "Week9&10 Average" should be unique based on the facility name in the first column. Thanks in advance!
Solved! Go to Solution.
Column = AVERAGEX(
filter('Table',
'Table'[Facility]=EARLIER('Table'[Facility])
&&('Table'[Week]="Week9"||'Table'[Week]="Week10"))
,'Table'[Value])
Column = AVERAGEX(
filter('Table',
'Table'[Facility]=EARLIER('Table'[Facility])
&&('Table'[Week]="Week9"||'Table'[Week]="Week10"))
,'Table'[Value])
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 76 | |
| 38 | |
| 31 | |
| 27 | |
| 26 |