Join 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!Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.
Hey guys,
I want to calculate average values of column 2 depending on changing values in column 1. This average value should be written in a new column 3. The average value can be repeated in this new column 3. Values of column 1 are not predetermined so the code should depend on a change of values and not the defined values.
column 1 | column 2 | column 3 |
160 | 0,402 | 0,4065 |
160 | 0,406 | 0,4065 |
160 | 0,408 | 0,4065 |
160 | 0,41 | 0,4065 |
140 | 0,28 | 0,2813 |
140 | 0,286 | 0,2813 |
140 | 0,278 | 0,2813 |
I would really appreciate your help!
Regards
Solved! Go to Solution.
Hi, @Anonymous
You can try the following methods.
Column 3 = CALCULATE(AVERAGE('Table'[column 2]),ALLEXCEPT('Table','Table'[column 1]))
Is this the result you expect?
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @Anonymous
You can try the following methods.
Column 3 = CALCULATE(AVERAGE('Table'[column 2]),ALLEXCEPT('Table','Table'[column 1]))
Is this the result you expect?
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thanks!
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.