I have internal sales people that will get the following commission:
1st year 12%
2nd year 6%
In my data model I have Date, Company Name, monthly payment, if the company started day is April 1,2021, then my sales person will get 12% until March 31,2022, after that day on April 1, 2022 the % will change to 6%, some will be always 12% because they are new and the majority will become 6% with the past of time, how you can create the calculation
Below is the screenshot of the results provided for the reference purposes -
I’m also attaching the working of the PBIX file for the reference purposes as well.
Hoping you find this useful and meets your requirements that you’ve been looking for.
Note:If you’re looking for something other than this than please provide demo data and the expected results that you’re trying and achieve in an Excel file.
Harsh,
One more question please ( si no te importa)" if you do not mind"
The table is working great this is the final formula:
Bonus % =
VAR _Time_Period =
DATEDIFF( SELECTEDVALUE( SFACompPay[Payment Period] ) , TODAY() , YEAR )
VAR _Bonus_Percentage =
IF( _Time_Period < 1 , 0.12 , 0.06 )
RETURN
_Bonus_Percentage
how do you eliminate data that is 0 or null meaning October, Nov. etc of this year or the company started in Aril of last year and I do not have data for January, feb, of last year, (hope my question is correct)
Thanks
Hello!!!
As you can see my report it is almost perfect, I just need one more modification, when I pull a company with more than a year the report bring the payments since the beginning of operations with that company and calculates 6% it is correct but I need to be able to select moth and year example:
Company started date January 1, 2020 since the company started 2020 the selection will be 6%, and bring all the months, I need to be able to select example September 2021, but since the company has more than a year the selection should be 6%