I am trying to calculate the average of students' math score across different years and visualize them in Powerbi by understanding the trends of student's average score from 2014 through 2018. I wondered what will be the most efficient way to do it. I am still new to Powerbi. I looked up DAX language and seems like it can only get an average of the whole column of math scores regardless of specific year. If it can accomplish my goal, can anyone guide me how to do it, please?
Thanks!
Excel sheet in TEXT format
YEAR Math Score
2014 80
2014 43
2014 23
2015 21
2015 78
2015 42
2015 100
2015 59
2016 48
2016 24
2017 90
2017 99
2018 98