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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Kiran_Gundu
Frequent Visitor

Need Help

Hi, 

 

Please find the below requirement.

 

I have data like below , i know the total cost of each project and individual employees revenue. 

Now I need to calculate profit and profit percentage based on total cost and total revenue.

 

total profit = total revenue - total cost. 

Indivial profits = total profit / total revenue * revenue

profit percentage = individual profit / total profit * total profit percentage

 

I have calculate in one filed, same as for remainig one. can you please help me to generate report in power bi.

 

Project EmpnoEmpnameCostRevenueProfitProfit Percentage
Project 11A 3000046000/81000*30000=1703717037/46000*56.79=21.03
Project 12B 15000  
Project 13C 36000  
Project 10Dummy35000810004600056.79
Project 25E 36000  
Project 26F 28000  
Project 27G 39000  
Project 20DUmmy47000   
Project 39I 25000  
Project 310J 30000  
Project 311K 40000  
Project 30Dummy50200   
2 REPLIES 2
v-chuncz-msft
Community Support
Community Support

@Kiran_Gundu,

 

You may refer to the following post.

https://community.powerbi.com/t5/Desktop/Subtotal-Percentages/m-p/313658#M139139

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

HI,

 

Below is data, I want to calculate profit and profit percentage for below data in pwer bi.

 

If I filter project column then it should be calcualte based on filtering and should be dispaly profit and profit %

 

Example - if i filter project1 -> profit should be calculated revenue - cost

                                            -> profit % should be calculate profit / revenue.

             - if I filter project 2 & 3 -> Profit should be calculate for these two (total revenue) - total cost

                                                   -> Profit % should be calculate total profit / total revenue.

 

Project EmpnoEmpnameCostRevenue
Project 11A 30000
Project 12B 15000
Project 13C 36000
Project 10Dummy35000 
Project 25E 36000
Project 26F 28000
Project 27G 39000
Project 20DUmmy47000 
Project 39I 25000
Project 310J 30000
Project 311K 40000
Project 30Dummy50200 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.