Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi Team,
I have a requirement where i need to import an Excel file or SmartSheet into PowerBI desktop.
The dataset has a hierarchy setup on one of the columns which is getting imported as members of one single column when i try to import this data into Power BI Desktop.
Here is the image: https://1drv.ms/u/s!AsC5PgabP0U9gWvqQKdjaF7VdqY6?e=UDUL1w
I would like to break this excel column in RED BOX into different columns as per the members of the hierarchy given on the excel data.
If Power BI Desktop will not support this, can anyone suggest any workarounds for this use case?
Thanks in advance!
Suvrat
Solved! Go to Solution.
Do you mean you want to achieve sevaral columns like [Main Category], [Second level Category], [Thrid level Category] and etc in the columns section in matrix visual, right?
If that's what you want to achieve, you can click query editor-> transform and click on the hierarchy columns above, then click unpivot columns.
After applied, you can create a matrix visual and then drag the new generated "value" column into column section.
Community Support Team _ Jimmy Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, Can you please explain how would the unpivot option split it into multiple columns according ot the hierarchy? I have a similar problem but I could not understand your solution.
I need the second column in this matrix into multiple columns i tried your solution but the value column creates the same single column that was in the original column
This is the original column
this is after unpivoting it
I will appreciate your help in this
Do you mean you want to achieve sevaral columns like [Main Category], [Second level Category], [Thrid level Category] and etc in the columns section in matrix visual, right?
If that's what you want to achieve, you can click query editor-> transform and click on the hierarchy columns above, then click unpivot columns.
After applied, you can create a matrix visual and then drag the new generated "value" column into column section.
Community Support Team _ Jimmy Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
65 | |
63 | |
52 | |
37 | |
36 |
User | Count |
---|---|
79 | |
67 | |
60 | |
45 | |
45 |