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

Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare 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
OCT PBI Update Carousel

Power BI Monthly Update - October 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

October NL Carousel

Fabric Community Update - October 2024

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