Forum Discussion
BassG
Helper I
2 years agoCategorise average percentages
Hi all, I did a search & couldn't find anything to help, so thought I'd ask here. I'm trying to create a graph where it shows how many people fall into an attendance box. E.g 16 had 10% attenda...
- Anonymous2 years ago
Hi BassG
Here is the sample data:
Then add a calculated table:
Table 2 = GENERATESERIES(0,100,10)Finally, add a measure and create a Clustered Column Chart with it:
MEASURE = VAR _currentValue = MAX ( 'Table 2'[Value] ) RETURN COUNTROWS ( FILTER ( SUMMARIZE ( 'Table', 'Table'[Pupil ID], "_Avg", AVERAGE ( 'Table'[% Attendance Openings] ) ), [_Avg] <= _currentValue && [_Avg] > _currentValue - 10 ) )The result is as follow:
Best Regards
Zhengdong Xu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
BassG
Helper I
2 years ago
| Pupil ID | Session Year | Term | # Possible Openings | # Attendance Openings | % Attendance Openings |
| 12636 | 2023/24 | Term 1 | 76 | 56 | 73.68 |
| 12521 | 2023/24 | Term 1 | 76 | 68 | 89.47 |
| 23987 | 2023/24 | Term 1 | 76 | 76 | 100 |
| 12378 | 2023/24 | Term 1 | 76 | 54 | 71.05 |
| 23456 | 2023/24 | Term 1 | 76 | 74 | 97.36 |
| 23876 | 2023/24 | Term 1 | 76 | 74 | 97.36 |
| 23678 | 2023/24 | Term 1 | 76 | 76 | 100 |
| 23732 | 2023/24 | Term 1 | 76 | 72 | 94.73 |
| 12636 | 2023/24 | Term 2 | 88 | 87 | 98.86 |
| 23987 | 2023/24 | Term 2 | 88 | 85 | 96.59 |
| 12378 | 2023/24 | Term 2 | 88 | 54 | 61.36 |
| 23456 | 2023/24 | Term 2 | 88 | 83 | 94.31 |
| 23732 | 2023/24 | Term 2 | 88 | 80 | 90.9 |
| 23876 | 2023/24 | Term 2 | 88 | 85 | 96.59 |
| 12521 | 2023/24 | Term 2 | 88 | 88 | 100 |
| 23678 | 2023/24 | Term 2 | 88 | 88 | 100 |
| 12367 | 2023/24 | Term 3 | 112 | 110 | 98.21 |
| 12398 | 2023/24 | Term 3 | 112 | 110 | 98.21 |
| 12636 | 2023/24 | Term 3 | 112 | 110 | 98.21 |
| 23987 | 2023/24 | Term 3 | 112 | 112 | 100 |
| 12378 | 2023/24 | Term 3 | 112 | 57 | 50.89 |
| 12389 | 2023/24 | Term 3 | 72 | 70 | 97.22 |
| 23456 | 2023/24 | Term 3 | 112 | 106 | 94.64 |
| 23732 | 2023/24 | Term 3 | 112 | 98 | 87.49 |
| 23876 | 2023/24 | Term 3 | 112 | 94 | 83.92 |
| 12521 | 2023/24 | Term 3 | 112 | 110 | 98.21 |
| 23455 | 2023/24 | Term 3 | 64 | 38 | 59.37 |
| 23678 | 2023/24 | Term 3 | 112 | 104 | 92.85 |
| 12636 | 2023/24 | Term 4 | 104 | 104 | 100 |
| 12521 | 2023/24 | Term 4 | 104 | 104 | 100 |
| 23678 | 2023/24 | Term 4 | 104 | 104 | 100 |
| 12367 | 2023/24 | Term 4 | 104 | 102 | 98.07 |
| 12398 | 2023/24 | Term 4 | 104 | 100 | 96.15 |
| 23732 | 2023/24 | Term 4 | 104 | 100 | 96.15 |
| 23876 | 2023/24 | Term 4 | 104 | 98 | 94.23 |
| 23987 | 2023/24 | Term 4 | 104 | 97 | 93.26 |
| 12389 | 2023/24 | Term 4 | 104 | 96 | 92.3 |
| 23456 | 2023/24 | Term 4 | 104 | 96 | 92.3 |
| 12378 | 2023/24 | Term 4 | 104 | 90 | 86.53 |
| 23455 | 2023/24 | Term 4 | 104 | 88 | 84.61 |