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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors