How To Calculate Total Of A Measure In Power Bi

To calculate the total of a measure in Power BI, you can use the SUM function in the DAX (Data Analysis Expressions) formula language.

Here’s an example:

DAX formula: Total Sales = SUM(Table[Sales Amount])

In this example, we have a measure called “Total Sales” that calculates the sum of the “Sales Amount” column in the “Table”.

To use this measure, follow these steps:

  1. Open your Power BI report or create a new one.
  2. Go to the “Fields” pane on the right side of the screen.
  3. Find the table that contains the measure you want to use (in this case, “Table”).
  4. Drag and drop the measure onto your report canvas to create a visual representation of the measure (e.g., a card, table, or chart).
  5. The visual will display the total value of the measure based on the data in your model.

For example, if your “Sales Amount” column contains the values 100, 200, and 300, the “Total Sales” measure will display 600.

Read more

Leave a comment