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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.