cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ChrisEby Frequent Visitor
Frequent Visitor

Need to specify number of decimal places for an average in Matrix visualization (like in Bar Chart)

How can I specify the number of decimals to be displayed when performing an AVERAGE in the Matrix visualization?  The field is defined as a whole number.  The Chart visualizations provide a way to do this via Format tab -> Data labels, and set Decimal Places to 0, but the Matrix visualization does not...

 

Here's a Bar Chart with 0 decimals:

BarChart.jpg

 

I need the Matrix view of the same data to be formatted the same:

Matrix.jpg

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
v-ljerr-msft Super Contributor
Super Contributor

Re: Need to specify number of decimal places for an average in Matrix visualization (like in Bar Cha

Hi @ChrisEby,

 

In this scenario, you should be able to use the formula below to create a new measure to calculate the Average of Submission to Accounting Approval, then format the measure to whole number and show it in the Matrix visual instead. Smiley Happy

Average of Submission to Accounting Approval = AVERAGE ( 'Table1'[Submission to Accounting Approval] )

format.PNG

 

Regards

View solution in original post

3 REPLIES 3
dbszepesi Regular Visitor
Regular Visitor

Re: Need to specify number of decimal places for an average in Matrix visualization (like in Bar Cha

Is 'Average of Submission to Accounting Approval by Year and Quarter' a measure that you have defined?

ChrisEby Frequent Visitor
Frequent Visitor

Re: Need to specify number of decimal places for an average in Matrix visualization (like in Bar Cha

"Submission to Accounting Approval" is the name of the column which is defined as a whole number.

 

"Average" is the aggregate function being applied via the Values field:

AggregateFunctions.jpg

 

Highlighted
v-ljerr-msft Super Contributor
Super Contributor

Re: Need to specify number of decimal places for an average in Matrix visualization (like in Bar Cha

Hi @ChrisEby,

 

In this scenario, you should be able to use the formula below to create a new measure to calculate the Average of Submission to Accounting Approval, then format the measure to whole number and show it in the Matrix visual instead. Smiley Happy

Average of Submission to Accounting Approval = AVERAGE ( 'Table1'[Submission to Accounting Approval] )

format.PNG

 

Regards

View solution in original post

Helpful resources

Announcements
Ask Amir Anything

Exclusive LIVE Community Event No. 2 – Ask Amir Anything

Next in our Triple A series: Ask Amir Netz questions about the latest updates, features and future.

Ask Amanda Anything Q&A

Ask Amanda Anything Q&A

Learn the answers to some of the questions asked during the Amanda Triple A event.

October 2019 Community Highlights

October 2019 Community Highlights

October was a busy month in the community. Read the recap article to learn about some of the events and content.

New Solution Badges

New Solution Badges

Two waves of brand new solution badges are coming! Read the article for more information on our new community badges.

Users Online
Currently online: 385 members 3,974 guests
Please welcome our newest community members: