Forum Discussion
OleMcDonald
Helper I
5 years agoCount records in a joined table
I have two tables [Account] and [Contact] They have a one (account) to many (contact) join The [Contact] table has a [Job Group] column The [Job Group] is populated with a single value like "CEO"...
- 5 years ago
Hi OleMcDonald
Count of Id for CEO = COUNTROWS ( FILTER ( 'Account', CALCULATE ( COUNT ( 'Contact'[Job_Group__c] ), 'Contact'[Job_Group__c] = "CEO" ) = 0 ) )Please mark the question solved when done and consider giving a thumbs up if posts are helpful.
Contact me privately for support with any larger-scale BI needs, tutoring, etc.
Cheers
AlB
Community Champion
5 years agoHi OleMcDonald
Count of Id for CEO =
COUNTROWS (
FILTER (
'Account',
CALCULATE ( COUNT ( 'Contact'[Job_Group__c] ), 'Contact'[Job_Group__c] = "CEO" ) = 0
)
)
Please mark the question solved when done and consider giving a thumbs up if posts are helpful.
Contact me privately for support with any larger-scale BI needs, tutoring, etc.
Cheers