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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
theu1996
New Member

Moving a query written in Word to Power Query

I had to write a long conditional column argument and did so in Word since it would cause Power BI to run out of memory on my computer if I did it all in there. When I copy and paste it into the Add Column pop-up, it will not recognize the text as valid due to the " not being the right one. I cannot go through and replace them all in BI without crashing the program, and have not been able to successfully use Find and Replace to replace Word's " with the Power Query accepted one. Is there an easy way to change the quotation marks?

 

Thanks

1 ACCEPTED SOLUTION
v-jayw-msft
Community Support
Community Support

Hi @theu1996 ,

 

The unicode in Word and Power BI are different. Paste the code into Text or Excel and replace the quotation marks.

 

Best Regards,

Jay

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.

View solution in original post

3 REPLIES 3
v-jayw-msft
Community Support
Community Support

Hi @theu1996 ,

 

The unicode in Word and Power BI are different. Paste the code into Text or Excel and replace the quotation marks.

 

Best Regards,

Jay

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.
amitchandak
Super User
Super User

@theu1996 , Try on text pad

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
harshnathani
Community Champion
Community Champion

Hi @theu1996 ,

 

You can try using notepad++.

 

Regards,

Harsh Nathani

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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