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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply

Matrix Visualization Column Formatting

I ma using Matrix Visualization as shown below

 

I would like to achieve two things:

 

1. The Avg Supplier Cost (Local) is showing as a sub column and each main column and its repeating under every main column

I want the Avg Supplier Cost (local) Column to be a separate independent column so that it doesnt repeat under each main column

 

2. Have a conditional formatting for Approval Status Column, such that it shows Green color as background if the status is "Done" and "Actual Due Date" is less than or same as Planned Due date. And based on the same condistion it should show Green Tick as an icon

If the Approval status is "Done" but Actual Due date is more than Planned Due date then the Background color must be Yellow and it should show a Exclamation beside "Done"

If the Approval status is "Open" and Actual Date is more than Planned Due Date then the Background color must show Red and a "?" as Icon

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Prabhu_PowerBI ,

Just like @danextian said, colum header formatting on matrix is currently not supported.

However, you can set the background color and icons of cells. I have created a sample data: 

vyifanwmsft_0-1718002719983.png

1.Add a new measure:

color =
IF (
    SELECTEDVALUE ( 'Table'[Sales] ) > 60
        && SELECTEDVALUE ( 'Table'[Date] ) < DATE ( 2023, 3, 15 ),
    "yellow",
    "green"
)

 2.Put into Background color.

vyifanwmsft_1-1718002870255.png

vyifanwmsft_2-1718002919466.png

3.Set icon.

vyifanwmsft_3-1718002994939.png

vyifanwmsft_4-1718003022532.png

Final output:

vyifanwmsft_5-1718003048109.png

How to Get Your Question Answered Quickly - Microsoft Fabric Community

If it does not help, please provide more details with your desired out put and pbix file without privacy information.

 

Best Regards,

Ada Wang

If this post helps, then please consider Accept it as the solution to help the other members find it more qui

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @Prabhu_PowerBI ,

Just like @danextian said, colum header formatting on matrix is currently not supported.

However, you can set the background color and icons of cells. I have created a sample data: 

vyifanwmsft_0-1718002719983.png

1.Add a new measure:

color =
IF (
    SELECTEDVALUE ( 'Table'[Sales] ) > 60
        && SELECTEDVALUE ( 'Table'[Date] ) < DATE ( 2023, 3, 15 ),
    "yellow",
    "green"
)

 2.Put into Background color.

vyifanwmsft_1-1718002870255.png

vyifanwmsft_2-1718002919466.png

3.Set icon.

vyifanwmsft_3-1718002994939.png

vyifanwmsft_4-1718003022532.png

Final output:

vyifanwmsft_5-1718003048109.png

How to Get Your Question Answered Quickly - Microsoft Fabric Community

If it does not help, please provide more details with your desired out put and pbix file without privacy information.

 

Best Regards,

Ada Wang

If this post helps, then please consider Accept it as the solution to help the other members find it more qui

danextian
Super User
Super User

Hi @nripendrasinha ,

Colum header formatting on matrix is currently not supported. I've read somewhere that is in the roadmap or I could be wrong.





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

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


"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.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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