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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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

Top Solution Authors