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
elguestca1
Advocate I
Advocate I

One column row levels in matrix

Hello,

i was wonering does anyone know what is the best practice to make matrix row levels from one column? It should be some kind of grouping. Example below.

This is the simplified example of data I have.

elguestca1_0-1723020004136.png


What I want is to return data like in example below in matrix table (lets say every 3rd level row has a value of 1 and it needs to aggregate going level up).

elguestca1_1-1723020087162.png

Colours are only for row level indication.

What could be the best solution for this? Creating several columns or several tables? Maybe it is possible to do it with only one column or measure?

Thank you.

1 ACCEPTED SOLUTION
Greg_Deckler
Super User
Super User

@elguestca1 You need to turn that into 3 columns. Can you post the data as text?



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

2 REPLIES 2
Greg_Deckler
Super User
Super User

@elguestca1 You need to turn that into 3 columns. Can you post the data as text?



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

Hello, @Greg_Deckler ,

Understood. I know how to it with 3 columns. I just did not know if it's the only option to do it. 

Thank you for the answer.

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.