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

Conditional formatting based on column

Hi, 

I built my matrix with columns as each day of the month and also the two priorities I'm working with (P1 and P2).

And I have two problems:

1) Since I have each day of the week and two priorities, each day has two columns below...

2) I get a 0 value written when the value in the adjacent column is 1 or more.

Current scenarioCurrent scenario

 

What I want to approach and can't think of, is:

1) not get a zero when the value next to it is +1 or 1.

2) avoid having the two priorities there  resulting on each day with two columns (removing on of the priorities is not the answer, sorry 😞 ) As you can see from the sample data, if I have a P2 I dont have a P1 and VS.

On my ideal world, I would have the column of the day, and if I have a P2 it will be yellow, and If I get a P1 it'll be red. Any ideas on how this could be done?

Thanks in advanced!

1 REPLY 1
v-qiuyu-msft
Community Support
Community Support

Hi @veng2002,

 

1) not get a zero when the value next to it is +1 or 1.

 

Which value do you use drag to matrix value? I guess the o value in the matrix from the table. If possible, please share some sample data. 

 

2) avoid having the two priorities there  resulting on each day with two columns (removing on of the priorities is not the answer, sorry Smiley Sad ) As you can see from the sample data, if I have a P2 I dont have a P1 and VS.

On my ideal world, I would have the column of the day, and if I have a P2 it will be yellow, and If I get a P1 it'll be red. Any ideas on how this could be done?

 

Conditional Formatting can be used for field or measure you place on the Matrix Values section, it can't be used based on column or row group. 

 

Best Regards,
Qiuyun Yu 

 

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.