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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

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
Community Champion
Community Champion

@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
Community Champion
Community Champion

@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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

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.