Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Help with DAX Calculation

Hi all, if someone could help with the below DAX calc that would be awesome...   Ok... I have a list of study courses and via relationship I can determine the number of students in a course - easy...
  • amitchandak's avatar
    6 years ago

    Try

    formula 1
    Count of student = SUM('Table'[student])
    
    formula 2
    count of courses = 
    calculate(countx(
        VALUES(course[ID])  // Avg till this level
        , course[ID]
    ),[Count of student] >10)

    Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution. In case it does not help, please provide additional information and mark me with @
    Thanks.

    My Recent Blog - https://community.powerbi.com/t5/Community-Blog/Comparing-Data-Across-Date-Ranges/ba-p/823601