SUM, SUMX – DAX Guide

SUM: Adds all the numbers in a column.
https://dax.guide/sum/

SUMX: Returns the sum of an expression evaluated for each row in a table.
https://dax.guide/sumx/