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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Katt1234
Regular Visitor

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

 

5 REPLIES 5
v-veshwara-msft
Community Support
Community Support

Hi @Katt1234 ,

Following up to see if your query has been resolved and if any of the responses helped.

If you're still facing issues, feel free to reach out.

Thank you.

v-veshwara-msft
Community Support
Community Support

Hi @Katt1234 ,
We wanted to kindly follow up regarding your query. If you need any further assistance, please reach out.
Thank you.

v-veshwara-msft
Community Support
Community Support

Hi @Katt1234 ,
Just wanted to check if the reponses provided has met your needs. If yes, please consider marking the helpful reply as "Accepted Solution" to assist others with similar queries. If further assistance is needed, please reach out.
Thank you.

v-veshwara-msft
Community Support
Community Support

Hi @Katt1234 ,
Thanks for reaching out to Microsoft Fabric Community.

As mentioned by @Ritaf1983 , the matrix visual handles multiple fields in the Rows area as a hierarchy, which causes the nesting.

To get a flat layout without nesting, you can follow their suggestion to change the Layout to Tabular in the Format pane and also turn off subtotals if needed. This will make the visual appear more like a tabular structure, with your source columns and calculated values side by side.

 

Hope this helps. Please reach out for further assistance.

Please consider marking the helpful reply as Accepted Solution to assist others with similar issues.

Thank you.

Also thanks to @Ritaf1983 for your valuable response.

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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

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.