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
20 - Arcturus
20 - Arcturus

@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

 

Labels