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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Anonymous
Not applicable

Round bar chart values, differently than hover values

I would like to know how to round decimal values in a bar chart, so that it shows rounded on the graph but when I hover over it, it shows the unrounded value. Because I did this bar chart using a measure and tried to use the function round but it does not responds to my needs.

Chart bars.png

1 ACCEPTED SOLUTION
Pragati11
Super User
Super User

Hi @Anonymous ,

 

Click on your bar-chart. Under format options, set decimal places = 0

Pragati11_0-1595618657371.png

 

Thanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

View solution in original post

3 REPLIES 3
jcrojas1
Regular Visitor

Hi!

This solution is correct, but I want to round up the values like this:

88.6% = 89%

5.6 = 6

5.04 = 6

 

As long as there is a single decimal, it will always round up and no down.

 

An example of an incorrect round will be:

5.04 = 5

 

Your solution does the second case. Is there another way?

 

v-alq-msft
Community Support
Community Support

Hi, @Anonymous 

 

I'd like to suggest you format the decimal values in the 'Column tools' and modify the number of deciamal places shown for this value as 0.

 

c1.png

 

c2.png

 

Best Regards

Allan

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Pragati11
Super User
Super User

Hi @Anonymous ,

 

Click on your bar-chart. Under format options, set decimal places = 0

Pragati11_0-1595618657371.png

 

Thanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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