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.

Help Needed to Convert SQL Statements into Alteryx

Puneet13
8 - Asteroid

Hi,

 

Please help me to develop below 2 SQL query into Alteryx to getting the correct output.

 

1. isNull(min(ltrim(rtrim(P1))), '')

2. min(ltrim(rtrim(isNull(Robot_Processing_Time,''))))

 

 

2 REPLIES 2
Kakuffo
Alteryx
Alteryx

hey @Puneet13  the great thing about alteryx is you can still utilise the SQL query in your input data tool, This will remove the need to translate from SQL to Alteryx.

trsali
Alteryx Alumni (Retired)

@Puneet13 If dont want to use the SQL query in your input data tool. You can also accomplish these steps by using the data cleansing tool and/or the formula tool. It seems like you are trying to trim leading and trailing spaces to avoid empty values, you can accomplish this through using the Data Cleansing tool and the formula tool. The formula tool also has trim functions that you can apply. I've attached an examples. Hope this helps.

Labels
Top Solution Authors