Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.
Hello, I am attempting to figure out how to get do a count of companies that have a branch but not a head office.
So my branch table has a field called "Type" with entries "Head Office" and "Branch". I would like to create a measure that counts companies for instances where there is a branch but no head office. (This will be used in a table with regions so we can see how many companies have branches but not head offices per region).
Hi @some_bih , no that won't work.
The issue is that we have data where one company can have both a branch and a head office.
Eg in London, Company A has both a head office and a branch. Company B only has a branch. So I want to see a count of 1 for London, because only company B has a branch and no head office.
Hi @DataSkills please share your table structure with example what is expected.
Proud to be a Super User!
Hi @DataSkills your table is not visible to us so I created some table in Excel and import it in pbi file. I understand that in one single columns are both values Branch and Head office. One possible solution, if your table is organize as shown below could be:
Rename Sheet1 to your table name
Did I answer your question? Mark my post as a solution! Kudos Appreciated!
Proud to be a Super User!
User | Count |
---|---|
10 | |
8 | |
5 | |
5 | |
4 |