Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask here!
Start Free Trial

Alteryx Designer Desktop Discussions

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

Search for word and sum count

123love55448
6 - Meteoroid
Set Word 1Word 2Word 3
AablationCatEquation
BThatCattleSlow
ClotionCreativeStock

 

I want to search in each column for word that contains "at" and want the output to summarize number of words in each column that contains "at"

 

Word 12
Word 23
Word 31

 

Appreciated for all the helps :) 

3 REPLIES 3
Luke_C
17 - Castor
17 - Castor

Hi @123love55448 

 

Transpose the data, filter on records that contain 'at' and summarize:

Luke_C_0-1663174463539.png

 

 

IraWatt
17 - Castor
17 - Castor

Hey @123love55448,

Here is one way to do this:

IraWatt_0-1663174506655.png

I put all the Word columns on one line and use a contains function to fill a column with 1 if it contains at. Then I just group by words and sum the number of 1's.

 

Any questions or issues please ask

Ira Watt
Technical Consultant
Watt@Bulien.com 

 

mceleavey
17 - Castor
17 - Castor

Hi @123love55448 ,

 

this is a simple Find and Replace function.

 

I've built it so you can change the input you want to find in the word:

 

mceleavey_0-1663174647824.png

You can simply pivot the data using the transpose tool, which gives you the words in a single column.

You can then use the Find and Replace tool to find "at" in any part of the word in the Name column.

 

Then you can use the sum tool to get the count of non-null records.

 

I hope this helps,

 

M.



Bulien

Labels
Top Solution Authors