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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
Michael92
Frequent Visitor

Coloring the cell if it is empty

Hello all,

 

I have table in the report and there is a date column.

I need to color the cell red if the cell is empty and green if it is not.

Is it possible?

 

Thank you

Michael

1 ACCEPTED SOLUTION
Anonymous
Not applicable

HI @Michael92,

Did these empty records really include in your table? If not, you may need to create an unconnected table with correspond column/row category feilds to use on matrix column/row fields.

Then you can write Dax formula to use current row/column contents to lookup raw table values and use this as condition for color formatting.

Apply conditional table formatting in Power BI - Power BI | Microsoft Learn
Regards,

Xiaoxin Sheng

View solution in original post

1 REPLY 1
Anonymous
Not applicable

HI @Michael92,

Did these empty records really include in your table? If not, you may need to create an unconnected table with correspond column/row category feilds to use on matrix column/row fields.

Then you can write Dax formula to use current row/column contents to lookup raw table values and use this as condition for color formatting.

Apply conditional table formatting in Power BI - Power BI | Microsoft Learn
Regards,

Xiaoxin Sheng

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Kudoed Authors