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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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