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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
bhalicki
Helper II
Helper II

Matrix with multiple columns and alternating row colours

Hi all,

I have a sample data model as follows:

bhalicki_0-1708682718765.png

 

bhalicki_2-1708682744713.pngbhalicki_3-1708682756102.png

 

bhalicki_4-1708682766070.png

 

bhalicki_5-1708682811967.png

 

I need to use a matrix to display the project information, grouped by year.  I also want to have alternating row colours, but for some reason I cannot find an option to extend the row colour across all columns (as follows).

bhalicki_6-1708682897609.png

 

I know I can achieve this with a table, but that doesn't give me the option to group by year.

 

 

4 REPLIES 4
v-kaiyue-msft
Community Support
Community Support

Hi @bhalicki ,

Due to the design of Power BI, when not using the ladder layout, the row color cannot be extended to the parent category, but you can select different themes in the "style presets" drop-down box to change the matrix.

vkaiyuemsft_0-1708938670765.png

You can also submit an idea for it at Home (microsoft.com) and wait for users with the same needs as you to vote for you to help make it happen as soon as possible.

 

Best Regards,

Clara Gong

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Ritaf1983
Super User
Super User

Hi @bhalicki 

Switch on the format option of blended rows on row headers:

Ritaf1983_0-1708690846350.png

Ritaf1983_1-1708690903674.png

pbix is attached

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly

 

Thanks @Ritaf1983 , unfortunately that didn't give me the result I was looking for.  I need both the parent and child to appear on the same line (as if it were a table), but the alternating colour to extend across the entire row.

bhalicki_0-1708771055132.png

 

Hi @bhalicki 
No matter what you put inside the matrix this is what we have about alternating rows...

Ritaf1983_1-1708771587568.png

i updated the pbix...if it is still not there, I am afraid that you are trying to achieve something that is not possible, at least with the core visuals.
You can suggest it as an idea by the link:

https://ideas.fabric.microsoft.com/

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly

Helpful resources

Announcements
July 2024 Power BI Update

Power BI Monthly Update - July 2024

Check out the July 2024 Power BI update to learn about new features.

July Newsletter

Fabric Community Update - July 2024

Find out what's new and trending in the Fabric Community.