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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.