Sum of values by each category - Power BI
community.powerbi.com › t5 › DesktopFeb 28, 2017 · 1. Power BI can do such summarizations & aggregations on its own, and in real time. For example, if you'd add a Pie Chart to your report, set Category as its legend and Value as its values, it would automatically calculate the sum of values for each category. 2. Since the total is now present in each row, aggregations/summarizations made by Power BI on that column may result in meaningless/incorrect values.
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.