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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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