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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
ansa_naz
Continued Contributor
Continued Contributor

How to display carriage return/linefeed in the table visual?

I am using SQL Server for my datasource. I have created a table visual in Power BI desktop, which pulls in various columns from a SQL Server table, including text columns. These text columns can contain carriage return/linefeed when viewed from the application (Dynamics AX) that sits on SQL Server. However, when I view the same information in Power BI, the carriage return/linefeed is not present, and the whole text is showing in one line

 

EG I have the following data from a row in SQL:

 

This is some sample text

It contains carriage returns and linefeeds

 

However, when I view the above in Power BI Table visual, I got the following:

 

This is some sample textIt contains carriage returns and linefeeds

 

Any idea how I can display it in the Table visual but include the carriage/linefeed?

 

Many thanks

2 REPLIES 2
v-danhe-msft
Microsoft Employee
Microsoft Employee

Hi @ansa_naz,

Could you have used the word wrap function? Based on my test, it could work to wrap your text:

Before:

2.PNG

After:

1.PNG

I suggest you test again.

 

Regards,

Daniel He

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

Hi @v-danhe-msft I dont think you are understand the issue? The data is coming from SQL Server, it is not typed into Power BI. So not sure how I can add a word wrap function as the linefeed/carriage return is in a different position for every record. Any ideas?

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

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! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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