Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Helper III
Helper III

Count number of attendees based on non blank attendee name fields

I have a table for an appointment and it has columns as follows for each event (each row):


Attendee 1 name

Attendee 2 name

Attendee 3 name

Attendee 4 name

Attendee 5 name

Attendee 6 name

(all the way to 16!)


I need a measure to count the number of attendees at each appointment - by counting the non blanks in the name field.


I am completely stuck on how to do this - please can you help?

Super User
Super User

Super User
Super User

Hi @gingerclaire ,

 You should be able to use the COUNTA function to do this.

(Adapt for your table and field names)


Number of Attendees= COUNTA(Table[FieldName])

Counts the number of rows in the specified column that contain non-blank values.


Please consider accepting as solution if this answers the question- thanks!

Thank you - I need to be able to do this across multiple fields for the table as below (I actually have 16 attendee fields):

 Attendee1nameAttendee2nameAttendee3nameAttendee4nameAttendee5nameAttendee6nameTotal attendees
Event 1JohnSarahJamesGeoff  4
Event 2HelenBob    2

Helpful resources

PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors