Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Henriquesm
New Member

Statement of Income - Calculate Rows

One question, how do I calculate between Lines in Power BI, in my case I have a statement of income with some values ​​but some without some totalized Lines.
This way I need to add some lines to fill the gap in the column I have

 

Example:

Credit: 100
Capture: 20
Commission: 60
Others: 20
Gross Margin: (sums of items above)

Provisions: 50

Net Margin (sum of Gross Margin (-) Provisions)

Expenses: 50

Net Profit: (sum Net Margin (-) Expenses)

 
1 Gross Margin, Net Margin and Net Profit are already included in the structure of My table, you would only need to do the calculation so that the value can fit into the Lines

2 Maybe they say that it would be better to bring the information already added into Power BI but it comes from the SAS System which makes this calculation impossible

Would there be a way to do these calculations in the column as explained above?


I also leave a print attached to help with understanding.

Thanks in advance

IMG-20230901-WA0006.jpg

1 REPLY 1
lbendlin
Super User
Super User

Please provide sample data (with sensitive information removed) that covers your issue or question completely, in a usable format (not as a screenshot). Leave out anything not related to the issue.
https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...
Please show the expected outcome based on the sample data you provided.

https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.