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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
tedjant33
New Member

I cannot select "Average" for some data columns

Hello,

 

I have my report linked to an excel with a list of student names followed by columns for scores on 5 different assignments administered 6 times throughout the year (30 columns of data). I want to be able to show the average across students for each individual column. The issue I am running into is that only the first data column of each assignment allows me to select Average. The following 5 data columns only give me options for "first", "last", "count (distinct)", and "count." I have noticed that the columns that allow me to use the average function have the sum all symbol next to them. Am I able to fix it and average each column?

I have included a picture of my options when working with the "Mechanics 1" data column which gives me more options, as well as the "Mechanics 2" data column which does not give me the option to average. 

 

Thanks in advance!

Pic 1.PNGPic 2.PNG

1 ACCEPTED SOLUTION

Hi @tedjant33 ,

 

In that case go to Power Query Editor and try to modify the datatype of this column.

What datasource are you connecting to?

 

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

View solution in original post

10 REPLIES 10
Pragati11
Super User
Super User

Hi @tedjant33 ,

 

The screesnhot that you have shared clearly shows that Mechanics 1 is a numeric type of column therefore you see summarisation as SUM, AVERAGE, etc.

On the other hand, Mechanics 2 is a text type of column therefore you see summarisation as FIRST, LAST, etc.

 

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

Thanks for the quick response! is there an easy way to change the type of column?

Hi @tedjant33 ,

 

Yes click on your column --> on the top ribbon --> modify datatype from Text to say whole number.

Pragati11_0-1659713272326.png

 

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

Unfortunately, the only option appearing under format is text. I will mention that all of the columns are identical in data, the only difference being the name of the column.

 

Any thoughts?

 

power bi format.PNG

Hi @tedjant33 ,

 

Did you click on the small drop-down icon as shown below to check other datatype options?

Pragati11_0-1659714455353.png

Once you click on the drop-down, it will show you other data-types.

 

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

Yes, and Text is the only option that appears.

Hi @tedjant33 ,

 

In that case go to Power Query Editor and try to modify the datatype of this column.

What datasource are you connecting to?

 

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

I went into Power Query Editor and was able to change the data types there. Thanks so much for your help!

For reference, here is a screenshot of some of the excel.

 

power bi reference.PNG

amitchandak
Super User
Super User

@tedjant33 , You can do that only for numeric columns - Whole number and decimal

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.