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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.