Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago
Solved

Count of Measure

Hi,  Measure Applications counts the number of applications, ProgPerSchool measures distinct program in a school, AppPerSchool measures applications for a school, and AppAverageSchool calculate an a...
  • MFelix's avatar
    7 years ago

    Hi Anonymous ,

     

    Try to add the following two measures:

     

    Aplications Below = 
    COUNTX (
        FILTER (
            SUMMARIZE (
                ALL ( 'Dim Programs'[Program Name] );
                'Dim Programs'[Program Name];
                "ApplicationCount"; [Applications]
            );
            [ApplicationCount] < [AppAverageSchool]
        );
        [ApplicationCount]
    )
    
    Aplications Above= 
    COUNTX (
        FILTER (
            SUMMARIZE (
                ALL ( 'Dim Programs'[Program Name] );
                'Dim Programs'[Program Name];
                "ApplicationCount"; [Applications]
            );
            [ApplicationCount] > [AppAverageSchool]
        );
        [ApplicationCount]
    )

    Regards,

    MFelix