# Syntax Error in the Expression

**URL:** <https://forum.inductiveautomation.com/t/syntax-error-in-the-expression/38856>\
**Category:** General Discussion\
**Created:** [September 19, 2020, 4:26am UTC](https://forum.inductiveautomation.com/t/syntax-error-in-the-expression/38856 "2020-09-19T04:26:14Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Saddakirankumar](https://avatars.discourse-cdn.com/v4/letter/s/cdc98d/32.png) [@Saddakirankumar](https://forum.inductiveautomation.com/u/Saddakirankumar)\
**Post date:** [September 19, 2020, 4:26am UTC](https://forum.inductiveautomation.com/t/syntax-error-in-the-expression/38856/1 "2020-09-19T04:26:14Z")

</div>

I am trying to display the Text in the Display path along with the tag value. It is giving error. This is what is written in Display path expression editor.

“Fan speed :” {[.]Fan Status.Fan Speed}

It is giving error Syntax Error on Token: ‘BOUND CONST’ (Line 1 , Char 37). How to display text and the value of tag in the display path in the alarms.

---

<div class="post-metadata">

**Author:** ![jpark](https://avatars.discourse-cdn.com/v4/letter/j/a88e57/32.png) [@jpark](https://forum.inductiveautomation.com/u/jpark)\
**Post date:** [September 19, 2020, 3:26pm UTC](https://forum.inductiveautomation.com/t/syntax-error-in-the-expression/38856/2 "2020-09-19T15:26:19Z")

</div>

`concat(“Fan speed :”,{[.]Fan Status.Fan Speed})`

---

<div class="post-metadata">

**Author:** ![Saddakirankumar](https://avatars.discourse-cdn.com/v4/letter/s/cdc98d/32.png) [@Saddakirankumar](https://forum.inductiveautomation.com/u/Saddakirankumar)\
**Post date:** [September 20, 2020, 3:45pm UTC](https://forum.inductiveautomation.com/t/syntax-error-in-the-expression/38856/3 "2020-09-20T15:45:58Z")

</div>

It is giving error after using this concat function.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/4/4/44b92d948ac555f31d2b2badc7d223c582616f0e.png)

Scan Error: Illegal character \<“\> (Line 1 , Char 8)

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [September 20, 2020, 4:14pm UTC](https://forum.inductiveautomation.com/t/syntax-error-in-the-expression/38856/4 "2020-09-20T16:14:39Z")

</div>

Can you post a screenshot of your expression which is resulting in the error you’re seeing? Seeing the expression is more important than seeing the error.

---

<div class="post-metadata">

**Author:** ![Saddakirankumar](https://avatars.discourse-cdn.com/v4/letter/s/cdc98d/32.png) [@Saddakirankumar](https://forum.inductiveautomation.com/u/Saddakirankumar)\
**Post date:** [September 20, 2020, 5:54pm UTC](https://forum.inductiveautomation.com/t/syntax-error-in-the-expression/38856/5 "2020-09-20T17:54:18Z")

</div>

Epression is concat(“Fan speed :”,{[.]Fan Status.Fan Speed})

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [September 20, 2020, 7:05pm UTC](https://forum.inductiveautomation.com/t/syntax-error-in-the-expression/38856/6 "2020-09-20T19:05:12Z")

</div>

I requested a screenshot. I requested the screenshot because if you copy/paste the expression as @jpark provided, the expression will fail because of the encoding on the double quotes. Note how the double quotes are slanted. The expression is failing to parse them. Type out the expression, rather than copy/pasting.

```auto
concat("Fan speed :",{[.]Fan Status.Fan Speed})

```

See how the double quotes in this example are NOT slanted. This is what you want.
