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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Farros
New Member

How to remove dollar sign in string type data and change to numeric data

16997958786726407500093712017204.jpg

1 ACCEPTED SOLUTION
v-stephen-msft
Community Support
Community Support

Hi @Farros ,

 

I created a sample data for reference. As you can see, "$8,414" is text data ype just like you.

vstephenmsft_0-1700035670218.png

You can directly change the data type as numeric type.

vstephenmsft_1-1700035742776.png

vstephenmsft_2-1700035793816.png

If you insist on removing the dollar sign, then you can use the Split feature.

vstephenmsft_3-1700035873454.pngvstephenmsft_4-1700035897096.pngvstephenmsft_5-1700035902251.png

 

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.           

 

View solution in original post

4 REPLIES 4
v-stephen-msft
Community Support
Community Support

Hi @Farros ,

 

I created a sample data for reference. As you can see, "$8,414" is text data ype just like you.

vstephenmsft_0-1700035670218.png

You can directly change the data type as numeric type.

vstephenmsft_1-1700035742776.png

vstephenmsft_2-1700035793816.png

If you insist on removing the dollar sign, then you can use the Split feature.

vstephenmsft_3-1700035873454.pngvstephenmsft_4-1700035897096.pngvstephenmsft_5-1700035902251.png

 

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.           

 

j_ocean
Helper V
Helper V

Convert to dollar type (or fixed decimal however its named).

 

If that doesn't cut it a simple replace values should get rid of the $s, then you can convert it to floating point or whatever.

ronrsnfld
Super User
Super User

My Power BI recognizes those strings as Currency.Type. You might be able to just change the #"Changed Type" step from ...{"Sales", type text}... to ...{"Sales", type number}... or even ...{"Sales",Currency.Type}...  If you are in a different country, you might need to add the Culture to that step.

HotChilli
Super User
Super User

Use 'Replace Values' by right-clicking on the column header.  Replace $ with nothing/nada/zilch

Then change the data type

 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.

Top Solution Authors