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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
admin11
Memorable Member
Memorable Member

How to remove $ sign from Amount field ?

Hi All

Now i have a field Amount , it import as Text , because the number infront have $ , may i know how to use PQ to remove $ sign ? so that i can convert to number.

admin11_0-1619661976622.png

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@admin11 , In power query, try to change its data type to number(Decimal). if that does not work

1.  Try a new column in power query Text.Replace(Text.Replace([Amount], "$ ", ""), ",","")

 

or do the same using replace menu on right click

 

Then change data type to number

 

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@admin11 , In power query, try to change its data type to number(Decimal). if that does not work

1.  Try a new column in power query Text.Replace(Text.Replace([Amount], "$ ", ""), ",","")

 

or do the same using replace menu on right click

 

Then change data type to number

 

Helpful resources

Announcements
July 2024 Power BI Update

Power BI Monthly Update - July 2024

Check out the July 2024 Power BI update to learn about new features.

July Newsletter

Fabric Community Update - July 2024

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