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

Get Fabric certified for FREE! Don't miss your chance! Learn more

Reply
H_insight
Helper V
Helper V

Custom Hierarchy

Hi All,

 

I am trying to achieve the below hierarchy in PQ, but not getting much success. Any chance of help?

 

Expected outcome:

H_insight_1-1665124377176.png

 

Sample file link.

 

Many thanks

1 ACCEPTED SOLUTION
bharat_kumar
Regular Visitor

Hey
I have tried the same and achieve the hierarchy you have mentioned.
please find the Screenshots for your reference.

bharat_kumar_0-1665127419266.pngbharat_kumar_1-1665127444818.png

Let me describe you the Applied Steps:

1. Unpivot the Type column
2. Pivot the value column by keeping Attribute in value dropdown.
3. Use Headers as First Row.

bharat_kumar_2-1665127780557.png

4. Remove the Bottom row (1).
5. Rename the Column names as per your levels,
6. Sort the columns as required.

Please like the solution if you got success.

View solution in original post

3 REPLIES 3
bharat_kumar
Regular Visitor

Hey
I have tried the same and achieve the hierarchy you have mentioned.
please find the Screenshots for your reference.

bharat_kumar_0-1665127419266.pngbharat_kumar_1-1665127444818.png

Let me describe you the Applied Steps:

1. Unpivot the Type column
2. Pivot the value column by keeping Attribute in value dropdown.
3. Use Headers as First Row.

bharat_kumar_2-1665127780557.png

4. Remove the Bottom row (1).
5. Rename the Column names as per your levels,
6. Sort the columns as required.

Please like the solution if you got success.

@bharat_kumar 

 

Any chance of sharing the working files please? You can use this free site to upload it. thanks "https://easyupload.io/!

Please find the attached file.

https://easyupload.io/mtdbx7

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.

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.