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.

Letters/ Alphabets

Farriyajawed
7 - Meteor

Hello, 

 

I am trying to get a column where if banana has a value of 2, it gives me the corresponding letter 2 times, BB. Not sure how to achieve this in Alteryx. 

3 REPLIES 3
Prometheus
12 - Quasar

@Farriyajawed Try this expression in a Formula tool: 

if [Name]='banana' and [Value]=2

then [Letter]+[Letter]

else null()

endif

Letters.PNG

Farriyajawed
7 - Meteor

I want it to be dynamic because what if the count of bananas is 28?

PhilipMannering
16 - Nebula
16 - Nebula

Hi @Farriyajawed 

 

You mean like this?

image.png

Labels