Sum of values by each category - Power BI
community.powerbi.com › t5 › DesktopFeb 28, 2017 · Well, you could create a calculated column with an expression such as this-. Total value by category = VAR category = [Category] RETURN CALCULATE (SUM ( [Value]), FILTER (Table1, [Category] = category)) (For each row, calculate the sum of Value of all rows where Category equals to that of the current row).