We have extended our Early Bird Tickets for Inspire 2023! Discounted pricing goes until February 24th. Save your spot!

Alteryx Designer Discussions

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

Help Needed to Convert SQL Statements into Alteryx

Puneet13
7 - Meteor

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
Alteryx

@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