Introduction
SUMX helps you add up numbers by looking at each row one by one. It solves the problem when you want to do math on each row before adding, like multiplying price by quantity for every sale.
When you want to calculate total sales by multiplying price and quantity for each product.
When you need to sum values that depend on a calculation per row, like discounts applied per item.
When your data requires adding up results of a formula, not just a simple column sum.
When you want to create a measure that sums values from a filtered or calculated table.
When you want to iterate over a table to perform row-level calculations before summing.