New answers tagged

1 vote

SOQL - Relationship extract json from child object and join picklist label

You can get something close to this using an Aggregate Query. Your query would be: SELECT Market__r.Name, toLabel(Role__c), COUNT(Id) FROM Person__c GROUP BY Market__r.Name, Role__c (I'm guessing what ...
fred's user avatar
  • 3,165

Top 50 recent answers are included