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

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now

Reply
lastnn30
Post Patron
Post Patron

remove decimals

Hi

I have the table below, I select "show values as %" and now I see all these values in percentages. I wonder if I want to get ride of these decimals for example

 

70.32 %   to 70%  or 71%

 

Is that possible? Thank you very much.

 

SNAG-0892.jpg

2 ACCEPTED SOLUTIONS
VijayP
Super User
Super User

@lastnn30 

Select the foramt options and go to Specific Columns there you will find decimal options. and you can change the decimals to 0. as showin in picture

VijayP_0-1663487376255.png

 




Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
MY Blog || My YouTube Channel || Connect with me on Linkedin || My Latest Data Story - Ageing Analysis

Proud to be a Super User!


View solution in original post

Anonymous
Not applicable

Hi @lastnn30 ,

There is no direct option to set the decimal places, you can follow the steps below to get it. Please find the details in the attachment.

1. Create a measure as below to get the percentage

% Total = 
VAR _pertotal =
    SUM ( 'SalesTable'[Total] )
VAR _alltotals =
    CALCULATE ( SUM ( 'SalesTable'[Total] ), ALLSELECTED ( 'SalesTable' ) )
RETURN
    DIVIDE ( _pertotal, _alltotals )

2. Set the data type format of measure as Percentage and decimal places as 0

yingyinr_0-1663663945302.png

Best Regards

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @lastnn30 ,

There is no direct option to set the decimal places, you can follow the steps below to get it. Please find the details in the attachment.

1. Create a measure as below to get the percentage

% Total = 
VAR _pertotal =
    SUM ( 'SalesTable'[Total] )
VAR _alltotals =
    CALCULATE ( SUM ( 'SalesTable'[Total] ), ALLSELECTED ( 'SalesTable' ) )
RETURN
    DIVIDE ( _pertotal, _alltotals )

2. Set the data type format of measure as Percentage and decimal places as 0

yingyinr_0-1663663945302.png

Best Regards

VijayP
Super User
Super User

@lastnn30 

Select the foramt options and go to Specific Columns there you will find decimal options. and you can change the decimals to 0. as showin in picture

VijayP_0-1663487376255.png

 




Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
MY Blog || My YouTube Channel || Connect with me on Linkedin || My Latest Data Story - Ageing Analysis

Proud to be a Super User!


Is there an updated version of this answer. In my current PowerBI instance, there isn't a display units or a value decimal places dropdown

 

simonet_0-1734113966034.pngsimonet_1-1734113990477.png

 

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.