Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Formula assistance needed

vrajgopal
7 - Meteor

I am trying to calculate rebate based on a logic. It should be a simple formula but for some reason I am not able to get the formula working.

 

Need help to figure out where I am going wrong.

 

Attaching the data and the workflow

3 REPLIES 3
Qiu
21 - Polaris
21 - Polaris

@vrajgopal 
Your "Achieved target" and and "Stretch Target" need to be numeric fields in order to perform numeric calculation.

1210-Vrajgopal.PNG1210-Vrajgopal-1.PNG

joshuaburkhow
ACE Emeritus
ACE Emeritus

The problem is with your "Achieved target" and "Stretch Target". You are trying to build a formula to multiple two values but these two are strings 😉 If you use a select tool to convert them or better yet, set them as numbers in your excel file that'll fix them

 

joshuaburkhow_0-1607603420199.png

 

Joshua Burkhow - Alteryx Ace | Global Alteryx Architect @PwC | Blogger @ AlterTricks
vrajgopal
7 - Meteor

Thank you. Looked at all possible solutions except checking the data type 🙂

Labels
Top Solution Authors