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
Anonymous
Not applicable

Cell Formatting

I am trying to introduce colour to a cell, to add value to visualization

 

In Excel it looks like (below) the the Colour column displaying the required Hex code required

 

CaptureExcel.JPG

 

 

 

 

 

 

 

How can i show in Power BI i.e. Format a Cell, or Row, or Text, or even add a Shape with colour

CapturePBI.JPG

 

 

 

 

 

 

 

Any thoughts / comments appreciated 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Anonymous , in Conditional formatting use field value. Choose max of this colour

or create a measure Max(Table{colour]) and use that in matrix with field value column.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

3 REPLIES 3
selimovd
Super User
Super User

Hey @Anonymous ,

 

you can format the cell with conditional formatting:

selimovd_0-1618405444374.png

 

As far as I know you can do the formatting based on a field/measure, but you still have to define the colors for each result:

selimovd_1-1618405495262.png

 

 

If you need any help please let me know.
If I answered your question I would be happy if you could mark my post as a solution ✔️ and give it a thumbs up 👍
 
Best regards
Denis
 
amitchandak
Super User
Super User

@Anonymous , in Conditional formatting use field value. Choose max of this colour

or create a measure Max(Table{colour]) and use that in matrix with field value column.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

Thank you

I had to change one Hex value to get the correct colour but works like a dream

 

Question is there a way to hide the text (Hex code)?CaptureNew.JPG

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