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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Mic1979
Post Partisan
Post Partisan

From Text with comma to number

Dear all,

 

I have the following data, e.g. 170,55 (text), and I need to convert it in 170.55 (decimal number).

 

What I did was:

  • I replaced "," with "."
  • I converted in the result in Decimal Number

What I got was 17055, so without the point.

 

What Am I doing wrong?

 

Thanks.

1 ACCEPTED SOLUTION
Cookistador
Super User
Super User

it is depending on your format

instead of trying to convert number with this approach, you can use 

Cookistador_0-1743410329479.png

With the following setting, it will automatically convert number with a comma for the decimal

Cookistador_1-1743410519089.png

 

With this change, I come from

Cookistador_2-1743410583769.png

 

to

Cookistador_3-1743410598111.png

 

 

View solution in original post

2 REPLIES 2
Mic1979
Post Partisan
Post Partisan

It works.

Thanks.

Cookistador
Super User
Super User

it is depending on your format

instead of trying to convert number with this approach, you can use 

Cookistador_0-1743410329479.png

With the following setting, it will automatically convert number with a comma for the decimal

Cookistador_1-1743410519089.png

 

With this change, I come from

Cookistador_2-1743410583769.png

 

to

Cookistador_3-1743410598111.png

 

 

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.

Top Solution Authors