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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
v-xinruzhu-msft
Community Support
Community Support

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/
v-xinruzhu-msft
Community Support
Community Support

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
OCT PBI Update Carousel

Power BI Monthly Update - October 2024

Check out the October 2024 Power BI update to learn about new features.

October NL Carousel

Fabric Community Update - October 2024

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