Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

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

Changing Cloud Platform to Cloud_Platform

Sjkitts
7 - Meteor

I'm trying to change Cloud Platform to Cloud_Platform and it has been successful when the cell just says Cloud Platform but when it is after a comma (see screenshot) it isn't working. I've tried two different statements. Why might it not be working??

2 REPLIES 2
DataNath
17 - Castor
17 - Castor

@Sjkitts currently, you're only checking whether or not the string = Cloud Platform OR ,Cloud Platform. However, if the string isn't solely 'Cloud Platform', i.e. if it comes after the comma, you should be checking whether or not it contains ',Cloud Platform'. If you try the following, does this remedy the issue?

 

IF [Custom Value 4] = 'Cloud Platform' then 'Cloud_Platform' else Replace([Custom Value 4], ',Cloud Platform', ',Cloud_Platform') endif

 

DataNath_0-1657723122447.pngDataNath_1-1657723134590.png

Sjkitts
7 - Meteor

Thank you very much!!

Labels