cancel
Showing results for
Did you mean:

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Frequent Visitor

## Problem with Matrix visual and conditional formatting

Hi,

I’m using the Matrix visual to build a Gantt chart and conditional formatting to turn the 0s and 1s calculated by a measure into white and red cells. All is perfect except for one point. Let’s say I have 3 main tasks, each having their own subtasks (1901, 1902, ..., 1913 are periods of 4 weeks).

If all tasks are collapsed, that’s ok:

If all tasks are expanded, that’s ok as well:

If a task is expanded whereas one or two others are collapsed, it seems that conditional formatting no longer work:

Any Clue?

Regards.

2 REPLIES 2
Community Support

Hi labulle,

This is by design, when you expand the one level, it will also expand subtotal level, then other row which not expand is also subtoal level(yellow part)

And conditional formatting is applied only to the values of a Matrix visual, and does not apply to any subtotals or grand totals.

Best Regards,
Zoe Zhi

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

Frequent Visitor

Hi Zoe Zhi,

You write that conditional formatting applies only to the values of a Matrix visual, must I deduce that the 1st situation I shown (all top levels collapsed) belongs to that case?

Actually, my 1st example wasn’t so fine. I found later that it’s not difficult to have a sequence of clicks that result into not painted cells, but in that case I also noticed that clicking on the "Drill up" arrow always solves the problem.

Is there any workaround that could make my cells always painted (in white or red) whatever the way the hierarchical data are displayed?

Best Regards,

LaBulle

Announcements

#### Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

#### Power BI Monthly Update - June 2024

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

#### Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

Top Solution Authors
Top Kudoed Authors