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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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