Forum Discussion

wilfredtsk's avatar
wilfredtsk
Icon for Helper I rankHelper I
8 years ago
Solved

Measure: Displaying "cluster data"

Hi PowerBI pros, need help and advice pls. Am trying to display chart with clustering of data for performance appraisal, i.e.   Number of staff which are B performance and above Number of staff ...
  • Anonymous's avatar
    Anonymous
    8 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