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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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

harshnathani
Community Champion
Community Champion

Hi @theu1996 ,

 

You can try using notepad++.

 

Regards,

Harsh Nathani

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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