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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

Power BI Matrix visual - whole number and decimal for a value column

On Power BI matrix visual, how do I list down the value in both whole number and decimal at the same time?

 

This is what I want to achieve:

 

WorkMan Hour (hours)
Task A    10
Task B    8.5
Task C      9

 

I have tried on the Field formatting -> Value Decimal Places

if i put 0, it will round up the decimal value to whole number 10, 9, 9

if I put 1, it will give 10.0, 8.5, 9.0

2 ACCEPTED SOLUTIONS
Jihwan_Kim
Super User
Super User

I suggest creating it in the Tabular Editor in Power BI Desktop.

 

Picture3.png

 

https://www.dropbox.com/s/gwaoum4ycaxaox9/mikeKK.pbix?dl=0 

 

 


If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.

View solution in original post

Anonymous
Not applicable

I also realized in the Model page,  by selecting "Custom" as the format, and select "General Number" as the custom format can give the desired result.

 

Capture.JPG      Captur2e.JPG

View solution in original post

6 REPLIES 6
Anonymous
Not applicable

I also realized in the Model page,  by selecting "Custom" as the format, and select "General Number" as the custom format can give the desired result.

 

Capture.JPG      Captur2e.JPG

Anonymous
Not applicable

HI @Anonymous,

AFAIK, current power does not support you to set multiple formats in one field. Perhaps you can use the format function to convert your values to text and keeping special formats.

In addition, you can also take a look at Jihwan_Kim 's suggestion to directly change them in the data model side if helps.

External tools in Power BI Desktop - Power BI | Microsoft Docs
Regards,
Xiaoxin Sheng

Jihwan_Kim
Super User
Super User

I suggest creating it in the Tabular Editor in Power BI Desktop.

 

Picture3.png

 

https://www.dropbox.com/s/gwaoum4ycaxaox9/mikeKK.pbix?dl=0 

 

 


If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.
Anonymous
Not applicable

Sorry I overlook this for awhile.  The idea is to change the number to text format right?

The number is still the number.

Inside Tabular Editor in Power BI, for instance, the author can assign Type1 numbers to show one decimal, Type2 numbers to show zero decimal, Type3 numbers to show two decimal.


If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.
Anonymous
Not applicable

Thank you for the solution

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors