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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
e175429
Helper IV
Helper IV

Turn % into a Whole Number

Hello All,

 

I am trying to show a NPS score. When I enter the inital calculations, it gives me a %. How do I turn this into a whole number to just say -27?

e175429_0-1681403252677.png

When I change "Percentage" to "Whole Number" I get:

 

e175429_1-1681403306139.png

Which confuses me even more

1 ACCEPTED SOLUTION
DOLEARY85
Resident Rockstar
Resident Rockstar

Hi,

 

transforming a percentage to a number will always show 0 unless it's 100% then it will be 1. If you add some decimal places to the number you should see that 27% is 0.0027 

 

If I answered your question, please mark my post as solution, Appreciate your Kudos 👍

View solution in original post

2 REPLIES 2
tamerj1
Super User
Super User

Hi @e175429 

Just muliply by 100 and change the data type to integer 

DOLEARY85
Resident Rockstar
Resident Rockstar

Hi,

 

transforming a percentage to a number will always show 0 unless it's 100% then it will be 1. If you add some decimal places to the number you should see that 27% is 0.0027 

 

If I answered your question, please mark my post as solution, Appreciate your Kudos 👍

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.