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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

decomposition tree

Hi friends

I one new requirement in my company

One table have dataset where in one column only I have the userid of the person who  is sending the product and in the same column I have the user id of the person who got the product,

How to show this in Powerbi,

Below is the image of the sample dataset

asgar_gormalone_0-1695287640586.jpeg

 

You can see who is sending to who based on color,

And also in real database we have huge dataset, so how to do that in that case

4 REPLIES 4
lbendlin
Super User
Super User

Please provide sample data (with sensitive information removed) that covers your issue or question completely, in a usable format (not as a screenshot). Leave out anything not related to the issue.
https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...
Please show the expected outcome based on the sample data you provided.

https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...

Anonymous
Not applicable

Hi @lbendlin ,

i am sending the below data set with remove sensetive information.

Below is the sample dataset, you can copy the below table and paste in the normal excel

Table:

TreeNodeNumberRoleUserIDEmpNameParent IdOrganizationNameItemQunatityAvailable Quantity
0Organization0TEST-ORG TEST-ORG2000500
1Distributor1Abc0TEST-ORG110050
2Retailer2Antonio Moreno1Abc350150
3Retailer3Aria Cruz1Abc350300
4Retailer4Dinesh Raturi1Abc35050
5Distributor5Matt4Dinesh Raturi100200
6Retailer6Jhon4Dinesh Raturi200200
7Distributor7Jacobs2Antonio Moreno100200
8Distributor8David2Antonio Moreno5050
9Distributor9Matt7Jacobs100200
10Distributor10Meena8David400200
11Retailer11Seema10Meena200200

 

and out will be like below

asgar_gormalone_0-1695451537294.png

 

You could use one of the hierarchy visuals

 

lbendlin_0-1695598906303.png

or you can consider using the Sankey diagram

 

lbendlin_1-1695599765478.png

or a more fancy version.  Decomposition tree is an option but that would require you to pivot the data and hard code the hierarchy levels.

Anonymous
Not applicable

ok but suppose i have one more person to whom the 3rd (person antonio) is sending to Matt(4th level) in hierarchy visuals, how it will be connected, and shown?

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 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.