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
CGlembocki
Frequent Visitor

Grouping by families

I'm trying to group nodes by edges into separate families. I have an edge table of 100+ edges relating to 30+ nodes. How does one group families? Also, each family can have 2 or more top nodes.
2 REPLIES 2
v-yuta-msft
Community Support
Community Support

@CGlembocki ,

 

Could you please clarify more details about "group nodes", "edges" and "families"? If possible, please share some dummy data and expected result.

 

Regards,

Jimmy Tao

Hi Jimmy,

I'm working with family trees.

Here's how I'm using the terms:

  • "Nodes" - separate objects that exist in a dataset (namely, directed relationships between people)
  • "Edges" - the links between people
  • "Groups" - the individual families

Here's an example with two families. 

This is a sample edge table. The "source" is the "parent" and the "target" is the "child".

 

SourceTarget
AE
AF
BE
BF
CE
CF
DE
DF
EG
FH
IJ
JL
KL
LM
MN
NO
NP

 

The first family includes: A, B, C, D, E, F, G, H

 

The second family includes: I, J, K, L, M, N, O

 

I have a working M Query that produces results but is slow (upwards of 10 minutes for 7 families of 80 total nodes). I'm more than happy to upload it but I'm hoping that there is a simple way Power BI can separate the nodes by families. 

 

Thanks

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.