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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

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
v-ljerr-msft
Employee
Employee

Hi @Anonymous,

 

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
v-ljerr-msft
Employee
Employee

Hi @Anonymous,

 

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

Anonymous
Not applicable

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

Anonymous
Not applicable

"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

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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