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

Matrix Table Dynamic Gradient For each Row Level

Hello Everyone,

I made a matrix table with 2 rows, Developer and project while in values i have the Time spent

when i go to cell elements and try to add a background color as gradient, the gradient takes the whole projects and not for each developer. how can i add a condition to see by each developer and not just max min of all time spent? like developer 1 has 3 projects A took 3 hours, B took 1 hour and C took 6 hours

colors should be
A = Blue
B = green
C = Red

however developer 2 has 2 project project D took him 2 hours and project E 100 hours 

so instead of having the above colors i mentionsed, powerbi will take 100 as default max value and 1 hour as min value

so my colors for developer 1 will be 
A = green
B = green
C = green

as 100 is the max to be red so C will be looked as closer to 1 so taken as green.


3 REPLIES 3
lbendlin
Super User
Super User

That is a pretty standard pattern. Create a measure that uses REMOVEFILTERS to produce row specific values and then use that measure value as the color of the cell background. 

Anonymous
Not applicable

hello @lbendlin , i tried creating a measure with allexcept the assignee stll didnt work

Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).

Do not include sensitive information or anything not related to the issue or question.

If you are unsure how to upload data please refer to https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...

Please show the expected outcome based on the sample data you provided.

Want faster answers? https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...

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.