Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!View all the Fabric Data Days sessions on demand. View schedule
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:
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?
@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.
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.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!