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

The FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. Register now

Reply
Anonymous
Not applicable

Conditional formatting based on other column

I have a utilization table and I have to conditionally format each value based on the following matrix

Title Target Utlization
Principal 50%
Director50%
Manager50%
Consultant88%
Senior Consultant88%

And my table looks like this;

TitleUtilization %
Consultant82.47%
Consultant82.10%
Director20.74%
Director19.31%
Manager32.86%
Manager28.05%
Principal61.64%
Principal29.62%
Senior Consultant38.65%
Senior Consultant37.50%

 

Please help 

1 ACCEPTED SOLUTION
rubinboer
Resolver II
Resolver II

i agree more info is needed so i will make a few assumptions.

the two tables are linked by title and the title in the target table is unique.

 

creat a check to see if the utilization achieves the target,

Target Check =
VAR Target = LOOKUPVALUE('Tab A'[Target Utlization],'Tab A'[Title ],CALCULATE(MINX('Tab B','Tab B'[Title])))
VAR Base = SUMX('Tab B',[Utilization %])
return (Base - Target)
if his is negative you didntmake target if positive you made it
 
now create a conditional format rule on the table you wish to check, based on the Target check.
 
model
target check model.PNG
 
resulttarget check.PNG

View solution in original post

2 REPLIES 2
rubinboer
Resolver II
Resolver II

i agree more info is needed so i will make a few assumptions.

the two tables are linked by title and the title in the target table is unique.

 

creat a check to see if the utilization achieves the target,

Target Check =
VAR Target = LOOKUPVALUE('Tab A'[Target Utlization],'Tab A'[Title ],CALCULATE(MINX('Tab B','Tab B'[Title])))
VAR Base = SUMX('Tab B',[Utilization %])
return (Base - Target)
if his is negative you didntmake target if positive you made it
 
now create a conditional format rule on the table you wish to check, based on the Target check.
 
model
target check model.PNG
 
resulttarget check.PNG
TomMartens
Super User
Super User

Hey @Anonymous ,

please provide more information what you exactly want to happen, and how the values from your table should be formatted based on what condition.

There are three states, less than, equal to, or greater than.

 

Another question, is there an existing relationship between both tables in your data model?

 

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.