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

View all the Fabric Data Days sessions on demand. View schedule

Reply
mahitham
Helper I
Helper I

How to create Hierarchy

Hi,

 

I am new to pwer bi. I have found below hierarchy i.e., BUHierarchy with BU and Division Columns in the sample app(https://docs.microsoft.com/en-us/power-bi/sample-customer-profitability)

 Can any one pleas let me know how to and where to  create this hierarchy and what is the purpose of hierarchy. 

Thanks in advance

 

Hierarchy.png

1 ACCEPTED SOLUTION
Anonymous
Not applicable

In the fields pane, If you drag city field onto country field, the hierarchy will be created. This is how you will create hierarchy.

 

Hierarchy is useful to implemet drill functionality . SAy for ex: if you create a chart with this country Hierarchy with sales measure, Sales by country will be displayed with the option to drill down to sales by city.

 

Hope this is clear.

 

Thanks

Raj

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

I have 3 tables and Need to create a hierarchy. Refer Screenshots attached TablesTablesNew ColumnsNew Columns

1-Create column ProductSubCategory in Product table: ProductSubCategory = RELATED(DimProductSubcategory[EnglishProductSubcategoryName])

 

2-Create column ProductCategory in Product table: ProductCategory = RELATED(DimProductCategory[EnglishProductCategoryName])

 

3-Create Hierarchy by Dragging and Dropping these columns to EnglishProductName.

 

https://business-insights.net/2017/09/02/the-magic-of-related-relatedtable-functions-in-dax/

Anonymous
Not applicable

In the fields pane, If you drag city field onto country field, the hierarchy will be created. This is how you will create hierarchy.

 

Hierarchy is useful to implemet drill functionality . SAy for ex: if you create a chart with this country Hierarchy with sales measure, Sales by country will be displayed with the option to drill down to sales by city.

 

Hope this is clear.

 

Thanks

Raj

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors