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

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now

Reply
BGHFlowserve
New Member

Matrix help

I have data across multiple years. My matrix is currently set up like below:

2019                                                           2020

Linehaul     Fuel    Accessorials     Total      Linehaul     Fuel    Accessorials     Total    

 

I would prefer this new format if possible:

Linehaul           Accessorials         Fuel                 Total

2019   2020      2019   2020         2019   2020     2019   2020

 

Is there a way to do this?

5 REPLIES 5
v-yingjl
Community Support
Community Support

Hi @BGHFlowserve ,

Adjust the position in the column field, use 'expand all down one level in this hierarchy'

m.pngmatrix.png

 

Best Regards,
Yingjie Li

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

Anand24
Super User
Super User

Hi @BGHFlowserve ,

 

In the fields section of matrix visualization, you currently seem to have Year(2019, 2020) field and then category(Linehaul, Fuel, Accessorials, Total) field in the Columns section.

 

You just need to re-arrange them such that category field is above year field.

Matrix2.PNG

 

Give a thumbs up if this post helped you in any way and mark this post as solution if it solved your query !!!

 

parry2k
Super User
Super User

@BGHFlowserve why not on the column, first add your category column and then year column and drill down to the year level and it should work.

 

I would  Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos whoever helped to solve your problem. It is a token of appreciation!

Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

So far I'm unable to make that work - can you elaborate any further on your suggestion?

Hi @BGHFlowserve ,

 

See if these tips and tricks of Matrix help

 

https://www.youtube.com/watch?v=58a2rIV2nYg

https://www.burningsuit.co.uk/blog/2019/04/7-secrets-of-the-matrix-visual/

 

Regards,

Harsh Nathani

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.