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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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