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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
dtango9
Helper II
Helper II

Eliminate percent decimals in Power BI

Hello,

 

I'm using a ribbon chart on Power BI desktop that originally counted the results, but I have changed the value to % GT of the count.  This is great, but I'd really prefer the percentages that appear to be without the extra decimal points.  Any way to remove these from this chart?  I can't seem to find how to do this using the visual format.

 

Thank you in advance for your help.

 

Percentages.JPG

1 ACCEPTED SOLUTION
v-kelly-msft
Community Support
Community Support

Hi  @dtango9,

 

Based on my test,it can only be achieved by measure or calculated column.You'd create a measure such as below;

 

Measure 2 = 
var a= SUMX(FILTER('Table1','Table1'[Date]=MAX('Table1'[Date])),'Table1'[Value])
var b=SUMX(ALL('Table1'),'Table1'[Value])
Return
DIVIDE(a,b)

 

And you will see:

with %GT valuewith %GT valuewith measurewith measure

Here is a .pbix file you may refer to,see attached.

 

Best Regards,
Kelly

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

View solution in original post

2 REPLIES 2
v-kelly-msft
Community Support
Community Support

Hi  @dtango9,

 

Based on my test,it can only be achieved by measure or calculated column.You'd create a measure such as below;

 

Measure 2 = 
var a= SUMX(FILTER('Table1','Table1'[Date]=MAX('Table1'[Date])),'Table1'[Value])
var b=SUMX(ALL('Table1'),'Table1'[Value])
Return
DIVIDE(a,b)

 

And you will see:

with %GT valuewith %GT valuewith measurewith measure

Here is a .pbix file you may refer to,see attached.

 

Best Regards,
Kelly

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

amitchandak
Super User
Super User

@dtango9 , Try if measure format change can help.

 

Data Format New Rib.png

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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