Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to add Calculated rows in a PBI Matrix

Hi all,

I want to insert calculated rows to a power BI matrix. How do i add this?

I can add calculated columns. But not sure how to structure the data and what are the functions to use to do this;


Vol(KG)            100
Turnover       12,000
Cost       (8,000)
Gross Profit         4,000
Cost/KG              40
Gross margin33.3%

This is what the matrix should look like. Cost/KG and Gross margin are calculated using above rows.


Please assist

Community Champion
Community Champion

have a read here:

Did I answer your question? Mark my post as a solution!
Thank you for the kudos 🙂

Proud to be a Super User!

Helpful resources


2023 Release Wave 1 Plans

Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.

Power BI Summit Carousel 2

Global Power BI Training

Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!

BizApps LATAM 2023

Business Application LATAM Summit 2023

Join the biggest FREE Business Applications Event in LATAM this February.

Power Platform Bootcamp

Global Power Platform Bootcamp

In this bootcamp we will deep-dive into Microsoft’s Power Platform stack with hands-on sessions and labs, delivered to you by experts and community leaders.

Top Solution Authors
Top Kudoed Authors