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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
mdelalla
Regular Visitor

How to calculate Net amount based on 2 values

Hi,

I am trying to calculate the net promotion amount based on those that move from a compensation class to another compensation class (NET PROMOTION = Total amount of employees that moved into the compensation class - Total amount of employees that moved out of the compensation class). For example, if we have a total of 50 employees that moved into CC02 and we have a total of 30 employees that moved out of CC02, then the Net promotion amount would be 50-30=20.

 

How can I do this so that I can show a matrix per year based on the Comp Class?

 

Test_Net Promotions.pbix

 

Thanks!

Regards

 

Marta

1 ACCEPTED SOLUTION

6 REPLIES 6
mdelalla
Regular Visitor

@Ashish_Mathurwould you be able to help me with my query above? So far I haven't received any responses and you were really helpful with a previous query I had in the past. Thanks!

 

Regards

 

Marta

Hi,

I am not clear about your expected result.  Share a smaller dataset and clearly show the expected result for that dataset.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Hi Ashish, you can find a smaller sample test in the link below.

 

https://1drv.ms/u/s!AoGWrXy4WRiC-3sWjw9LeD6j3NWv?e=ZFFAx7

 

This is an example of the table that what I want to create in Power BI

Comp Class20182019202020212022
CC0420004
CC0312567
CC0264072
CC01-1-5-4-7-6

 

So for CC02 in 2018 there are 6 net promotions because there were 9 employees with New Comp Class as CC02 - 3 employees with Old Comp Class as CC02 = 6

 

Hope this is clear. Thanks for your help in advance!

 

Regards

Marta

Thanks so much! this has worked perfectly! Really appreciate the help 🙂

 

Marta

You are replying to this thread after more than a month.  I just do not know what you want.  I lost the plot.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.