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 August 31st. Request your voucher.

Reply
nataszba
Frequent Visitor

Conditional Formatting on ROWS in Matrix Table (not values)

Hello,

 

I am trying to achieve the same effects as in Excel Pivot - I have a matrix table in PowerBI where values are only count of documents, and other information (name, department, end date etc.) is stored in rows.

 

I need a way to format End date - everything in the past is red, everything in the future green. I tried to look for similiar issue as mine, however all of the solution are based on conditional formatting option - but I think if you store data in rows, no conditional formatting is possible. Below is a sample of data:

 

Manager Name (row)End date of contract (row)Documents (values - count)
xxxxxxxxx31.01.20232
yyyyyyyy10.05.20233

 

Is there any way to achieve it? In Excel Pivot you just simply insert a conditional formatting on any data point you want.

3 REPLIES 3
P_d2023
Regular Visitor

one of the way to get round this is to create a new column.

in the table where the date feild to be analysed is held, create a custom column using the below logic

 

P_d2023_0-1680954642956.png

then when you drop this into a column in the table 

set as min if this lives in a fact table

 

P_d2023_1-1680954746026.png

you can then add a conditional format to column i have gone for an icon.

 

P_d2023_2-1680954851499.png

choose how you want it to look like

 

P_d2023_3-1680955050124.png

then this is what the column looks like in the table

P_d2023_4-1680955256508.png

hope this helps

 

nataszba
Frequent Visitor

Thanks Freezman for a reply, I will try to find similiar data or recreate it, since I work with restricted client information and cannot share it.

FreemanZ
Super User
Super User

you are right. it is applicable only on value fields. 

 

try to provide some sample data and let us see if it could be converted to a measure to feed as a value field. 

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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