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.
Dear Friends,
My first message didn't go through I believe. Hence the second message.
The first table is the master table. The second is the transaction table. The master table contains the salary slab, performance rating as exceptional, effective, competent and ineffective. The transaction table contains the individual's ratings and basic salary. Eg. If someone's basic is less than 20700 and if his rating is exceptional 15% of basic, if effective 10% of basic, if competent 5% and ineffective 0% is the increment. This has to be linked to the second table using column reference and not by hardcoding the amounts as the slabs in master will be variable.
Could someone help me to achieve the result please?
Thanks & regards.
Salary slabExceptionalEffectiveCompetentIn-effective
20700 | 15% | 10% | 5% | 0% |
20701 | 14% | 9% | 4% | 0% |
29001 | 13% | 8% | 4% | 0% |
46801 | 12% | 7% | 3% | 0% |
65601 | 10% | 6% | 3% | 0% |
84401 | 6% | 4% | 2% | 0% |
EMP_IDNamePerformance RatingBASIC
182 | ES | Effective | 100150 |
162 | MPP | Effective | 96480 |
21017 | JR | Effective | 88620 |
130 | CR | Effective | 78310 |
16626 | SU | Competent | 65780 |
134 | JD | Effective | 58060 |
85 | ES | Effective | 48080 |
129 | RP | Effective | 39880 |
206 | HSG | Competent | 30460 |
16567 | AAR | Competent | 25790 |
210 | BBG | Competent | 18770 |
16904 | RSR | Effective | 16000 |
Solved! Go to Solution.
Hi @Thangavel_Raju ,
you can achieve this like so:
1) Check salary in master table and choose "Unpivot other columns"
2) Merge with transaction table on the new "Attribute"-column and the Rating column from the transaction table.
Imke Feldmann (The BIccountant)
If you liked my solution, please give it a thumbs up. And if I did answer your question, please mark this post as a solution. Thanks!
How to integrate M-code into your solution -- How to get your questions answered quickly -- How to provide sample data -- Check out more PBI- learning resources here -- Performance Tipps for M-queries
Hi @Thangavel_Raju ,
you can achieve this like so:
1) Check salary in master table and choose "Unpivot other columns"
2) Merge with transaction table on the new "Attribute"-column and the Rating column from the transaction table.
Imke Feldmann (The BIccountant)
If you liked my solution, please give it a thumbs up. And if I did answer your question, please mark this post as a solution. Thanks!
How to integrate M-code into your solution -- How to get your questions answered quickly -- How to provide sample data -- Check out more PBI- learning resources here -- Performance Tipps for M-queries
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.