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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
milkmoneymike
Helper I
Helper I

Help Creating Attendance sheet

Hello All 

 

I am new to Power BI and would like to see the best way to track meeting attendance within our Board Members. I would like to show in a visual the percentage of meetings our Board members are attending. Im not entirely sure how to show that i can show the meetings each member went to but when i try and show the percentage of the grand total the percentages seem off. As you can see Skip has attended 100% of meetings and i would like to show that within a visual. 1's are marked as attended and the zero represents the User did not attend. Thanks in advanced for any help! 

 

Here is the table i am working off of 

NameR&R Q1Fall Board MeetingMonthly Meeting AugMontly Meeting SeptMonthly Meeting DecR&R Q2
Keith111101
Matt111100
Doni010111
Bill011011
Melissa101100
Norm011111
Skip111111
Bryan111111
Gordon111110

 

 

 

Cheers 

Mike

1 ACCEPTED SOLUTION
v-kelly-msft
Community Support
Community Support

Hi @milkmoneymike

 

First you need to unpivot your table,steps are as below:

Go to Home>edit queries>select the first column>unpivot other columns:

140.png141.png

142.png

 

Then you will get a table as below:

 

144.png

 

At last, you need a measure as below:

 

Measure =
VAR a =
    CALCULATE (
        COUNT ( 'Table'[Value] ),
        ALLEXCEPT ( 'Table', 'Table'[Name] ),
        'Table'[Value] = 1
    )
VAR b =
    CALCULATE ( DISTINCTCOUNT ( 'Table'[Meeting] ), ALL ( 'Table' ) )
RETURN
    a / b + 0

And you will see:

 

145.png

 

Btw,if you wanna calculate the percentage of "not attended",you just need to modify as 'Table'[Value]=0,

For the related .pbix file,pls click here.

 

Best Regards,

Kelly

 

 

View solution in original post

4 REPLIES 4
v-kelly-msft
Community Support
Community Support

Hi @milkmoneymike

 

First you need to unpivot your table,steps are as below:

Go to Home>edit queries>select the first column>unpivot other columns:

140.png141.png

142.png

 

Then you will get a table as below:

 

144.png

 

At last, you need a measure as below:

 

Measure =
VAR a =
    CALCULATE (
        COUNT ( 'Table'[Value] ),
        ALLEXCEPT ( 'Table', 'Table'[Name] ),
        'Table'[Value] = 1
    )
VAR b =
    CALCULATE ( DISTINCTCOUNT ( 'Table'[Meeting] ), ALL ( 'Table' ) )
RETURN
    a / b + 0

And you will see:

 

145.png

 

Btw,if you wanna calculate the percentage of "not attended",you just need to modify as 'Table'[Value]=0,

For the related .pbix file,pls click here.

 

Best Regards,

Kelly

 

 

Anonymous
Not applicable

After unpivoting all columns (in Query Editor) except the name column, and renaming the new column from "Attribute" to "Meeting Name," I created 2 measures:


# of Meetings Attended =
CALCULATE(SUM('Sheet1'[Value]),ALLEXCEPT('Sheet1',Sheet1[Name]))


Total Number of Meetings = CALCULATE(DISTINCTCOUNT(Sheet1[Meeting Name]),ALL(Sheet1))

and then a third measure to calculate meeting attendance percentage, using the previous 2 measures:

Attendance Percentage =
    DIVIDE('Sheet1'[# of Meetings Attended],'Sheet1'[Total Number of Meetings])

and then pulled those fields in to a table or clustered column chart:

Capture.JPG


Capture2.JPG

 

If this works for you, can you please mark it as the solution?
 
TomMartens
Super User
Super User

Hey @milkmoneymike ,

 

I reshaped the wide data format to a long data format by unpivoting the meeting, after doing this my table looks like this (just a fraction):

image.png

 

Then I created a measure that counts the number of meetings like so:

No Of All Meetings = 
 CALCULATE(
    DISTINCTCOUNT('Table'[Meeting])
    , ALL('Table')
)

 

For similar visuallizations tasks my favorite visual is the Bullet Chart by OKViz (you can add the visual for free from the marketplace). This is how it looks like:

image.png

The black horizontal line visualizes the number of meetings, the bar is just the sum of the column value.

 

This is how I configured the visual (be aware that I put the option "States" to off:

image.png

 

Hopefully this provides some ideas how you can tackle your challenge.

 

Regards,

Tom

 

 

 



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany
PaulDBrown
Community Champion
Community Champion

@milkmoneymike 

Start off by unpivoting all columns except the name column, and take it from there.





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






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.

Top Solution Authors