Alteryx Designer Desktop Discussions

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

Compare two strings and get new word

Ahmediqbal
7 - Meteor

Hello,
I want to compare the spending categories for a list of vendors for two fiscal years. If any new value is present in column 2023 after comparing it to 2022, we should extract that value from the string to a new column. Please let me know if you need further explanation. Thank you! 

Ahmediqbal_0-1665557673503.png

 

3 REPLIES 3
flying008
14 - Magnetar

Hi, @Ahmediqbal 

 

It's so eay.

 

Formula: 

Trim(Replace([Y2023], [Y2022], ""),",")

 

录制_2022_10_12_15_23_47_42.gif

 

******

If is can help you get want output, please mark it as s solution and give me a like for more share.

 

 

 

Qiu
21 - Polaris
21 - Polaris

@Ahmediqbal 
Can you provide a bigger dataset so we can observe the pattern?

Emmanuel_G
13 - Pulsar

@Ahmediqbal 

 

Find in attachent the way of doing that.

 

Emmanuel_G_0-1665568220745.png

 

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