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
Jojo197
Frequent Visitor

Centered Text in Matrix Visual with Icons

I have a matrix visual with a column defining the rows and columns, and a single measure for the value in each cell. Under 'Specific Column' for this measure, I have clicked the center alignment, but the matrix is not properly centering the text as it is further to the right. Some of the measure values have newline varchar(10) characters, but I'm not sure if that is causing the issue. Does anyone know why this is happening?
UPDATE: Issue was due to there being conditional format icons in some of the cells. Is there a way to have it centered properly even though there is an icon?

Jojo197_0-1687307517552.png

Jojo197_1-1687307589314.png

 

 

2 REPLIES 2
danextian
Super User
Super User

Hi @Jojo197 

Have you tried center-aligning the other columns that don't have invisible characters? If they align just right then the cause could be the invisible characters. Can't you just remove them?










Did I answer your question? Mark my post as a solution!


Proud to be a Super User!









"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

Hi @danextian , because it's a matrix with a measure for the values field, there is only one column (the measure) that I can center align. And the newline character is required for the report I am working on as otherwise it would be unreadable (not shown in the screenshot though)

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.