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! Learn more

Reply
eghusseinr
Frequent Visitor

Can i make a Conditional Format to Color the cell & font of the Text Value in aTable with its color

Hello guys 

I am connecting this PBI to sharepoint Data Source, and below detatils for all columns from ITG0 till Product Management, are Text values.

My question can i make one Meassure that could be used for Makeing "Backgroud & Font" conditional format to highlight the cell it seld with the same text color in it?

pic 2 is showing what i aim to have ...

 

2023-10-19_13-12-25.jpg2023-10-19_13-20-26.jpg

4 REPLIES 4
christinepayton
Super User
Super User

You would have to change the shape of your data table to do it all with one measure. You could unpivot all of those columns that have color in your example, giving you a value column and an attribute column. Use the attribute column as the "columns" in a matrix visual (instead of a table) and put the value column in the values well. Then you can make one conditional formatting rule to affect all columns at once. 

ray_aramburo
Super User
Super User

You can do it without measures but would require doing it per column.

Here's how:

Select the column options > Go to Conditional Formatting > Background Color (or font color)

ray_aramburo_0-1697735727671.png

 

Select format syle by Field value and click Ok.

ray_aramburo_1-1697735764103.png

 

Here's what you would get:

ray_aramburo_2-1697735792326.png

 

Repeat the steps for the font color and for each column.

Note: This will work automatically as long as the values are correctly named (not spelling errors). 





Did I answer your question? Give your kudos and mark my post as a solution!

Proud to be a Super User!





Hi @ray_aramburo 

can you share the expamle file with me, bcause i the feauter of sellecting the "First Category expamle" is not avilabe in my Desktop PowerBI !!

It won't appear as First Category as that was the name I was using for a column. In your case it would be First Project Schedule, as an example. 

I attached my example file for your reference 🙂 





Did I answer your question? Give your kudos and mark my post as a solution!

Proud to be a Super User!





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