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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Anonymous
Not applicable

Show average of a data column on a card visual?

Hi,

 

I have a column in my data called "Number of days to respond". I'd like to show the average of this in a card visual. I tried going to the Data Field, but it only allows me to show the first or last values, or a (distinct) count. Can anyone help please? I'm a beginner.

 

Thanks

2 ACCEPTED SOLUTIONS
Anonymous
Not applicable

Hi @Anonymous

Please click the column, then check if the type of the colmn is whole number

vxinruzhumsft_0-1672023807907.png

Best Regards!

Yolo Zhu

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

Ashish_Mathur
Super User
Super User

Hi,

In the Query Editor, change the data type to Whole number and write this measure:

Avg = average(Data[Number of days to respond])

Hope this helps.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

5 REPLIES 5
Ashish_Mathur
Super User
Super User

Hi,

In the Query Editor, change the data type to Whole number and write this measure:

Avg = average(Data[Number of days to respond])

Hope this helps.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Anonymous
Not applicable

Hi @Anonymous

Please click the column, then check if the type of the colmn is whole number

vxinruzhumsft_0-1672023807907.png

Best Regards!

Yolo Zhu

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

 

 

 

FreemanZ
Super User
Super User

hi @Anonymous 

 

this happens when the column is not of number type. Check your data type of [Number of days to respond] first.

Numbers should have the sigma sign:

FreemanZ_0-1671797081952.png

 

Anonymous
Not applicable

Hi, thanks for replying. It doesn't have a sigma sign.
Untitled2.png
Untitled.png

Hi @Anonymous 

That is the issue. You have at least one nonnumeric in that column. You have to replace/delete it in your data source or Power Query processing, 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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