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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.