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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
Anonymous
Not applicable

Create Measure for Attendance (100% or 0%)

Hi,

 

I've created a table by appending "Required Attendee" with "Attendance" with the goal of visualising this to see an Attendance report. As you can see, for this particular "Meeting ID" 4 people were invited, but only 2 people attended (Name ID = 1112 and Name ID = 1703).

 

mccardj_0-1665272047625.png

 

How can I write a measure to show the full list of attendees with a column showing those who attended as 100% and those who didn't as 0%?

Something like this:

Name IDAttendance
670%
1390%
1112100%
1703100%



 

1 ACCEPTED SOLUTION
Shaurya
Memorable Member
Memorable Member

Hi @Anonymous,

 

You can use the following DAX Formula to create the result table:

 

Attendance Percentage = SUMMARIZE('Table','Table'[Name ID],"Attendance",IF(MIN('Table'[Type])="Attendance",1,0))

 

Format the Attendance column as percentage to see this result:

 

Screenshot 2022-10-09 052259.jpg

 

Works for you? Mark this post as a solution if it does!

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Perfect! Thanks so much for that!

Anonymous
Not applicable

Thanks but I get this error:

mccardj_0-1665274304492.png

 

Hi @Anonymous,

 

Since this will return a table, you can not create this formula as a measure. Use it to create a new DAX table.

 

Did I answer your question? Mark this post as a solution if I did! 

Shaurya
Memorable Member
Memorable Member

Hi @Anonymous,

 

You can use the following DAX Formula to create the result table:

 

Attendance Percentage = SUMMARIZE('Table','Table'[Name ID],"Attendance",IF(MIN('Table'[Type])="Attendance",1,0))

 

Format the Attendance column as percentage to see this result:

 

Screenshot 2022-10-09 052259.jpg

 

Works for you? Mark this post as a solution if it does!

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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