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

See when key Fabric features will launch and what’s already live, all in one place and always up to date. Explore the new Fabric roadmap

Reply
Farros
New Member

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

16997958786726407500093712017204.jpg

1 ACCEPTED SOLUTION
Anonymous
Not applicable

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
Anonymous
Not applicable

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
May PBI 25 Carousel

Power BI Monthly Update - May 2025

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

May 2025 Monthly Update

Fabric Community Update - May 2025

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

Top Solution Authors
Top Kudoed Authors