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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
rayinOz
Helper III
Helper III

Average of different columns

Hello PowerBI Users!

 

So I have a table with results from a survey. Each row represents a response from a survey and each column represents a question. 

 

I have three questions each represented by a value of 1 through 5 and each in their own column (see image below). 

 

Table with Scores.jpg

 

What I'm wanting is to get an average of all responses from all three questions. What's the best way to do this? 

 

Thanks so much in advance. 

Ray

1 ACCEPTED SOLUTION
v-robertq-msft
Community Support
Community Support

Hi, @rayinOz 

According to your description, you want to calculate the average value for all three columns, I think the easiest way to achieve this is creating a Matrix/table and set the data summarize type, you can follow my steps:

Create a Matrix/table and place the three columns into it, then set the value to “Average”, like this:

v-robertq-msft_0-1607652397657.png

 

And you can get what you want, like this:

v-robertq-msft_1-1607652397664.png

 

You can download my test pbix file here

 

Best Regards,

Community Support Team _Robert Qin

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

3 REPLIES 3
Ashish_Mathur
Super User
Super User

Hi,

In the Query Editor, right click on the Respondent column and select "Unpivot other columns".  Click on Close and Apply.  To your card visual, drag these measures

Clear score = calculate(average(data[value]),data[attribute]="clear")

Facilitator score = calculate(average(data[value]),data[attribute]="facilitator")

Pace score = calculate(average(data[value]),data[attribute]="pace")

Hope this helps.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
v-robertq-msft
Community Support
Community Support

Hi, @rayinOz 

According to your description, you want to calculate the average value for all three columns, I think the easiest way to achieve this is creating a Matrix/table and set the data summarize type, you can follow my steps:

Create a Matrix/table and place the three columns into it, then set the value to “Average”, like this:

v-robertq-msft_0-1607652397657.png

 

And you can get what you want, like this:

v-robertq-msft_1-1607652397664.png

 

You can download my test pbix file here

 

Best Regards,

Community Support Team _Robert Qin

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

PhilipTreacy
Super User
Super User

Hi @rayinOz 

 

Example PBIX file here

 

Create 3 measures, one each for the average of each column e.g.

 

 

Avg clear = AVERAGE([clear])

 

 

averages.png

Regards

Phil


If I answered your question please mark my post as the solution.
If my answer helped solve your problem, give it a kudos by clicking on the Thumbs Up.



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


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 Solution Authors