Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
SJHALANI
Helper I
Helper I

Create new column which is an average of values in other column

Hi Guys,

I am new to Power Bi and need help with creating a column which should do an average of other 4 columns for every row.
Attaching a screenshot for reference:

SJHALANI_0-1688722508727.png

So, basically want to create a new column - let's call it Average.

So, Average = average of (0.6686+0.66+0.6616+0.6664)  //taking example of 2nd row

Please help me how can I achieve this using Power query. Thanks!

2 ACCEPTED SOLUTIONS
goncalogeraldes
Super User
Super User

Hi @SJHALANI , you can add this column Power Query in the "Add column" tab and then "Custom Column" like so:

 

goncalogeraldes_0-1688722875052.png

 

In the pop-up window you can add the following code:

goncalogeraldes_1-1688723075114.png

 

( [field_16] + [field_17] + [field_18] + [field_19] ) / 4 

 

Hope this answer solves your problem!
If you need any additional help please @ me in your reply.
If my reply provided you with a solution, please consider marking it as a solution ✔️ or giving it a kudoe 👍
Thanks!

You can also check out my LinkedIn!

Best regards,
Gonçalo Geraldes

View solution in original post

BA_Pete
Super User
Super User

Hi @SJHALANI ,

 

The answer provided by @goncalogeraldes will work for the most part.

However, I would recommend using List.Average instead as this will correctly handle null values if they occur in your columns:

List.Average( { [field_16], [field_17], [field_18], [field_19] } )

 

Pete



Now accepting Kudos! If my post helped you, why not give it a thumbs-up?

Proud to be a Datanaut!




View solution in original post

2 REPLIES 2
BA_Pete
Super User
Super User

Hi @SJHALANI ,

 

The answer provided by @goncalogeraldes will work for the most part.

However, I would recommend using List.Average instead as this will correctly handle null values if they occur in your columns:

List.Average( { [field_16], [field_17], [field_18], [field_19] } )

 

Pete



Now accepting Kudos! If my post helped you, why not give it a thumbs-up?

Proud to be a Datanaut!




goncalogeraldes
Super User
Super User

Hi @SJHALANI , you can add this column Power Query in the "Add column" tab and then "Custom Column" like so:

 

goncalogeraldes_0-1688722875052.png

 

In the pop-up window you can add the following code:

goncalogeraldes_1-1688723075114.png

 

( [field_16] + [field_17] + [field_18] + [field_19] ) / 4 

 

Hope this answer solves your problem!
If you need any additional help please @ me in your reply.
If my reply provided you with a solution, please consider marking it as a solution ✔️ or giving it a kudoe 👍
Thanks!

You can also check out my LinkedIn!

Best regards,
Gonçalo Geraldes

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors