Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Discrepency in solutions

prakashatutd
8 - Asteroid

 

 Dataset: Compensation

 

Analysis Task: Employees at Company A are guaranteed their salaries regardless of meeting their sales goal. If the meet their sales goal, they also earn a bonus, which is an additional percentage of their base salary (shown as a decimal in the data). Given the provided dataset, what is the average total compensation (salary plus bonus if applicable) for employees at Company A?

 

Issue faced : The values for Average Compensation from  Approach - 1: (Use one formula) differs from  Approach - 2 (uses multiple formula). 

 

Request: Looking for troubleshooting this discrepancy    

 

2 REPLIES 2
Raj
16 - Nebula

@prakashatutd 
you need to update the formula in second approach and result will be obtained similar to first

IF [Actual Sales]>=[Sales Goal]
THEN [Salary]+(([Actual Sales] - [Sales Goal])*[Bonus Percent])
ELSE [Salary]
ENDIF

mark done if solved.

prakashatutd
8 - Asteroid

Thanks! Very much appreciate it.

Labels
Top Solution Authors