cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
CloudMonkey Member
Member

Decimal places showing in Matrix

Hi,

 

My database fields have 2 decimal places but I'd like to display them in a matrix visualisation with no decimal places. Is there a way to do this in the matrix (as a display preference) without changing the underlying data? (or should I create new calculated fields with no decimal places and use those in the matrix?)

 

Thanks,

 

CM

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: Decimal places showing in Matrix

In the data model, you can use the Modeling tab, formatting section, to control the decimal places displayed. This does not change the underlying data. You can prove this to yourself by setting the formatting to 0 decimals and then creating a custom column where you multiply that column by 1.0. In this new column you will see that the underlying data still has the decimal numbers.


I have book! Learn Power BI from Packt


Did I answer your question? Mark my post as a solution!

Proud to be a Datanaut!

View solution in original post

3 REPLIES 3
Super User
Super User

Re: Decimal places showing in Matrix

In the data model, you can use the Modeling tab, formatting section, to control the decimal places displayed. This does not change the underlying data. You can prove this to yourself by setting the formatting to 0 decimals and then creating a custom column where you multiply that column by 1.0. In this new column you will see that the underlying data still has the decimal numbers.


I have book! Learn Power BI from Packt


Did I answer your question? Mark my post as a solution!

Proud to be a Datanaut!

View solution in original post

pjohnson4684 Frequent Visitor
Frequent Visitor

Re: Decimal places showing in Matrix

This solution does not satisfy my need.  There are times when I need the decimal places and others where I do not.  My only solution at the moment is to create two different measures carrying the same data with different formats.  Just like we can now overwrite the name of a field inside a visualization, I need the ability to format the value inside the visualization (without changing my default setting in the model).

stevebi Frequent Visitor
Frequent Visitor

Re: Decimal places showing in Matrix

I agree with pjohnson4684. We need the ability to format the display of numbers in each visualization, especially precision. Is there no way to do this?

 

Steve

Helpful resources

Announcements
Can You Solve These Challenge

Challenge: Can You Solve These?

Find out how to participate in the first Power BI 'Can You Solve These?' challenge.

Community News & Announcements

Community News & Announcements

Get your latest community news and announcements.

Virtual Launch Event

Microsoft Business Applications October Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

Community Kudopalooza

Win Power BI Swag with Community Kudopalooza!

Each week, complete activities and be qualified in the drawing for cool Power BI Swag.

Users Online
Currently online: 100 members 1,635 guests
Please welcome our newest community members: