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!

Alteryx Designer Desktop Discussions

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

In Expression, is it necessary to have square bracket [] for variables ?

LauChuanLi
5 - Atom

I am copying codes from other software; hence I wish to explore if I can skip the step to add a square bracket for each variable.
I have tested to run without square bracket, and it seems like no issue. Thank you. 

2 REPLIES 2
Rahulv288
7 - Meteor

It won't cause any issue, but it will be good practice to use brackets.

binuacs
21 - Polaris

@LauChuanLi The variable should work without a square bracket if there is no space in between

Labels
Top Solution Authors