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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Need help for Social Network Graph Usage

Hello All,

 

In novembers update theres new visual has came up, Social Network Graph which is quite interesting.

 

In that they have show how a person is connected to their team.

 

I have a sample table as below.

Capture.PNG

 

 

Now When i choose a Employee Name from the table using a slicer,

It should show me the Supervisor, Project Manager, and Delivery Manager along with the rest of employees at that choosen employee.

 

I tried the way they have explained it in the sample from here 
https://store.office.com/powerbiaddininstallpage.aspx?rs=en-US&assetid=WA104381236

 

But no luck.

 

Any suggestions and help will be very much appreciable.

 

Thanks,

Mohan V

 

7 REPLIES 7
v-huizhn-msft
Employee
Employee

Hi @Anonymous,

Could you please share a screenshot displaying which column have you put in the field zone and your report? In addition, please share your sample data in table rather than picture, which we can copy and use it directly.

Best Regards,
Angelia

Anonymous
Not applicable

@v-huizhn-msft I tried the below dax to get the Manager job title.

 

ManagerJobTitle = LOOKUPVALUE('Project View'[EmployeeJobTitle],'Project View'[EmployeeID],'Project View'[ManagerID])

 

When i used this i got the error as table of multiple values are supplied were a single value was expected.

 

then i tried to use the selectedvalue function as below.

 

ManagerJobTitle = LOOKUPVALUE('Project View'[EmployeeJobTitle],'Project View'[EmployeeID],SELECTEDVALUE('Project View'[ManagerID]))

 

the output is null.

 

then i tried 

ManagerJobTitle = LOOKUPVALUE('Project View'[EmployeeJobTitle],'Project View'[EmployeeID],SELECTEDVALUE('Project View'[Project ID]))

 

But no luck. still geting null value.

 

I used this Because I am using a slicer i.e PROJECT ID

 

In my data for project A---> X is the DM, Y is Pm, Z is Supervisor.

The same X is Supervisr for Project B, Y is DM, X is PM,

 

Like wise i have data which is like a single person having multiple job roles for different projects.

 

Can you please help me with this. 

I ll be so thankful to you.     

For the Lookup to work, every record in your table needs a unique employee ID.

 

From your description, it sounds like you are using the same employees in multiple project and with different roles.  So you get around this by creating a unique ID for each employee within each project [ProjectEmployeeID] and a unique Manager ID for each manager on each project [ProjectManagerID]/

Add two new columns to your table:

ProjectEmployeeID = [ProjectID]&[EmployeeID]

ProjectManagerID = [ProjectID]&[ManagerID]

 

Then you can use the following formula to get the ManagerJobTitle column:

ManagerJobTitle = LOOKUPVALUE(ProjectView[EmployeeJobTitle],ProjectView[ProjectEmployeeID],[ProjectManagerID])

 

Then you should be able to add your ProjectID slicer to the graphic and it will work nicely.

Anonymous
Not applicable

Thanks for the reply @kmclorg.

It worked like a charm.

 

But my major question is something like as,

 

If a Employee Name is choosen from slicer.

 

Then in this visual it should show,

 

Employee, and along with his fellow team mates. --->  Manager --> Supervisor --> Project Manager -- > Delivery Manager.

Kind of hierarchy that i would like to show with this.

 

Is it possible with this visual and Dax.

 

Can you give any possible suggestions.

 

I ll be soo thankful to you.

 

Mohan V

If I understood correctly, the visualization needs only 1 level of hierarchy to work.

Your table lists the employees with their different levels of managers, I guess, but there's no link between those different managers.

You'll need to create a table with the employee, their title, the DIRECT manager, the manager's title.

The tree starts from the upper level manager down to the employee.

Now if you want to see the project hierarchy, maybe the Network Navigator Chart would be more appropriate...

Hope this helps...

Anonymous
Not applicable

@kmclorg @v-huizhn-msft Any help.

Anonymous
Not applicable

@v-huizhn-msft Thanks for the reply.

 

Here is the table that i am referring.

 Employee NameSupervisorProject ManagerDelivery Manager Name
Meeta JangdeVenkat ReddyManoj MoneMandar Marulkar
Prashant PandeyVenkat ReddyManoj MoneMandar Marulkar
Abhijeet BehareVenkat ReddyVijay VenkatachalamManoj Mone
Abhijeet BehareVenkat ReddyManoj MoneMandar Marulkar
Prithviraj SawantVenkat ReddyVijay VenkatachalamManoj Mone
Maulik PatilVenkat ReddyVijay VenkatachalamManoj Mone
Mohan VankudothVenkat ReddyManoj MoneMandar Marulkar
Supriya DhekaleVenkat ReddyManoj MoneMandar Marulkar
SHRADDHA NALKARVenkat ReddyManoj MoneMandar Marulkar
Radhika MantriVenkat ReddyManoj MoneMandar Marulkar

 

 

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

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.