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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
haykp
Helper I
Helper I

Changing Data Type of number from Text to Whole number

Dear Forum,

 

Some freshmen question.

I have a number - 14590.0, which I need to change to whole number.

So when I change it to whole number it becomes: 145900.

The last .0 is being added to it.

haykp_0-1682437237056.png

After changing to decimal number:

haykp_1-1682437267512.png

 

I did some search, seems the workaround is at first parse that value as Text and remove .0.

And then change the type.

Is this the only way?

Isnt there nice way?

 

Thanks

Hayk

 

 

 

1 ACCEPTED SOLUTION
haykp
Helper I
Helper I

I think I found the reason, it was becasue of regional settings. It was setup German on my side, after I changed it to English it worked,

View solution in original post

3 REPLIES 3
haykp
Helper I
Helper I

I think I found the reason, it was becasue of regional settings. It was setup German on my side, after I changed it to English it worked,

jdbuchanan71
Super User
Super User

@haykp 

In your first screen shot, the ABC123 header means that column is set to Data Type 'Any'.

jdbuchanan71_0-1682437840161.png

 

I created sample data and I am able to change from 'Any' to 'Whole Number' without a problem.  Does it not behave the same for you?

jdbuchanan71_1-1682437990609.png

 

jdbuchanan71_2-1682438016473.png

 

 

 

 

 

Yes, you are right. The type is Any type. 

But when I changed to "Whole Number" the .0 is added to the numbers

haykp_0-1682440759830.png

 

May be it is some tool settings, I need to change?

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

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.

Top Solution Authors
Top Kudoed Authors