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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
Anonymous
Not applicable

Text Forced Enter/Return

I have an excel file as datasource and within the excel file, there is one column that contains long texts that have forced return within the text.

 

When pulling in the text field into PowerBI table visual, the forced return is shown as "_x000D_".

 

I'm surprised not very much has been discussed here on the forum. I tried using the Query Editor's "Replace Value" function selected "Carriage Return" under Advanced Options --> "Replace using special characters".  But it didn't work.

 

Aside from going into Excel and use "Clean" formula to remove the forced returns, can the fix be done within PowerBI?

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Actually after many tries over 3 days, I finally found a solution to my issue, so I am here to share:

 

In Query Editor: 

Value to Find: _x000D_

Replace With: #(cr) --> Special Character for Carriage Return

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Actually after many tries over 3 days, I finally found a solution to my issue, so I am here to share:

 

In Query Editor: 

Value to Find: _x000D_

Replace With: #(cr) --> Special Character for Carriage Return

Anonymous
Not applicable

Hi @Anonymous 

I couldn't understand how it solved the problem.
My data has "_x000D_ written at the end.
Can you help me?

Anonymous
Not applicable

Hi @Anonymous 

In the Query Editor, select the column with the special characters.  Then under the Transform tab, select Replace Value.

 

A menu pops up, and at the bottom of the menu, expand "Advanced Options", and select "Replace using Special Characters".

 

Then follow the solution post in this thread.

 

Hope this helps.

Anonymous
Not applicable

Thank you so much @Anonymous !!!!!! You saved my life 😀

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.