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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
michellesogge
Frequent Visitor

Alternating Column Row colors based on Year

Hello, 

I am trying to create a table that clearly shows which data points fall under different years via color-coding. I currently have a matrix set up with the following:

michellesogge_0-1678740764736.png

What I would like to do is alternate colors based on the Year. For example, both the "%" and "#" values for 2019 and 2021 would be a light grey background throughout the entire matrix, while the values for 2018, 2020, and 2022 would be white. Is there a way to do this?

2 REPLIES 2
SivaMani
Resident Rockstar
Resident Rockstar

@michellesogge, You can have a format by column, In your case, technically year is not a column - it is just values displayed in that format. You can format visuals by "%" and "#" values.  But it will apply for all years.

 

SivaMani_0-1678743282591.png

 If you have the Year as rows, you could try conditional formatting.

Ah, I see! Yes I had played around with that but ran into the problem you identified above. So there isn't a way to have it only do that for alternating years? Unfortunately there are too many current row values (I only showed some of them here) to have the years be switched to rows.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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
Top Kudoed Authors