Forum Discussion
Counting Attendance Percentage per Function
- 4 years ago
I agree with what the video told you. If I understand then, your attendence table looks like this
If that is the case then you can take the distinct count of the meeting id to get the number of meetings. Which is what this formula does: calculate(DISTINCTCOUNT(attendanceTable[ID]),All(attendanceTable))
I am thinking the error is occuring when you try to do a distinct count from the other table.
Hi,
To clarify, I have 2 tables.
So the original field I get from PowerApps concantenates all the different departments together. I watched a video and was told that it would be best to split out that column and create a new table which is illustrated in the images in the original post.
I agree with what the video told you. If I understand then, your attendence table looks like this
If that is the case then you can take the distinct count of the meeting id to get the number of meetings. Which is what this formula does: calculate(DISTINCTCOUNT(attendanceTable[ID]),All(attendanceTable))
I am thinking the error is occuring when you try to do a distinct count from the other table.
- Anonymous3 years agoNot applicable
That worked! Thank you!
If I wanted to then create a filter to drill down the percentage such that it will change according to the month, may I know how I can do that?- jgeddes3 years ago
Super User
Happy it worked for you.
If you want to filter by date you will need to have whichever table contains both meeting id and the date the meeting was held related to the attendence table by meeting id.
You would then be able to use the meeting dates to filter the attendence results.
- Anonymous3 years agoNot applicable
Another quick question,
As I am pulling out the concantenated values and pulling it into the "Attendance" table, only the departments that are selected in the PowerApp (present departments) are reflected in the table.
Is there a way where I can pull ALL departments into the table, but reflect "present" if they are selected, and "absent" if they are not? I think this would make it easier to get the drilldown results that would fit my usecase.