cancel
Showing results for 
Search instead for 
Did you mean: 
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!

View solution in original post

amitchandak
Super User
Super User

@dtango9 , Try if measure format change can help.

 

Data Format New Rib.png

Did I answer your question? Mark my post as a solution! Appreciate your Kudos!! !!
Dashboard of My Blogs !! Connect on Linkedin
Want To Learn Power BI
Learn Power BI Beginners !! Advance Power BI Concepts !! Power BI For Tableau User !! Learn Power BI in Hindi !!
Proud to be a Super User!

Helpful resources

Announcements
Power BI December 2021 Update_carousel 768x460.jpg

Check it Out!

Click here to read more about the December 2021 Updates!

Jan 2022 Dev Camp 768x460 copy.png

Power BI Dev Camp- January 27th, 2022

Mark your calendars and join us for our next Power BI Dev Camp!

UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Top Solution Authors
Top Kudoed Authors