Showing results for 
Search instead for 
Did you mean: 
Regular Visitor

Find average GPA for numerous couses

Hi everyone!  I'm fairly new to PowerBI.  I need help figuring out how to find the average GPA of a number of courses.  I'm sure there's a better way to do this but I started out by creating conditional columns that give me the point value of each grade for each course.  Now I need to get the average GPA for those classes.  Not every student has completed all of the necessary courses, so those are "null".  Here's a snip of the table I'm creating: 



So, each row has the students UID number followed by the courses needed to complete that degree.  I've only changed the letter grade to the point value on the first two courses so far.  If there's a better way to do that beside creating a conditional column for each, I'd love to know!  If not, I'll continue to create conditional columns for each course with the point value.  


Once that's done I need to calculate the GPA for each student.  Idealy, I'd like to show it at the end of each row as the "total".


I hope all of that makes sense! Any help is greatly appreciated!!  

Super User
Super User


Share some data in a format that can be pasted in an MS Excel file.  Show the expected result.

Ashish Mathur

Helpful resources

PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Top Solution Authors