Skip to main content
All CollectionsTips & Tricks
How to Reference Fields in Expressions πŸ’‘
How to Reference Fields in Expressions πŸ’‘

Learn why you should use backticks when writing expressions in Savant. Without them, your expression won't work properly.

Updated over a week ago

The Power of Backticks in Savant

When writing expressions in Savant, it's crucial to reference your column names correctly. One way to do this is by using backticks, also known as an acute, left quote, or open quote.

Backticks are a punctuation mark (`) that indicate a column name. Without them, your expression won't work properly.

To help you understand the importance of backticks, we've included an example of what might happen if you don't use them correctly. As you can see, the output is completely different than what we want to achieve.

To make sure your expressions work correctly, always use backticks around your column names. This will ensure that Savant can find and reference the correct data.

So if you're struggling to get your expressions working, remember the power of backticks. They might seem small, but they can make a big difference in your data analysis.

⚠️ Where is the backtick key?

On a Windows keyboard, you can find backticks on the key immediately to the left of the number 1 key. To type a backtick, press the key once before and once after the column name.

On a Mac keyboard, you can type a backtick by holding down the "Option" key and pressing the "backtick" key (`) once before and once after the column name.

Did this answer your question?