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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Jacob-Celadon
New Member

Help Creating a Table to Average Multiple Different Columns

Hello!

 

I currently have a table that I am importing that includes 48 columns in it. These are each labeled "Ch01", "Ch02", "Ch03", and so on.

I am trying to create a new table which contains 2 columns, the first one being the column name from original table (so Ch01 for the first row, Ch02 for the 2nd row, ...) then where the 2nd column is the average value for that column channel name. So the first row the 2nd column would be the average value from "Ch01". Is there an easy way to do this in PowerBi Desktop?

 

Example images of existing table:

JacobCeladon_2-1701967034079.png

 

 

Example of Output:

JacobCeladon_1-1701966953291.png

 

Sorry if this is a simple question, I am new to using PowerBI.

Thank you!

1 ACCEPTED SOLUTION
v-zhangti
Community Support
Community Support

Hi, @Jacob-Celadon 

 

You can try the following methods.

sample data:

vzhangti_0-1702368735256.png

In the Power query-Select these 3 columns-Transform-Unpivot columns:

vzhangti_1-1702368846491.png

Result:

vzhangti_2-1702368886788.png

Is this the result you expect? Please see the attached document.

 

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.

View solution in original post

2 REPLIES 2
v-zhangti
Community Support
Community Support

Hi, @Jacob-Celadon 

 

You can try the following methods.

sample data:

vzhangti_0-1702368735256.png

In the Power query-Select these 3 columns-Transform-Unpivot columns:

vzhangti_1-1702368846491.png

Result:

vzhangti_2-1702368886788.png

Is this the result you expect? Please see the attached document.

 

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.

AlexisOlson
Super User
Super User

First, try unpivoting your data to make it much easier to work with:
https://learn.microsoft.com/en-us/power-query/unpivot-column

 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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.