cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
iDataDrew Member
Member

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

Accepted Solutions
BhaveshPatel Super Contributor
Super Contributor

Re: How to create column and row hierarchies in tables?

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
Super User
Super User

Re: How to create column and row hierarchies in tables?

For the first one, not to my knowledge.

 

For the second one, use a Matrix visualization.


I have book! Learn Power BI from Packt


Did I answer your question? Mark my post as a solution!

Proud to be a Datanaut!

BhaveshPatel Super Contributor
Super Contributor

Re: How to create column and row hierarchies in tables?

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

Helpful resources

Announcements
New Topics Started Badges Coming

New Topics Started Badges Coming

We're releasing new versions of the badge that everyone's talking about. ;) Check your inbox for notifications.

MBAS 2020

Save the new date (and location)!

Our business applications community is growing—so we needed a different venue, resulting in a new date and location. See you there!

Difinity Conference

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

Top Solution Authors
Top Kudoed Authors (Last 30 Days)