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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors