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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
vwiles84
Helper III
Helper III

Matrix Visual - Conditional Formatting

I have a martix that has sales information as the value, year by column and Week number and day of week by rows. I'd like to add formatting to this visual that highlights the highest sales amount in the chart for by year. Ideally, I'd like a visual that show a darker color for the highest sales amount ever but by each year will be good.  I am not finding a good way to conditionally format the visual so it give me the color idicators like I can in excel. Any help is appreciated. 

Here is a picture of the matrix in question. 

 

vwiles84_0-1733845438853.png

 

1 ACCEPTED SOLUTION

I found this video and this gave me the solution I need. https://www.youtube.com/watch?v=FOZQ0L8JxwI 

View solution in original post

3 REPLIES 3
vwiles84
Helper III
Helper III

Thank you for sending that. I reviewed and tried the dax measures but did not get a result. I am looking to idenfity the highest sales day when in the matrix when the day of the week, month and store are selected from the slicers.  I understand that creating a measure to calculate the MAX value would be the way to achieve this. However, i'm not sure how to get that data. I have tried a measure that just does MAX(table[actual]) but I am not able to add that measure to the conditional formatting. It isn't available for me to select for some reason.  Do you know why that measure isn't a field value the formatting can be based on?

I found this video and this gave me the solution I need. https://www.youtube.com/watch?v=FOZQ0L8JxwI 

AnkitaaMishra
Super User
Super User

Hi @vwiles84 , 
I have provided solution to similar problem in below post, please have a look once. 
https://community.fabric.microsoft.com/t5/Desktop/Conditional-Formatting-in-Matrix-Visual/m-p/402960...
Let me know if you need more help with writing DAX for your usecase. 
Also, it would be helpfull if you provide the expected ouput.

Thanks,

Ankita

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.

Top Solution Authors