Forum Discussion

daviss62's avatar
daviss62
Frequent Visitor
8 years ago
Solved

NOT function with list of values

I have the following formula that calculated column for the number of courses completed by students.   WW Completed Courses = SUMMARIZE(     'WW Registrations',     [Student ID],     [Academic...
  • Anonymous's avatar
    Anonymous
    8 years ago

    Hi daviss62,

     

    You can direct add filters on table to filter records:

    WW Completed Courses =
    SUMMARIZE (
        FILTER (
            ALL ( 'WW Registrations' ),
            NOT (
                'WW Registrations'[Course Grade Official]
                    IN { "I", "IP", "N", "T", "W", BLANK () }
            )
        ),
        [Student ID],
        [Academic Year],
        [Academic Year End Academic Career],
        [Academic Year End Academic Plan No Roll-up Description],
        [Gender Description],
        [Age Groups],
        [Age],
        [Ethnicity (IPEDS)],
        "Completed Courses", COUNTA ( 'WW Registrations'[Student ID] )
    )
    

    Regareds,

    Xiaoxin Sheng