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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Katt1234
New Member

Matrix with multiple starting rows that are not nested

I have a table that has multipe columns of data that is relevant. It is being pulled in by Direct Query which is very important for the timing of this task. It has start and end dates. I created a measure that uses to the start and end dates to create a monthly average. I can use a matrix to show the data in a monthly view (dates are the columns and values is the measure I created). However, the default matrix view only allows for one identifier column to be used (see below where name is used). If you add more than one field it the row column then it nests it underneath. Is there any way to have a visual that shows for example, multiple columns of source data alongside the calculations without it nesting underneath? 

 

NameTypeColor
1ABlue
2BGreen
3CYellow
4DOrange
5EPink

 

Katt1234_0-1750101129866.png

 

1 REPLY 1
Ritaf1983
Super User
Super User

Hi @Katt1234 

Matrix visual behaves like a pivot table – each field you place in the Rows section adds a level of hierarchy. That’s why it nests fields when more than one is used.

However, if you're aiming for a flat, non-nested structure that shows multiple source columns alongside your measure (e.g., monthly average), one option is to switch to a tabular layout. You can do this by enabling “Show on rows” and disabling “Stepped layout” under the matrix visual formatting pane. Also, turn off subtotals if needed.

This way, your fields will appear in a single flat row and not as nested levels.

Ritaf1983_0-1750127424229.png

With your DATA :

Ritaf1983_1-1750127730412.png

The pbix is attached

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

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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