Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateJoin 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.
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
66 | |
65 | |
57 | |
39 | |
27 |
User | Count |
---|---|
85 | |
59 | |
45 | |
42 | |
39 |