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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
s--turn
Helper II
Helper II

Matrix conditional formatting - what is it comparing?

Hello,

I'm hoping there is a simple answer to this that I've missed...  I have applied conditional formatting to the below matrix, but the colours aren't quite what I would expect.  e.g. why is 11.60% in the Region D column apparently darker than 20.43% in the Region A column? Is Power BI comparing numbers across the whole matrix, per row or per column, or something else?

I'm sure I am missing something obvious!

Thanks!

 

Screenshot 2022-11-23 172033.pngScreenshot 2022-11-23 172433.png

1 ACCEPTED SOLUTION
v-jianboli-msft
Community Support
Community Support

Hi @s--turn ,

 

The conditional format is generated based on the Field you selected, and judging from your image, you are basing it on the field [NumberOfContacts].

Here is a simple example:

vjianbolimsft_0-1669273704442.png

If I choose to format it based on sum of the value:

vjianbolimsft_1-1669273759560.png

Output:

vjianbolimsft_2-1669273774279.png

If I choose the measure:

vjianbolimsft_4-1669273835941.png

Output:

vjianbolimsft_3-1669273815024.png

Best Regards,

Jianbo Li

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

View solution in original post

4 REPLIES 4
v-jianboli-msft
Community Support
Community Support

Hi @s--turn ,

 

Since you have created a new thread about this issue, please consider marking this thread if my previous reply was helpful to you, it will help more people with similar problems. Besides, you can provide more details about the new issue in the new thread, which will allow more people to help you.

Thanks in advance!

 

Best Regards,

Jianbo Li

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

v-jianboli-msft
Community Support
Community Support

Hi @s--turn ,

 

The conditional format is generated based on the Field you selected, and judging from your image, you are basing it on the field [NumberOfContacts].

Here is a simple example:

vjianbolimsft_0-1669273704442.png

If I choose to format it based on sum of the value:

vjianbolimsft_1-1669273759560.png

Output:

vjianbolimsft_2-1669273774279.png

If I choose the measure:

vjianbolimsft_4-1669273835941.png

Output:

vjianbolimsft_3-1669273815024.png

Best Regards,

Jianbo Li

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

Thank you for your reply, @v-jianboli-msft . You are right - but I suppose my problem is I haven't been able to create the measure I need. If you look at my other post on this thread you will see what I mean! Any advice on that one appreciated:-)

s--turn
Helper II
Helper II

Ah... I wonder if it's because it's basing the colours on the underlying raw figures?  Region D is much more populous than the others.  In the matrix, the measure is simply a count of individuals, but I'm displaying it as percentage of column total.  I haven't been able to create a measure which does that, which is a whole other story (I've started another thread today about that!).

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors