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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
teng1
Frequent Visitor

matrix column title in 2 rows error

Hi All,

 

I am having this weird issue where when i click on the content in the matrix report, power bi desktop will prompt me error message of :

teng1_3-1686650350662.png

 

In the matrix, i am required to display the column title in two rows. So, i created a reference table where in a column, i split the column title accordingly.

sample value from the reference table:

teng1_2-1686650237436.png

 

The above error only happen when i use the value on the left column (2 rows version) as the matrix column title.

 

Is there hidden characters like carriage return or line break at the end of first line, which caused the error above?
Any suggestions how could i solve this problem?

 

Regards,

6 REPLIES 6
Kishore_KVN
Super User
Super User

Hello @teng1 instead of creating another table, create a new column in the same table and use UNICHAR(10) to break the like and then use that column in the Matrix Visual.

 

If this post helps, then please consider accepting it as the solution to help other members find it more quickly. Thank You!!

hi @Kishore_KVN 

Thanks for the suggestions. I tried that with following formula in the new column, but i still got the same error message. Am i doing it correctly?

teng1_0-1686706548679.png

 

Yes @teng1 , you are using it almost right. Can you please share the screenshot of output that you are getting 

 

sure,

teng1_1-1686715569452.png

 

teng1_0-1686715455402.png

 

So the values in the Matrix visual are not right?

The values in the matrix visual are correct. Display in 2 rows.
Are you saying that the output of the new column formula is in 1 row but the visual displayed in 2 rows?

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors