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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.