Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi everyone,
I am trying to write a couple of dax calcuations to calculate costs based on the bonus percentages from another table. I have two tables which look like this:
Rates Table:
Bonus Table:
I need to create a column to calculate the Bonus for the dates in the rates table. So for a specific date, the bonus is the bonus percentage(for that month) of the rate(on that date). Then bonus + rate = cost.
These 2 tables have a many to many relationship.
The desired result would look something like this
Here's the link to the test file: https://drive.google.com/file/d/1tHzZSR6W0ArDc5FOoXDx_S1UhCtdKQCW/view?usp=sharing
Any help is appreciated. Thank you!
Solved! Go to Solution.
@akkitek is this what you meant?:
Calculating Costs by referencing bonus percentage from another table 2022-07-18.pbix
Pay attention I had to changed the data type of EMP ID to whole number (it was text) to work with the ID number in the Bonus table.
@akkitek is this what you meant?:
Calculating Costs by referencing bonus percentage from another table 2022-07-18.pbix
Pay attention I had to changed the data type of EMP ID to whole number (it was text) to work with the ID number in the Bonus table.
@akkitek my pleasure 🙂
Check out my showcase report - got some high level stuff there. Sure you will find there a lot of cool ideas.
https://community.powerbi.com/t5/Data-Stories-Gallery/SpartaBI-Feat-Contoso-100K/td-p/2449543
Give it a thumbs up over there if you liked it 🙂
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
146 | |
85 | |
66 | |
52 | |
47 |
User | Count |
---|---|
215 | |
90 | |
83 | |
66 | |
58 |