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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
cristianj
Helper IV
Helper IV

how to replace double qoutes ( " ) with space

Hello

i am trying to replace from a column double quotes " 

first i try to use something like : substitute(mycolumn,"""," ")not worked, also i try to use "/"", try using a variable , tempvar=unichar(22), but nothing seems to work, 

Do you have any ideea? Thx

1 ACCEPTED SOLUTION
Uzi2019
Super User
Super User

Hi @cristianj 

you can either do it with power query
like below

Uzi2019_0-1711710508236.png

Go to power query> select your column> select transform tab> select replace value> 

Uzi2019_1-1711710566342.png

 

Put " in value to find and add single space replace with 

Uzi2019_2-1711710615590.png

see above value is replaced with space.

 

you can try with dax also
create calculated column and write below dax

Replace dax = SUBSTITUTE(String[Column],""""," ")
 

Uzi2019_3-1711710666854.png

 

 

I hope I answered your question!

Don't forget to give thumbs up and accept this as a solution if it helped you!!!

View solution in original post

4 REPLIES 4
Uzi2019
Super User
Super User

Hi @cristianj 

you can either do it with power query
like below

Uzi2019_0-1711710508236.png

Go to power query> select your column> select transform tab> select replace value> 

Uzi2019_1-1711710566342.png

 

Put " in value to find and add single space replace with 

Uzi2019_2-1711710615590.png

see above value is replaced with space.

 

you can try with dax also
create calculated column and write below dax

Replace dax = SUBSTITUTE(String[Column],""""," ")
 

Uzi2019_3-1711710666854.png

 

 

I hope I answered your question!

Don't forget to give thumbs up and accept this as a solution if it helped you!!!
cristianj
Helper IV
Helper IV

it's not working  😞

 

cristianj_0-1711705592150.png

 

can you share the snip of the column vaue that has  ''

AnalyticPulse
Super User
Super User

can you try below dax:
ReplacedColumn = SUBSTITUTE('mycolumn', "\"", "")

 

 

and can you show snip of the double quotes in data

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.