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.
SOLVED

HJow to use a List Box Tool in the right way

mathias_schnoor
11 - Bolide

Hey!

 

I want to use a ListBox Tool together with a Formula Tool.

 

I want the check concate with an existing Field.

 

I try:

List Box properties:

eat-drink:cat01
restaurant:cat02
petrol-station:cat03

 

listboxwithactiontool.PNG

 

listboxwithformulatool.PNG

 

errorafterrun.PNG

 

After run iI get the error message an operator must between operants

Who is my bug?

 

Mathias

4 REPLIES 4
michael_treadwell
ACE Emeritus
ACE Emeritus

In your List Box Tool you must have 'Generate Custom List' checked.

 

Capture.PNG

 

This is replacing the string mycategory in the formula box with something like "cat01"

 

This means the formula is [url] + " " + ""cat01"" (note the double quotes)

 

This is an invalid formula.

 

In your Formula Tool, trying replacing "mycategory" with 'mycategory'. This will allow your app to run with no errors, however, I am not sure it is accomplishing what you need. Could you describe your use case a bit more?

mathias_schnoor
11 - Bolide

Hey Michael,

 

thank you for your support.

I try 'mycategory'

then I get

 mystring cat01=True,cat02=True,cat03=True

or mystring cat01=True,cat02=False,cat03=True

or so...

I want to get:

mystring cat01cat02cat03

How can I reach this solution?

 

Mathias

 

 

michael_treadwell
ACE Emeritus
ACE Emeritus

In your list box configuration, choose 'Generate Custom List' then remove all characters from Start Text, Separator, and End Text.

 

Capture.PNG

mathias_schnoor
11 - Bolide

 

thank you for your support. again.

 

I have build to your instructions.

 

It works fine ;-)

 

Mathias

Labels
Top Solution Authors