cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
GeorgesKV Helper I
Helper I

Problem with Decimal Places in a Pie Chart

Hey all,

Maybe someone can help me, I have 2 pie charts and I've selected the decimal places to be 0, but everytime that I need to open it again, it shows 2 decimals and I need to go back and change to 0 again.

Did anyone face this before?

image.png

4 REPLIES 4
Community Support
Community Support

Re: Problem with Decimal Places in a Pie Chart

Hi @GeorgesKV

Indeed what you face is by design.

To achieve your requirement, just select the column and set "decimal place:0" in the Modeling bar.

I would like explain more about why your are suffering from this problem.

when your value is set "data type:decimal number", "format:percentage" and "decimal place:2" in the "Modeling" bar,

to make the decimal places to be 0

you select on pie visual, then go to the "format"->"detail labels", set the decimal places to be 0, 

But this just change decimal places for this pie visual instead of others's.

To make all chart show 0 decimals automatically after one change, just select the column and set "decimal place:0" in the Modeling bar.

 

Best Regards

Maggie

GeorgesKV Helper I
Helper I

Re: Problem with Decimal Places in a Pie Chart

Hey @v-juanli-msft,

I'm unable to change the column on modeling to a decimal number because it's pure text, so it gives me an error. 


Regards, 

Community Support
Community Support

Re: Problem with Decimal Places in a Pie Chart

Hi @GeorgesKV

I'm unable to change the column on modeling to a decimal number because it's pure text, so it gives me an error. 

From your screenshot, it seems this column contains text and decimal number like "text 12.3".

If it is formed from a text type column and a number type column from your table, just modify this number type column to "decimal number" before connecting.

 

Best Regards

Maggie

 

Highlighted
Jenks2019
New Member

Re: Problem with Decimal Places in a Pie Chart

I have the same problem. However the pie chart is taking the data from only text. There is not a test column and a number column. The visual takes the text and complies the percentage. I am still stuck with decimals and would love a way to fix it. The % Decimal Places unter the detail tab is stuck on Auto and I can't change it because it's a text. 

 

Helpful resources

Announcements
New Ranks Launched March 24th!

New Ranks Launched March 24th!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power BI Community!

‘Better Together’ Contest Finalists Announced!

‘Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Arun 'Triple A' Event Video, Q&A, and Slides

Arun 'Triple A' Event Video, Q&A, and Slides

Missed the Arun 'Triple A' event or want to revisit it? We've got you covered! Check out the video, Q&A, and slides now.

Join THE global Microsoft Power Platform event series.

Join THE global Power Platform event series.

Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities.

Community Summit North America

Community Summit North America

Innovate, Collaborate, Grow. The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors