Forum Discussion
Measure: Displaying "cluster data"
- Anonymous8 years ago
wilfredtsk,
Please replace the Grade table to your table name in the following DAX.
B and Higher = CALCULATE( COUNT('Grade Table'[STAFF NAME]), 'Grade Table'[GRADING] in {"A" , "B+", "B" })
B- and Lower= CALCULATE( COUNT('Grade Table'[STAFF NAME]), 'Grade Table'[GRADING] in {"B-" , "C+", "C" })
And you can create a chart as shown in the following screenshot.
Regards,
Lydia
Hi wilfredtsk,
Try to use this measures below:
B and Higher = CALCULATE( COUNT(Grades[STAFF NAME]), Grades[GRADING] in {"A" , "B+", "B" })
B- and lower = CALCULATE( COUNT(Grades[STAFF NAME]), Grades[GRADING] in {"B-" , "C+", "C" })Regards,
MFelix
- wilfredtsk8 years ago
Helper I
Hi MFelix,
Thank you for the speedy reply. It don't seem to work as the grades are highlighted in "red"
Also, once I have the measure, how can I display it as a chart?
Sorry for the trouble.
- Anonymous8 years agoNot applicable
wilfredtsk,
Please replace the Grade table to your table name in the following DAX.
B and Higher = CALCULATE( COUNT('Grade Table'[STAFF NAME]), 'Grade Table'[GRADING] in {"A" , "B+", "B" })
B- and Lower= CALCULATE( COUNT('Grade Table'[STAFF NAME]), 'Grade Table'[GRADING] in {"B-" , "C+", "C" })
And you can create a chart as shown in the following screenshot.
Regards,
Lydia