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
FatBlackCat30
Employee
Employee

Line breaks not working in report view in Power BI

Hello all,

I have some data in Power BI I loaded in from SQL. In the SQL query I added line breaks to get the date, note modified by, subject, and Note on individual lines. (see picture) .

Capture.PNG

 

Power Query

In Power Query the data is showing correctly, but when I add the column "Most Current Entry" to the table visualization the line breaks are no longer working (see picture)

 

Capture2.PNG

 

is there a way to fix this/ why is this happening?

thank you !!

1 ACCEPTED SOLUTION
az38
Community Champion
Community Champion

Hi @FatBlackCat30 

Unfortunately, breaks from data source will not work in visuals, but there is a solution

if you replace breaks to any symbol like "|", and get the column value, for example, "string 1|string 2|string 3" you will be able to create a column that then replace "|" to breaks:

 

Column = SUBSTITUTE([ColumnWithBreaks];"|";UNICHAR(10))

 

 

do not hesitate to give a kudo to useful posts and mark solutions as solution

LinkedIn


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

View solution in original post

3 REPLIES 3
az38
Community Champion
Community Champion

Hi @FatBlackCat30 

Unfortunately, breaks from data source will not work in visuals, but there is a solution

if you replace breaks to any symbol like "|", and get the column value, for example, "string 1|string 2|string 3" you will be able to create a column that then replace "|" to breaks:

 

Column = SUBSTITUTE([ColumnWithBreaks];"|";UNICHAR(10))

 

 

do not hesitate to give a kudo to useful posts and mark solutions as solution

LinkedIn


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

@az38  you are the man! worked perfectly 

 

thank you very much

oh great! I will try that right now and let you know how it works. 

 

thank you for the input

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.