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
Stuznet
Helper V
Helper V

Format Decimal Number

I can change the number format in Excel but How do I round the number to oneth in Dax? 

 

Capture2.PNG

 Sum column is what I want to round to the Oneth, so the result in the Rounded column is what I'm looking for.

Capture.PNG 

 

Thanks much

 

5 REPLIES 5
Anonymous
Not applicable

Hey @Stuznet

 

You have 2 options to accomplish this. If your number will always be formatted with 1 decimal place, go to the Modeling tab and you can set the number of decimals you want by changing "Auto" to 1. This is found in the section where you set the Data type and format.

 

If your requirements require you to set the number of decimals dynamically, you can do that by changing the value to text and specifying the number of decimal places. If you're interested, see this video I just posted on exactly that.

 

https://www.youtube.com/watch?v=FO6e3rjSslQ

 

Hope this helps,

Parker

@AnonymousThank you for your response, I have already tried that approach but is not working for me. So basically I'm only looking for the initial number that is rounded. 

 

Capture.PNG

 

Anonymous
Not applicable

@Stuznet

 

If you are using a matrix visualization or maybe even a table, you can specifically set the decimal places of the column by going editing the Field Properties.

 

-Parker

@@Parker_Steven I'm not following what you mean. Sorry I'm kinda new to Power BI. But I thought Field Properties is only for comment...

 

Capture.PNG

Anonymous
Not applicable

@Stuznet Sorry, not Field properties. Go to the Formatting pane and go down to Field formatting. There you can set the decimal places.

 

-Parker

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Top Solution Authors