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
iDataDrew
Advocate IV
Advocate IV

How to create column and row hierarchies in tables?

Hi, I'm interested in creating tables with multiple headers or a hierarchy of headers:

 

ColumnHierarchies.PNG


In the above example, "Region" is the main header and "North", "South", "East", "West" are sub-headers.  I need to know how to creat this hiearchy in tables. 

 

Also, I'm interested in creating hierarchies within rows.  Below is an example of what I mean.  The top table has the row hierarchies, whereas the bottom one does not:

 

RowHierarchies.PNG

 

 

Is this currently possible in Power BI?  Thank you for your help. 

1 ACCEPTED SOLUTION
BhaveshPatel
Community Champion
Community Champion

For this type of reports, piovt tables and flattened pivots are more suitable and preferable options as those visualizations are more rich as compared to matrix visualization in PowerBI.

You can create Report 1 and 2 both using matrix visualization.

 

For report 1, You need to drg both region and zones in Columnsas shown in the screenshot. For Report 2, follow the technique shown by smoupre.

 

hierarchy.PNG

 

Thanks & Regards,
Bhavesh

Love the Self Service BI.
Please use the 'Mark as answer' link to mark a post that answers your question. If you find a reply helpful, please remember to give Kudos.

View solution in original post

2 REPLIES 2
BhaveshPatel
Community Champion
Community Champion

For this type of reports, piovt tables and flattened pivots are more suitable and preferable options as those visualizations are more rich as compared to matrix visualization in PowerBI.

You can create Report 1 and 2 both using matrix visualization.

 

For report 1, You need to drg both region and zones in Columnsas shown in the screenshot. For Report 2, follow the technique shown by smoupre.

 

hierarchy.PNG

 

Thanks & Regards,
Bhavesh

Love the Self Service BI.
Please use the 'Mark as answer' link to mark a post that answers your question. If you find a reply helpful, please remember to give Kudos.
Greg_Deckler
Super User
Super User

For the first one, not to my knowledge.

 

For the second one, use a Matrix visualization.


@ 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!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

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.