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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
jdubs
Helper V
Helper V

Formatting a whole number column as a percentage adds two zeroes

I have a whole number column that I want to display as a percentage. When I change the Formatting type to percentage it adds 2 zeroes and 2 decimal places e.g. 80 --> 8000.00%, 113 --> 11300.00%, etc.

 

It doesn't seem like you can reduce the decimal places below zero so this is very strange behavior. 

1 ACCEPTED SOLUTION
AllisonKennedy
Super User
Super User

if you want 10% your value needs to be stored as 0.1. You could use the Transform > Standard > Divide in Power Query to convert the whole number to decimal, then format as percent

 


Please @mention me in your reply if you want a response.

Copying DAX from this post? Click here for a hack to quickly replace it with your own table names

Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C

I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com

View solution in original post

3 REPLIES 3
v-angzheng-msft
Community Support
Community Support

 Hi, @jdubs 

According to your description, you only need to reformat the target column to get the desired result.

v-angzheng-msft_0-1619173505650.jpeg

Result:

v-angzheng-msft_1-1619173505652.jpeg

 

Is this the result you want? Hope this is useful to you

Please feel free to let me know If you have further questions

 

 

Best Regards,
Community Support Team _ Zeon Zheng
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

AllisonKennedy
Super User
Super User

if you want 10% your value needs to be stored as 0.1. You could use the Transform > Standard > Divide in Power Query to convert the whole number to decimal, then format as percent

 


Please @mention me in your reply if you want a response.

Copying DAX from this post? Click here for a hack to quickly replace it with your own table names

Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C

I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com

That's perfect Allison. Thank you!

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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