Work with aggregates (sum, average, and so on) in Power BI
learn.microsoft.com › en-us › power-biNov 14, 2022 · Power BI can aggregate numeric data using a sum, average, count, minimum, variance, and much more. Power BI can even aggregate textual data, often called categorical data. If you try to aggregate a categorical field by placing it in a numeric-only bucket like Values or Tooltips , Power BI will count the occurrences of each category or count the distinct occurrences of each category.
SUM function (DAX) - DAX | Microsoft Learn
learn.microsoft.com › en-us › daxJun 21, 2022 · Syntax DAX SUM(<column>) Parameters Return value A decimal number. Remarks If you want to filter the values that you are summing, you can use the SUMX function and specify an expression to sum over. Example The following example adds all the numbers that are contained in the column, Amt, from the table, Sales. DAX = SUM(Sales [Amt]) See also SUMX
How to sum two column fields? - Power BI
community.powerbi.com › t5 › DesktopFeb 8, 2021 · If the two columns you are trying to add together are in the same table then: To add a new sum column: _summedValues = [column1name] + [column2name] To add as a measure: _summedValues = SUM(yourTable[column1name]) + SUM(yourTable[column2name]) If they are not in the same table then you must ensure the two tables are related, then you can do the following: