Alteryx Designer Desktop Discussions

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

Extract Values Surrounded by Quotes

Jucodeo
5 - Atom

Hello Alteryx Community,

 

I am trying to parse out queries to obtain the pulled fields. The fields will always be surrounded by single quotes. I tried parsing a quote as a delimiter, which seemed to work. However, I also retrieved additional parts of the query, such as IF, FROM, and EQUALS clauses. Is there a way to retrieve the field names? 

 

Here is an example. I would only like to retrieve the green values in the 'Fields' column.

QueryFields
Select 'Employee' Like TEST and 'Report Number' and 'Payment Date' From 2024-01-01 To 2024-01-02Select
Select 'Employee' Like TEST and 'Report Number' and 'Payment Date' From 2024-01-01 To 2024-01-03Employee
Select 'Employee' Like TEST and 'Report Number' and 'Payment Date' From 2024-01-01 To 2024-01-04Like TEST and
Select 'Employee' Like TEST and 'Report Number' and 'Payment Date' From 2024-01-01 To 2024-01-05Report Number
Select 'Employee' Like TEST and 'Report Number' and 'Payment Date' From 2024-01-01 To 2024-01-06and
Select 'Employee' Like TEST and 'Report Number' and 'Payment Date' From 2024-01-01 To 2024-01-07Payment Date
Select 'Employee' Like TEST and 'Report Number' and 'Payment Date' From 2024-01-01 To 2024-01-08From 2024-01-01 To 2024-01-02

 

 

1 REPLY 1
vizwithdan
8 - Asteroid

Hi Justin,

 

Try the attached and let me know if that makes sense. 

 

Thanks

Danny

Polls
We’re dying to get your help in determining what the new profile picture frame should be this Halloween. Cast your vote and help us haunt the Community with the best spooky character.
Don’t ghost us—pick your favorite now!
Labels