The Alteryx Community is a finalist in three 2026 CMX Awards! Help us win Customer Support Community, Most Engaged Community, and User Group Program of the Year - vote now! (it only takes about 2 minutes) before January 9.
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
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