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

Filter in-DB last character

Kryjathic
5 - Atom

Hi,

I'm new to Alteryx with zero SQL background.  I need help creating a custom filter on the Filter in-DB tool.  I wanted to filter strings  ending in certain characters.  For example: the list contains 12A, 13B, 14C, 15D. I only want those ending in 'B' and 'C'. 

 

Thanks in advance.

2 REPLIES 2
ImadZidan
12 - Quasar

Hello @Kryjathic ,

 

This will help or give you idea.

 

Let me know if you have questions.

 

You will be able to access the data as it is referencing to my connection. Have a look at the filter.

rituraj963
8 - Asteroid

@Kryjathic 

 

In your Filter in-DB tool, choose Custom Filter and then Click on the Insert Fields to select your string filed. You would need a filter condition like this (if field name is STRING):  

 

"STRING" LIKE '%B' or "STRING" LIKE '%C'

 

rituraj963_0-1599166049824.png

 

Labels
Top Solution Authors