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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
cmsystems42
New Member

Help with a measure to count values of table

Table 1

IDName
1Orange
2Blue
3Black
4Green

Table 2

IDLocationNameNameId

1

AtlantaBlue2
2RomeBlue2
3LondonBlack3
4ParisOrange1

 

Table 1 have a 1 to many relationship with Table 2. I want to create a measure to count the rows for each name to have a total of each name that is valued in Table 2. Then I want to identify how many names have 1 or less rows in Table 2.

 

Thank you for any help you can provide!

1 REPLY 1
lbendlin
Super User
Super User

Why a many-to-many relationship?  The colors are unique.

 

Please provide sample data that fully covers your issue.
Please show the expected outcome based on the sample data you provided.

Helpful resources

Announcements
Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.