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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply

How to generate hierarchy from SAP extraction (profit center) and unpivot

Hi community,

 

I have an extraction from ERP SAP ECC.

The column "Centre de profit" (profit center in english) describes a hierarchy with differents levels.

Any idea of how can I generate this hierarchy in PowerBI ?

I tried to unpivot my data but necessarily the hierarchy is descried in only one column in my Excel while I imagine to have one new column for each of my hierarchy level in PowerBI ?!

Thanks for your help !

screen.png

 

4 REPLIES 4
v-chuncz-msft
Community Support
Community Support

@michaeldurieux2 

 

You may try Pivot Column in Query Editor and Matrix visual.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thanks @v-chuncz-msft Sam for your replie.

As I mentioned in my post, I already have unpivot my data.

My point is that my hierarchy is described in my second column with + and - as you can see on my screenshot.

 

Any idea of how can I manage this need ?

Thanks.

Anonymous
Not applicable

Hi @michaeldurieux2 

 

Did you find a solution for this for a hierarchy from SAP or BW? 

 

We are struggling with the same thing

 

Thank you

Unfortunately no 😞

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.